[gradsusr] ECMWF open data in GrADS

Bill_Reilly bill_reilly at compuserve.com
Mon Oct 16 10:02:36 EDT 2023


Davide:

Thank you for your reply, and for the suggestion... That is exactly what I ended up doing.
I used CDO to only extract the surface variables that I need (10u,10v,msl):
cdo -f nc select,name=10u,10v,msl C:/Progra~1/PCGrADS/win32e/20231015120000-9h-oper-fc.grib2 C:/Progra~1/PCGrADS/win32e/ecmwf_sfc_009.nc

Then I had CDO create a GrADS control file:
 
cdo gradsdes C:/Progra~1/PCGrADS/win32e/ecmwf_sfc_009.nc

I then have to manually rename the variables (and add the z dimension for the wind variables) in the control file:

VARS  3
msl               0  t,y,x  Mean sea level pressure  [Pa]
10v=>v10          0  t,z,y,x  10 metre V wind component  [m s**-1]
10u=>u10          0  t,z,y,x  10 metre U wind component  [m s**-1]
ENDVARS

It now works perfectly!

Thanks again for your help.

Bill
--Bill Reilly

(+34) 686-110-748

bill at passageweather.com
www.passageweather.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20231016/023a59a9/attachment.html>


More information about the gradsusr mailing list