Error processing full RAP grid files #1544
-
Using 10.1.0 utilities, I am getting an unrecognized grid error when trying to process the full RAP rotated lat-lon grid: MetGrib2DataFile::read_grib2_grid() -> found unrecognized grid definition (32769) This occurs when I attempt to use GridStat and PCP_Combine on Jet, in the /lfs4/BMC/amb-verif/hamilton directory, with the following commands: /contrib/met/10.1.0/bin/grid_stat 2209006000006 st4_pr.2022033112.06h.grb2 GridStatConfig I'll admit that I have never attempted to use the full RAP grid before, and that the grid itself is a bit strange even for a rotated lat-lon. I should note that the experimental RRFS_NA_3km, also a rotated lat-lon, works just fine with the following command in the same directory: /contrib/met/10.1.0/bin/grid_stat RRFS_NA_3km.t11z.bgsfcf001.tm00.grib2 st4_pr.2022033112.01h.grb2 GridStatConfig_RRFS_NA I know that the wgrib2 utility has never agreed with RAP data well, failing to recognize exactly what it is. Perhaps this is a similar problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@JeffHamiltonNOAA, thanks for pointing me to a sample file. I pulled jet:/lfs4/BMC/amb-verif/hamilton/2209006000006 and extracted the 2-m temperature record for testing.
Glad they're at least consistent! NCL and Panoply seem to be OK with it.
I suspect we're somewhere in a middle ground here. I'm guessing there's some metadata to be improved in those RAP GRIB2 files (so that wgrib2 would be happy), but I'm also guessing that getting them changed isn't a realistic option. What sort of resolution is NOAA/GSL looking for here?
|
Beta Was this translation helpful? Give feedback.
-
Aha, I understand the situation much better now. Grid definition template 32769 really is a legitimate grid type, as defined here: I compared that spec to the rotated lat/lon spec (template = 1): While they are similar, there are some significant differences, which explains why I wasn't able to trick the MET software into handling it. Getting MET to process data for this grid template would require an enhancement. It isn't clear to me exactly what's needed. Could we use the 32769 info to instantiate an existing rotated lat/lon grid? Or is an entirely new grid type required? Based on this info, I conclude that...
Thoughts? |
Beta Was this translation helpful? Give feedback.
-
@JeffHamiltonNOAA and @TaraJensen, I migrated this info over into a new GitHub issue: I assigned it to @rgbullock since he'd be a good person to look into the grid details. And @JeffHamiltonNOAA would be a good person to test out any changes. Note that I put this into the "Consider for next release milestone". So we'll still need to work out when to address this and what project funding to use. |
Beta Was this translation helpful? Give feedback.
@JeffHamiltonNOAA and @TaraJensen, I migrated this info over into a new GitHub issue:
dtcenter/MET#2124
I assigned it to @rgbullock since he'd be a good person to look into the grid details. And @JeffHamiltonNOAA would be a good person to test out any changes.
Note that I put this into the "Consider for next release milestone". So we'll still need to work out when to address this and what project funding to use.