-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for CMA-GFS in WPS #236
base: develop
Are you sure you want to change the base?
Conversation
This Vtable was created for CMA/CMA_GFS model data from the CMA server. Developed by Dr. Haiqing SONG from Inner Mongolia Meteorological Service of China Meteorological Administration(CMA).
I modified the rd_grib2.F file to solve the problem that WPS/ungrib can not correctly decode the CMA-GFS model of soil moisture and soil temperature.
Delete SeaIce and LANDDN. There are not Seaice and LANDDN in CMA-GFS data.
A test of the modified code on a dataset pulled from that CMA web site segfaulted. I haven't found the cause, but note that CMA uses several vertical level types that aren't decoded by rd_grib2. Their files also cause problems for g2print. So, it will take debugging and mods to get it working. I also suggest renaming Vtable.CMA_GFS to something else, since it may be confused with the NCEP GFS by some users. Vtable.CMA_GRAPES perhaps? Otherwise we may need to have a naming convention of the form Vtable.center_model and rename all the NCEP Vtables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ungrib failed on derecho. Some debugging and mods may be needed.
Hello, Jim. |
Hi Andrew, |
Hi,Jim, Haiqing Soong (宋海清) |
@jimbresch Do We need to resubmit this PR based on WPS-V4.6.0? |
@andrewsoong You should be able to continue to amend this PR, unless you are addressing a different issue. |
The CMA-GFS grib2 datasets is now able to be ingested by the ungrib program. The GRAPES_GFS(here in after referred to as CMA_GFS), the new generation of Global/Regional Assimilation and Prediction Enhanced System which is independently developped by China Meteorological Administration (CMA), has been put into formal operation. So we are committed to solving the problem of WPS correctly handling CMA_GFS forecast data.
one Vtable files(Vtable.CMA_GFS) has been created with the fields required by the WRF model.
Modifications to the ungrib source code: Adding support for code 738 in rd_grid2.F because model levels of CMA_GFS are on generalized vertical height coordinates.
The CMA_GFS real time data is here:http://data.wis.cma.cn/DCPC_WMC_BJ/open/nwp/gmf_gra/
I've tested the program with an Intel compiler and it passed without errors. CMA_GFS forecast data were also used to test, the results are normal.