NetCDF File with Rotated Lat/Lon Grid Causing Error #2759
-
Hello, I am trying to run pcp_combine on some experimental West-WRF runs we received from a partner that are in netCDF format. When running the command, I receive the following error: ERROR : Here are the ncdump details of one of the netCDF files that are being used (I did not include all variables to save space): ncdump -h west-wrf_gfs_d02_2023-01-09_12_00_00.nc Do you have any advice on how to handle this file? If you need any other information or if you need me to upload one of the files, please let me know. Any help would be appreciated, thank you! Ben Albright |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hi Ben: What version of MET are you using? Support for rotated lat/lon grids was added in MET version 10.1.1. So, the first thing to check is to make sure you are running MET version 10.1.1 or higher. Assuming you are running 10.1.1 or higher, would you be able to upload a file using the instructions so we can take a closer look? Thanks, |
Beta Was this translation helpful? Give feedback.
Thanks for the discussion on this. I can confirm that MET really is using the data lat/lon information from the 1D "east_west" and "south_north" coordinate variables to geo-locate this data. It's does not use the 2D lat/lon variables at all. And I believe that MET really is processing this data as it should based on the CF-conventions for Rotated Pole data. I certainly don't see any obvious bugs in the MET code that warrant a bugfix.
There are some CF-compliance checker utilities that you could try out:
https://cfconventions.org/software.html
They might be useful in figuring out how to specify the grid information in a cf-compliant way.