<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Carlos,<br>
<br>
I'm using opengrads.v2.0.2.oga.2 and can reproduce an error,
but<br>
only with the yrev (not xrev). Because ydef defines the desired
starting<br>
latitude and interval (noting that OSCAR data is stored from north
to south),<br>
one needs to include "options yrev" as in:<br>
<br>
dset ^oscar_vel8859.nc<br>
options yrev<br>
undef -32767<br>
dtype netcdf<br>
xdef 1201 linear 20.0 0.333333333333<br>
ydef 481 linear -80.0 0.333333333333<br>
zdef 1 linear 15.0 1.000<br>
tdef 1 linear 0z6jan2017 5dy<br>
vars 4<br>
u=>u 0 t,z,y,x eastward velocity (ms-1)<br>
v=>v 0 t,z,y,x northward velocity (ms-1)<br>
um=>um 0 t,z,y,x combined eastward velocity (ms-1)<br>
vm=>vm 0 t,z,y,x combined northward velocity (ms-1)<br>
endvars<br>
<br>
From "ncdump oscar_vel8859.nc" we get that "longitude extends from
20 E<br>
to 420 E to avoid a break in major ocean basins" (but this doesn't
seem to be<br>
a problem for grads).<br>
<br>
Cheers,<br>
Rick<br>
<br>
<br>
<div class="moz-cite-prefix">On 14. feb. 2017 17:39, Carlos Enciso
Ojeda wrote:<br>
</div>
<blockquote
cite="mid:CAE39umgyhpqsGTQAaG2a5d0CXdh3_aWHAZJbhgOE_XUa5QOVQA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>HI everyone<br>
<br>
</div>
I'm having some troubles with OSCAR data, which are in
netcdf format, I made a ctl, but when I tried to open it, it
mentioned an error with xdef value. The ctl is as follow:<br>
<br>
DSET ^<a moz-do-not-send="true"
href="http://oscar_vel8859.nc">oscar_vel8859.nc</a><br>
DTYPE netcdf<br>
undef 200000000000000000000.000000<br>
OPTIONS template<br>
xdef dimension1 1201 linear 20.000000 0.333333<br>
ydef dimension2 481 linear -80.000000 0.333333<br>
zdef dimension3 1 linear 1 1<br>
tdef dimension4 1 linear 00:00Z06jan2017 1dy<br>
<br>
vars 4<br>
u 0 99 Ocean Surface Zonal Currents [meter/sec]<br>
v 0 99 Ocean Surface Meridional Currents [meter/sec]<br>
um 0 99 Ocean Surface Zonal Currents Maximum Mask
[meter/sec]<br>
vm 0 99 Ocean Surface Meridional Currents Maximum Mask
[meter/sec]<br>
endvars<br>
</div>
<div><br>
</div>
<div>I'd really appreciate, If anyone can help me with this
one.<br>
</div>
<div><br>
</div>
Thanks in advance<br>
<br>
</div>
<div>Cheers<br>
</div>
Carlos Enciso<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>