[gradsusr] issues in displaying ERA5 data

Michael Fiorino mfiorino at gmu.edu
Thu Feb 16 08:20:25 EST 2023


hi Eduardo

I'm not sure about the grib file, but for the .nc file, I would try using 'xdfopen' where you create a .ctl to override the dimensions.  see:

http://cola.gmu.edu/grads/gadoc/gradcomdxdfopen.html

also, if you send the .grib or .nc I'll take a look

Best Regards, Mike

Michael Fiorino, Ph.D. (meteorology, NPS)
Commander, US Navy (retired)
AOES George Mason University
Fairfax, VA

mfiorino at gmu.edu<mailto:mfiorino at gmu.edu> (GMU)
tenkiman at pm.me<mailto:tenkiman at pm.me> (home)

+1 720-204-0876 (mobile)

AOES is the Atmospheric, Oceanic and Earth Sciences department
https://science.gmu.edu/academics/departments-units/atmospheric-oceanic-earth-sciences

"Well Mike, it just goes to show ya, it's always something--if it ain't one thing, it's another"
-- Roseanne Roseannadanna


------ Original Message ------
From "Eduardo Agosta Scarel" <eduardo.agosta at gmail.com<mailto:eduardo.agosta at gmail.com>>
To "GrADS Users Forum" <gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>>; "gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org>" <gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org>>; "gradsusr-request at list.cineca.it<mailto:gradsusr-request at list.cineca.it>" <gradsusr-request at list.cineca.it<mailto:gradsusr-request at list.cineca.it>>
Date 2/3/2023 2:22:55 AM
Subject [gradsusr] issues in displaying ERA5 data


 Hi everyone:

I have recently experienced problems in using ERA5 data, downloaded using either the website or the python script either in Grib or nectdf format.

When I read the files using Grads, the metadata is read, the file is open, but the vertical dimensions LEV (Z) appears as a decimal --(negative) value, with a warning message that I copy below.

Because of this, any data can be display and access.

Is there any way to solve this issue?

Thanks,.

Eduardo.

----

LON set to 0 360

LAT set to -90 90

LEV set to 300.99 300.99

Time values set: 1950:1:15:0 1950:1:15:0

E set to 1 1

Notice: Z coordinate pressure values have been converted from Pa to mb

----

ga-> q dims

Default file number is: 1

X is varying   Lon = 0 to 360   X = 1 to 1441

Y is varying   Lat = -90 to 90   Y = 1 to 721

Z is fixed     Lev = 300.99  Z = -29698

T is fixed     Time = 00Z15JAN1950  T = 1

E is fixed     Ens = 1  E = 1

---

ga-> q file

File 1 :

  Descriptor: /Users/home/Library/CloudStorage/OneDrive-Personal/Documentos/Uni-Valencia/Resultados/era5_u300.nc<http://secure-web.cisco.com/1LVftNNvEW0nwd6Ahn7igIz0ZJHu3hmYjTmT764pr6VGB6pTwaEy8FQwjML0CNrJ9Mz0O5kl7UiN4QlIWDnmXY1FeWx6HlofIdRX2zWSEwVBlylWhtPGsPZYSJnxY69cs7Msr6_8OuHcnnJmeSzXvmsCk20nG4vXek-loKC27fX-hb-1vnYo5OxYK-spomuakTUVfAi0PkDCbr3JkSxtEnA5H_kyAZiirtlh2fIB0fiRDhUZZuH2yL9FRO1pUjHyEYeQ5G17jDxWLfEk7Zj3h6MrhU8UQIGsLzaem-jww5R6yfnKn8nvGeofSqzAol3ZqMi0osCxseKyFmbCE05h02S0hapaLgIUcMJEz86Y1acpbfN0SFc515189XM_EimajXx-WZCe0qbH3J4usQYMFCmontLAdJG8mQHHfMRFZDD-OdX9CFB3osEXLpbMmwtVZ/http%3A%2F%2Fera5_u300.nc>

  Binary: /Users/home/Library/CloudStorage/OneDrive-Personal/Documentos/Uni-Valencia/Resultados/era5_u300.nc<http://secure-web.cisco.com/1LVftNNvEW0nwd6Ahn7igIz0ZJHu3hmYjTmT764pr6VGB6pTwaEy8FQwjML0CNrJ9Mz0O5kl7UiN4QlIWDnmXY1FeWx6HlofIdRX2zWSEwVBlylWhtPGsPZYSJnxY69cs7Msr6_8OuHcnnJmeSzXvmsCk20nG4vXek-loKC27fX-hb-1vnYo5OxYK-spomuakTUVfAi0PkDCbr3JkSxtEnA5H_kyAZiirtlh2fIB0fiRDhUZZuH2yL9FRO1pUjHyEYeQ5G17jDxWLfEk7Zj3h6MrhU8UQIGsLzaem-jww5R6yfnKn8nvGeofSqzAol3ZqMi0osCxseKyFmbCE05h02S0hapaLgIUcMJEz86Y1acpbfN0SFc515189XM_EimajXx-WZCe0qbH3J4usQYMFCmontLAdJG8mQHHfMRFZDD-OdX9CFB3osEXLpbMmwtVZ/http%3A%2F%2Fera5_u300.nc>

  Type = Gridded

  Xsize = 1440  Ysize = 721  Zsize = 1  Tsize = 876  Esize = 1

  Number of Variables = 1

     u  1  t,z,y,x  Eastward Wind

ga-> d u

Data Request Error: Invalid grid coordinates

  World coordinates convert to non-integer  grid coordinates

    Variable = u  Dimension = 2

  Error ocurred at column 1

DISPLAY error:  Invalid expression

  Expression = u

Eduardo Agosta Scarel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20230216/8cf022fe/attachment.html>


More information about the gradsusr mailing list