Feature to read in FVCOM lake surface conditions into FV3-LAM#293
Conversation
Add feature to allow user to use data generated by FVCOM in FV3-LAM as initialization of lake surface properties over the Great Lakes. FVCOM data must be interpolated to FV3-LAM grid for this routine to work. Following additions were made: - Generated 3 new variables: USE_FVCOM, FVCOM_DIR, and FVCOM_FILE. These are user defined variables available in config.sh. USE_FVCOM: TRUE/FALSE flag to use FVCOM data FVCOM_DIR: Directory path for local FVCOM files FVCOM_FILE: Name of file (.nc) that contains FVCOM data - Added to exregional_make_ics.sh to run the fortran code to replace lake surface conditions with those in FVCOM_FILE. - Created sorc/fvcom_to_FV3 which contains fortran code to modify sfc_data.tile7.halo0.nc with new lake surface conditions.
|
@JeffBeck-NOAA One thing to note, when using Rocoto, that make_ics will be marked as "failed" if it can't find the FVCOM data file, even though sfc_data.tile7.halo0.nc was successfully created. This probably isn't the best for an operational setting, but wanted your opinion. It could be changed to simply write a warning without a hard failure if needed. |
|
@dmwright526 I'm glad you worked out the source of the climo lake surface properties! I'm curious to know the details of that if you'd be willing to send me an email. Regarding the PR:
|
|
@JeffBeck-NOAA I will send you an email regarding the climate lake surface properties. In short, this does not answer the question regarding the smaller inland lakes. Since this routine is being run after sfc_data.tile7.halo0.nc has been created, it has already gone through the make_sfc_climo task. This routine, while could be used for other lake masks, is currently being tested for the Great Lakes only and data being generated by FVCOM/Great Lakes Operational Forecast System (GLOFS). This routine does a similar processing (with some more QC) as to what is being done with HRRRv4 for the Great Lakes.
|
|
@dmwright526 Thanks for the clarification on which lakes this PR impacts! Regarding the two other points:
|
|
@dmwright526, I just tested your Hera executable and was able to complete a run with the FVCOM data. I also ran an identical case without it, and produced an 'ncdiff' of the surface file produced by chgres_cube. The appropriate variables appear to have modifications where they should (over the Great Lakes), see screenshot below. I'll go ahead and approve this PR now. Thanks for your work on getting this implemented! |
JeffBeck-NOAA
left a comment
There was a problem hiding this comment.
@dmwright526, feel free to merge at your leisure!
|
Thanks, @JeffBeck-NOAA! I don't have have write access for the repository, but the branch should be up to date now. |
Thanks for merging develop back into your PR. I just upgraded you to have write access. Can you give it a shot by squashing and merging your PR? Thanks! |
…nity#293) using 2m T/Q from FV3LAM model as background for surface observation operator.

DESCRIPTION OF CHANGES:
Add feature to allow user to use data generated by FVCOM in FV3-LAM as initialization of lake surface properties over the Great Lakes. FVCOM data must be interpolated to FV3-LAM grid for this routine to work. Following additions were made:
Generated 3 new variables: USE_FVCOM, FVCOM_DIR, and FVCOM_FILE. These are user defined variables available for config.sh:
USE_FVCOM: TRUE/FALSE flag to use FVCOM data
FVCOM_DIR: Directory path for local FVCOM files
FVCOM_FILE: Name of file (.nc) that contains FVCOM data
Added to exregional_make_ics.sh to run the fortran code to replace lake surface conditions with those in FVCOM_FILE.
Created sorc/fvcom_to_FV3 which contains fortran code to modify sfc_data.tile7.halo0.nc with new lake surface conditions. This code is not automatically compiled at this point. To compile, run the following commands:
cd sorc/fvcom_to_FV3
source PATH/TO/ufs-srweather-app/src/ufs_weather_model/modulefiles/MACHINE.COMPILER/fv3
cmake .
make
This will create an executable (fvcom_to_FV3.exe) which should then be moved to ufs-srweather-app/exec.
TESTS CONDUCTED:
Tests have only be done on Jet using the Intel compilers. I am waiting on final version of FVCOM data interpolated to the 3km CONUS grid for final testing.