Read Multilocatonal temporal Netcdf File #2574
-
Hi Help Community, Iam having gridded rainfall "mm/day" dataset for longer time period in NetCDF format as single with following headers, How could i read the input file Results of ncdump -h rain.nc // global attributes: Suggest me ways to read the file Whether I want to segregate the input files or is it possible to read the single file. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
Hello, I see you have a question about comparing precipitation from a NetCDF analysis file to data from WRF. And based on the header you sent, the NetCDF file appears to follow the Climate-Forecast convention ( This section of the MET User's Guide contains some details about setting up the configuration to read data from NetCDF files. But whenever getting going with a new data set in MET, I always recommend starting by running the
Where you can replace that date In general, when reading data from a NetCDF file, you'll specify a level string that contains 1 "element" for each dimension of the variable you're reading. The Next, you need to figure out if these daily rain rates are directly comparable to the output from WRF. If your WRF output is also a daily rain rate, great. If it's an accumulation over a certain number of hours, then you'll need to make them comparable. There are 2 things you should be aware of:
Not saying that you'll necessarily need to do this, just pointing out that it's an option if needed. |
Beta Was this translation helpful? Give feedback.
-
Hi @pugazenthi002, I'll add that you need to put at least part of the file path into the
Or you can split up the directory and template like this:
Also, please note that any time information must be included in the
or
|
Beta Was this translation helpful? Give feedback.
-
Regarding the ncdump dynamic library error, I am getting the same behavior you described using the
We will look into preventing this error in future versions so that setting
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification @JohnHalleyGotway |
Beta Was this translation helpful? Give feedback.
The Grid-Stat tool can be configured to verify one or more fields each time it runs. This METplus GRID_STAT_ONCE_PER_FIELD option controls the logic of the METplus wrapper to decide if it should run a single instance of Grid-Stat to verify all the fields at once... or run it once for each field.
If you're only verifying a single field of 12-hour precip, I don't really think it matters how this is set. I think I'd just set it to false.
When getting started with METplus, it might help to look at some existing example of verifying Precipitation. Hopefully those examples will help inform the configuration options you choose.