MODE 11.1.0 Unevenly Spaced Lat/Lon Error #2375
-
To preface this, I previously had been running MODE 9.1 with these same files except with 30H data with no issue last fall. I am using observed precipitation data that was downloaded in grib2 format then converted to netCDF along with forecast files from the HREF that were also converted from grib2 to netCDF format as we've had issues with grib2 and MODE in the past. The error I am getting when trying to run MODE is as follows:
I saw a previous post about a similar issue, but I wasn't clear on how it was resolved. It was issue #1940 in the MET GitHub. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@tyreekfrazier1 sorry for the delay in following up on this discussion. I see that you're getting an error from MODE when reading data from a NetCDF file and are wondering why. You note that this behavior differs from what you saw in MET version 9.1. I do recall us tightening up the logical checks when reading gridded data from NetCDF files since MET version 9.1 was released in August, 2020, but I can't find a specific commit to link to to show you exactly when it was introduced. I am confident that the change was intentional. MET version 9.1 may not have errored out but if you were using this same input data it was not using the correct grid information. In general, MET supports a few different flavors of gridded NetCDF file:
The CF-convention provides a method for defining grid and projection information. For data on a lat/lon grid, the projection information can be derive from the arrays of latitude and longitude values. However this is NOT the case for other projections. You mentioned HREF data, which I think is on a 5km CONUS domain, presumably on a lambert conformal projection. You probably passed a NetCDF file to MODE version 9.1 and it interpreted it as being on a lat/lon projection. If you look at the PostScript output generated by MODE, I suspect you'd see a discrepancy between the features of the data and map outline. In newer versions, it's erroring out and telling you that it doesn't know how to extract grid information from that NetCDF file you have. I'd recommend stepping back to revisit the decision to use NetCDF instead of GRIB2. I'd recommend switching back to the GRIB2 inputs. I don't know what problems they encountered in the past but generally I'd say that MET has better GRIB2 support than NetCDF support. If you'd like me to take a closer look at your data, the GRIB or NetCDF versions of it, please feel free to post it to our anonymous FTP site following these instructions. If you do so, please write back here to let me know that I should go take a look. |
Beta Was this translation helpful? Give feedback.
OK, please see the following selection from the Installation of Required Libraries section of the user's guide:
We generally recommend that you just remove
-D__64BIT__
from the compilation of the G2C library since it has caused issues when processing large GRIB2 f…