Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

grib_get_string("shortName")

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you