-
Hello, I am new to LISF. I am using LISF-x86_64.AppImage (LISF Public 7.4.2 Release on Ubuntu 22.04). I am able to successfully complete testcases 1 and 2 using a download script to download the NLDAS2 data. I am failing to use GFS data. I read the F90 files in the lis/metforcing/gfs directory and it appears that the files should have the following filename template: YYYYMMDDCC.gfs.sfluxgrbfFF.sg where CC is the cycle and FF is the forecast hour. I am surprised that the extension is .sg since the downloaded files from the NOMADS server ends in .grib2. I am also surprised that in the create_gfsfilename.F90 file defines the fsubs as being 21 characters long but the subsequent creation of the variable is only 19 characters. I renamed NOMADS files with filename template: gfs.t00z.sfluxgrbf003.grib2 to the above filename template based on the cycle and forecast hour and option 1 (bookend 1). The error I am getting ends with: (the full lislog file is included in the attached zip file) I believe the problem is a file naming error as my ./INPUT/GFS.FORCING/202307/ directory has the following files: If someone could assist me, I would be extremely grateful. Frank |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @fepeacock Unfortunately, the GFS metforcing plugin in LIS is a bit outdated, and simply re-naming the newer GRIB-2 files from NOMADS won't work for you (as you have seen). The metforcing code will need to be re-written to handle the updated format.: We welcome code contributions, if you would like to re-write this code to handle the updated format. Please see: https://github.com/NASA-LIS/LISF/blob/master/CONTRIBUTING.md You can use code here as a guide to how to read in GRIB-2 data: |
Beta Was this translation helpful? Give feedback.
Hi @fepeacock
Unfortunately, the GFS metforcing plugin in LIS is a bit outdated, and simply re-naming the newer GRIB-2 files from NOMADS won't work for you (as you have seen). The metforcing code will need to be re-written to handle the updated format.:
https://github.com/NASA-LIS/LISF/tree/master/lis/metforcing/gfs
We welcome code contributions, if you would like to re-write this code to handle the updated format. Please see: https://github.com/NASA-LIS/LISF/blob/master/CONTRIBUTING.md
You can use code here as a guide to how to read in GRIB-2 data:
https://github.com/NASA-LIS/LISF/tree/master/lis/metforcing/gefs
https://github.com/NASA-LIS/LISF/blob/master/lis/metforcing/usaf/AGRMET_fldb…