Hello,
I am working with the HWRF_for_V16 branch of HWRF. I am trying to force HWRF with the data from FV3GFS (v16) that is being run in research mode by someone else in our group. This research mode has half the number of model values in both x,y directions as compared to the operational model (1536x768 versus 3072x1536). I am running this for Hurricane Dorian in 2019.
The question I have: Is there something that needs to be changed in the HWRF_for_v16 branch code to account for this different grid spacing in the GFS/GDAS model output?
Ultimately, in my test runs for Hurricane Dorian in 2019, the init_gfs_0_E99, and init_GDAS_[3,6,9]_E99 tasks are failing when I try to use the initial and boundary conditions files (gfs.*.sf00, gdas.*.sf03, gdas.*.sf06, gdas.*.sf09) from the research-mode FV3GFS-v16. I have ran this same code successfully with operational data on HPSS for a case in 2020. I have tried to debug myself and have narrowed the point of failure to the file: sorc/hwrf-utilities/tools/hwrf_prep_hybrid/COF2GRD.f.
When looking at the prep.log file that is produced in the prep_hybrid task, there are a bunch of zeros that are output when printing the surface pressure values across the domain after the first several rows (see attached file). These zeros are not present when running this version of HWRF with operational resolution FV3GFS-v16 data for a 2020 case.
Furthermore, the code seems to fail within the loop that initializes condensate mass (CWMGRID) from the various hydrometeor species. After further investigation, there is a jb variable that is used to calculate the jj index, but this jb value ends up being a negative number (-394) which may be related to the difference in grid spacing in the initialization dataset. I have further traced back this "-394" value for jb to the following if statement in the COF2GRD.f file:
if(jc+int(jmax/2) .gt. jnemsio) then
jb=jnemsio-jmax
endif
jb=jnemsio-jmax
endif
where I believe jc is 299, jmax is 1152, jnemsio (nyg) is 756
Therefore, maybe jmax may need to be changed? It seems like jmax is defined in hwrf_swath/create_sw2.f90, and the reslatlon variable can be changed in this file.
This is the point I have reached in my own debugging, but would like to try to get assistance to fix this problem. Would you be able to assist me with this?
Thank you for your time, Peter
prep_log_example.pdf