[gradsusr] ECMWF open data in GrADS

Bill_Reilly bill_reilly at compuserve.com
Sun Oct 15 13:36:09 EDT 2023


Hello all:

I've downloaded some ECMWF open data GRIB files and I've used CDO to convert them to NetCDF files to open them directly in GrADS... That all works great, but GrADS doesn't recognize the variables 10u or 10v (ugrid and vgrid at 10m).

When I open the GRIBs (and also the NetCDF files that I created) CDO shows the list of variables as: 

gh skt r tp t u v sp st msl 10u 2t 10v tcwv q lsm vo d ro

I can display the wind in GrADS using the variables u and v and it plots perfectly, but I can't seem to get GrADS to recognize 10u and 10v... I get the following error:

ga-> d mag(10u,10v)
 Syntax Error:  Expected operator or ')'
 Operation Error:  Error from mag function
   Error ocurred at column 1
 DISPLAY error:  Invalid expression
   Expression = mag(10u,10v)
 ga->

 ga-> d 10u;10v
 Syntax Error:  Expected operator or ')'
   Error ocurred at column 3
 DISPLAY error:  Invalid expression
   Expression = 10u
 ga->

I can plot everything perfectly using u and v, but I need to plot the 10m wind data, and I can't figure out how to set the z level to 10m... The levels that CDO shows are:

 $ cdo showlevel C:/Progra~1/PCGrADS/win32e/20231014120000-15h-oper-fc.grib2
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  0
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  0
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  0
  0
  0
  10
  2
  10
  0
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  0
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  100000 92500 85000 70000 50000 30000 25000 20000 5000
  0
 cdo    showlevel: Processed 19 variables [2.17s 53MB].

How can I get GrADS to recognize the 10m wind variables?

Thank you,

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/20231015/2d27749f/attachment.html>


More information about the gradsusr mailing list