reading nc4 file #1047
-
I am trying to read nc4 file using MET 9.0.2 but getting following error message. DEBUG 1: Opening data file: gocart.inst_aod.20160728_1800z.nc4 However, I am able to do ncdump and plot the variables in that file. File location in Hera: Is there different syntax needed to read nc4 files using MET ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Partha, I see you're having trouble getting MET to read data from a NetCDF file. Thanks for sending me the path. I was able to log onto Hera and grab it for testing. Fortunately, there's an easy way to get this working. For some background, MET does read a few different flavors of NetCDF files:
The file you're reading is very close to the CF-convention. But the problem is that the global attributes do NOT state that it's CF-compliant. There is no global "conventions" attribute there. But we can tell MET how to process this file using the "file_type" option, as you can see below:
I ran at verbosity 4 so that'll print the timing and range of data values:
And here's the image it creates.
|
Beta Was this translation helpful? Give feedback.
Hi Partha, I see you're having trouble getting MET to read data from a NetCDF file. Thanks for sending me the path. I was able to log onto Hera and grab it for testing. Fortunately, there's an easy way to get this working.
For some background, MET does read a few different flavors of NetCDF files:
The file you're reading is very close to the CF-convention. But the problem is that the global attributes do NOT state that it's CF-compliant. There is no global "conventions" attribute there. But we can tell MET…