Hi,
I'd like to plot a cross-section of era5 data, using the following link:
https://confluence.ecmwf.int/display/METV/Vertical+cross+section+-+Wind+shear
However, I faced a problem at first. Based on the above link, it seems after reading data the output of set(fs.grib_get_string("shortName")) command must show the short name of variables in fs (data), but it prints nothing for my data!
import metview as mv
fs = mv.read(source="./pvtw_20051219.grib")
set(fs.grib_get_string("shortName"))
As it was mentioned after the last line nothing is being shown. But, in the mentioned link, shows the output as below:
{'lnsp', 'q', 't', 'u', 'v', 'z'}
In my case, I've downloaded (potential vorticity, temperature, u and v-components of wind), as mentioned for ERA5 data.
I'll be thankful if I have any help.
Sincerely,
Ehsan Taghizade
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.