<div dir="ltr">Please unsubscribe me from this mailing list<div>"<a href="mailto:philly2034@hotmail.com">philly2034@hotmail.com</a>"</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 2, 2014 at 5:29 PM, Oriol Ciurana <span dir="ltr"><<a href="mailto:uri@uriens.cat" target="_blank">uri@uriens.cat</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm having problems trying to open a WRF NetCDF file with GrADS.</div><div>
<br></div><div>When I try to open it using "xdfopen" command I get the following error message:</div>
<div><br></div><div><div>ga-> xdfopen <a href="http://eu12-pp_2014050200_0.nc" target="_blank">eu12-pp_2014050200_0.nc</a></div><div>Scanning Descriptor File: <a href="http://eu12-pp_2014050200_0.nc" target="_blank">eu12-pp_2014050200_0.nc</a></div>
<div>gadxdf error: Unknown keyword in description file</div><div> --> The invalid description file record is: </div><div> --> cdf</div><div> The data file was not opened.</div></div><div><br></div><div>After checking the GrADS documentation I have realised that a file descriptor (ctl) is needed in order to open it using the "open" command, so I need some help at this point. The dump of "ncdump -c" command is attached. The dump shows that the NetCDF file is in LCC projection and due to this I'm having problems defining the PDEF, XDEF and YDEF components. At first attempt, the ctl i'm writing looks something like this:</div>
<div><br></div><div><div>DSET ^<a href="http://eu12-pp_2014050200_0.nc" target="_blank">eu12-pp_2014050200_0.nc</a></div><div>DTYPE netcdf</div><div>UNDEF 9.999E+20</div><div>TITLE WRF-Europe model 12km</div><div>PDEF 495 309 lcc 26.36833 -24.60645f 1 1 47.5 47.5 4 12000 12000</div>
<div>XDEF 495 linear 1 1</div><div>YDEF 309 linear 1 1</div><div>ZDEF 36 levels 1000 975 950 925 900 875 850 825 800 775 750 725 700 675 650 625 600 575 550 525 500 475 450 425 400 $</div><div>TDEF 1 linear 00Z02may2014 1hr</div>
<div>VARS 3</div><div>LON=>glon 0 t,y,x ** grid longitude</div><div>LAT=>glat 0 t,y,x ** grid latitude</div><div>TMP2M=>tmp2m 0 t,y,x ** tmp2m</div><div>...</div><div>ENDVARS</div></div><div><br></div>
<div>I'm pretty sure that PDEF,XDEF,YDEF are incorrect. Could you help me please on writting it correctly please?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Oriol Ciurana</div><div><br></div>
<div><br></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><i>Reginald E. Johnson </i></div>
</div>