This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> I added a grid for the downloadable CMC, and it saves as GribModel:54:0:36 > Never translates to the model I added. Removed all other CMC references in > the MODEL file and restarted edex of course. > > This is what I have. Its polar steno, maybe one of the parameters isnt > correct in the grid file? > > <model> > <name>CMC-Regional</name> > <center>54</center> > <subcenter>0</subcenter> > <grid>935824</grid> > <process> > <id>36</id> > </process> > </model> > > grid935824.xml: > > <polarStereoGridCoverage> > <name>935824</name> > <description>CMC GEM model (Polar Stereographic)</description> > <la1>18.145</la1> > <lo1>217.107456</lo1> > <firstGridPointCorner>LowerLeft</firstGridPointCorner> > <nx>935</nx> > <ny>824</ny> > <dx>10000</dx> > <dy>10000</dy> > <spacingUnit>m</spacingUnit> > <minorAxis>6371229.0</minorAxis> > <majorAxis>6371229.0</majorAxis> > <lad>60</lad> > <lov>249</lov> > </polarStereoGridCoverage> > > shows up in Productbrowser as GribModel:54:0:36 > > Never as CMC-Regional > > grib2 results: > [awips@localhost ~]$ wgrib2 -grid -nxny > ./CMC_reg_PRMSL_MSL_0_ps10km_2022060200_P039.grib2 > 1:0:grid_template=20:winds(grid): > polar stereographic grid: (935 x 824) input WE:SN output WE:SN res 8 > North pole lat1 18.145030 lon1 217.107456 latD 60.000000 lonV 249.000000 dx > 10000.000000 m dy 10000.000000 m:(935 x 824) Hello, Below is what you want your grid file to look like. Note: the lo1 and lov are 360 minus the grib2 value and the dx/dy/spacing is in km Best way to double check is to look in the database. If you look at the grid_info table you can get the location_id and then use that id to get the information from the gridcoverage table. select * from grid_info where datasetid like 'GribModel:54:0:36'; id | datasetid | ensembleid | secondaryid | level_id | location_id | parameter_abbreviation ----+-------------------+------------+-------------+----------+-------------+------------------------ 15 | GribModel:54:0:36 | | | 551 | 808 | PMSL select * from gridcoverage where id=808; <polarStereoGridCoverage> <name>935824</name> <description>CMC GEM model (Polar Stereographic)</description> <la1>18.14503</la1> <lo1>-142.892544</lo1> <firstGridPointCorner>LowerLeft</firstGridPointCorner> <nx>935</nx> <ny>824</ny> <dx>10</dx> <dy>10</dy> <spacingUnit>km</spacingUnit> <minorAxis>6371229.0</minorAxis> <majorAxis>6371229.0</majorAxis> <lad>60</lad> <lov>-111</lov> </polarStereoGridCoverage> Thanks, Tiffany Meyer AWIPS Lead Software Engineer UCAR-Unidata If you're interested, please feel free to fill out a survey about the support you receive: https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform Ticket Details =================== Ticket ID: SRB-843023 Department: Support AWIPS Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.