[gradsusr] OSCAR DATA CTL

Rick Danielson onto.limbo at gmail.com
Wed Feb 15 04:10:30 EST 2017


Hi Carlos,

      I'm using opengrads.v2.0.2.oga.2 and can reproduce an error, but
only with the yrev (not xrev).  Because ydef defines the desired starting
latitude and interval (noting that OSCAR data is stored from north to 
south),
one needs to include "options yrev" as in:

dset    ^oscar_vel8859.nc
options yrev
undef   -32767
dtype   netcdf
xdef    1201 linear  20.0  0.333333333333
ydef     481 linear -80.0  0.333333333333
zdef       1 linear  15.0  1.000
tdef       1 linear 0z6jan2017 5dy
vars    4
    u=>u  0 t,z,y,x  eastward velocity (ms-1)
    v=>v  0 t,z,y,x northward velocity (ms-1)
   um=>um 0 t,z,y,x combined  eastward velocity (ms-1)
   vm=>vm 0 t,z,y,x combined northward velocity (ms-1)
endvars

 From "ncdump oscar_vel8859.nc" we get that "longitude extends from 20 E
to 420 E to avoid a break in major ocean basins" (but this doesn't seem 
to be
a problem for grads).

Cheers,
Rick


On 14. feb. 2017 17:39, Carlos Enciso Ojeda wrote:
> HI everyone
>
> 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:
>
> DSET ^oscar_vel8859.nc <http://oscar_vel8859.nc>
> DTYPE netcdf
> undef 200000000000000000000.000000
> OPTIONS template
> xdef dimension1 1201 linear 20.000000 0.333333
> ydef dimension2 481 linear -80.000000 0.333333
> zdef dimension3 1 linear 1 1
> tdef dimension4 1 linear 00:00Z06jan2017 1dy
>
> vars 4
> u 0 99 Ocean Surface Zonal Currents [meter/sec]
> v 0 99 Ocean Surface Meridional Currents [meter/sec]
> um 0 99 Ocean Surface Zonal Currents Maximum Mask [meter/sec]
> vm 0 99 Ocean Surface Meridional Currents Maximum Mask [meter/sec]
> endvars
>
> I'd really appreciate, If anyone can help me with this one.
>
> Thanks in advance
>
> Cheers
> Carlos Enciso
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170215/143621d3/attachment.html 


More information about the gradsusr mailing list