<html><head></head><body><div class="ydp77f1d311yahoo-style-wrap" style="font-family:Arial, Helvetica, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false"><div>Davide:<br><br>I found an easier way using CDO by getting CDO to rename the variables, saving me from having to create and then edit a descriptor file:<br><br><font color="#cd232c" face="courier new, courier, monaco, monospace, sans-serif">C:\cygwin64\bin\cdo -f nc -select,name=10u,10v,msl C:\Progra~1\PCGrADS\ecmwf\grib\ecmwf_000.grib2 C:\Progra~1\PCGrADS\win32e\ecmwf_000_temp.nc<br>C:\cygwin64\bin\cdo -chname,10u,u10 -chname,10v,v10 C:\Progra~1\PCGrADS\win32e\ecmwf_000_temp.nc C:\Progra~1\PCGrADS\win32e\ecmwf_000.nc</font><br><br>Problem solved!... Thanks again for your reply.<br><br>Bill<br><br><font face="courier new, courier, monaco, monospace, sans-serif">--</font><br><br><font face="courier new, courier, monaco, monospace, sans-serif" color="#808080">Bill Reilly<br><br>(+34) 686-110-748<br><br>bill@passageweather.com<br>www.passageweather.com</font><br><br><br></div></div><br></div>
        <div><br></div><div><br></div>
        
        </div><div id="ydp4bf11c2ayahoo_quoted_8321253669" class="ydp4bf11c2ayahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, October 16, 2023 at 04:02:36 PM GMT+2, Bill_Reilly <bill_reilly@compuserve.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr" data-setdir="false"><div>Davide:<br>
<br><div>
Thank you for your reply, and for the suggestion... That is exactly what I ended up doing.</div><div><br></div><div>I used CDO to only extract the surface variables that I need (10u,10v,msl):</div>
<font face="monospace"><br>
<font color="#cd232c">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</font></font><br>
<br>
Then I had CDO create a GrADS control file<font face="monospace">:<br>
  <br>
<font color="#cd232c">cdo gradsdes C:/Progra~1/PCGrADS/win32e/ecmwf_sfc_009.nc</font></font><br>
<br>
I then have to manually rename the variables (and add the z dimension for the wind variables) in the control file:<br>
<br>
<font face="monospace" color="#cd232c">VARS  3<br>
msl               0  t,y,x  Mean sea level pressure  [Pa]<br>
10v=>v10          0  t,z,y,x  10 metre V wind component  [m s**-1]<br>
10u=>u10          0  t,z,y,x  10 metre U wind component  [m s**-1]<br>
ENDVARS</font><br>
<br>
It now works perfectly!<br>
<br>
Thanks again for your help.<br>
<br><div>
Bill</div><div><br></div><div><font color="#808080">--
</font></div><pre class="ydp454e739emoz-signature"><font color="#808080">Bill Reilly

(+34) 686-110-748

bill@passageweather.com
www.passageweather.com</font>



</pre>
</div><div><br></div></div></div>
            </div>
        </div></body></html>