-
Hi, I am a user of ECMWF models in MET. I always had the problem of correctly identifying the name of the parameter in grib or netcdf files; I waste a lot of time trying to find the appropriate name and level. I am using before setting in config the plot_data_plane to choose them. . Please, is there another way to identify these two faster and easier? Thank you very much in avance for any idea |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @odiaconu. Thank you for explaining that you are having trouble correctly identifying the name of the parameter in grib or netcdf files. I do not know the current method that you are using to identify this information, but I will provide some information below. Are you familiar with the Generally, the GRIB1 and GRIB2 tables in MET are consistent with those provided with For GRIB files, using a the
With that output, you can see the variable name "2T" for "2 metre temperature [K]". The level value shows "(0,0)". Scrolling down in the "fcst" section of the MET Configuration File Overview chapter describes the various level types for GRIB data entries:
So the level is a formatted string that begins is A, Z, P, L, or R. And that is followed by a single value (NNN) or a range of values (NNN-NNN). For example, setting the obs level = "P500"; indicates that you only want to use observations for pressure level exactly equal to 500. Whereas, level = "P475-500"; indicate that you want to use any observations falling in that pressure range. Levels starting with "Z" filter the observations based on their height. So level = "Z18-20"; would use observations whose height is between 18 and 20. In this way, the user can filter down which observations are included in the verification based on their pressure or height level. You could instead use the following values to call plot_data_plane:
Looking at this sample output above, notice the line which reads "Table 128", that is the GRIB1 parameter table version number and note the line that indicates the kpds5 value of 167. You could then try running this MET command to plot your data:
For NetCDF files, in the same "fcst" section, scrolling down to the "NetCDF (from MET tools, CF-compliant, p_interp, and wrf_interp):" information it describes:
For NetCDF files, using the
I see the variable name "cbh" for "Cloud base height". For the level, the asterisks belong in the slots for the two spatial dimensions. Those are typically the latitude and longitude dimensions. For all other dimensions, the user must specify some value to indicate which slice of that dimension should be used. You can do this by specifying the 0-based index for that dimension. In this case, I can run plot_data_plane in the following way:
I hope this information is useful. Please let us know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Hi @odiaconu.
Thank you for explaining that you are having trouble correctly identifying the name of the parameter in grib or netcdf files. I do not know the current method that you are using to identify this information, but I will provide some information below.
Are you familiar with the
wgrib
tool for GRIB files (similarlywgrib2
for GRIB2 files) and thencdump
tool for NetCDF files?Generally, the GRIB1 and GRIB2 tables in MET are consistent with those provided with
wgrib
andwgrib2
. In fact, MET issue #2780 for version 12.0.0 updated MET’s GRIB tables in the data/table_files directory to make them more consistent with these tools.If you do find a discrepancy between the variable nam…