[gradsusr] Misaligned plot

Boddapati Anil boddapati.anil2 at gmail.com
Thu Mar 10 00:19:47 EST 2016


try this

dset ^sce_mon_mean.nc
dtype netcdf
undef -9999
TITLE NOAA/NCDC Climate Data Record of snow cover extent
xdef 88 linear 1 1
ydef 88 linear 1 1
tdef 573 linear starting date 1mo
vars 1
sec 0 t,y,x surface_snow_binary_mask
endvars


On Wed, Mar 9, 2016 at 6:33 PM, Ipshita Majhi <ipmajhi at alaska.edu> wrote:

> Dear Grads,
>
> I created a descriptor file to read a netcdf file using xdfopen. I created
> two three kind of descriptor file but when I plot it the data looks very
> shifted.
> I don't where I am going wrong.
>
> DSET ^sce_mon_mean.nc
> TITLE This is a sample
> UNDEF  -9.99e+08
> XDEF x 88 LINEAR -180 4.09090909
> YDEF y 88 LINEAR 0.0 1
> TDEF time 573 LINEAR OCT1966 1MO
> VARS 1
> sce=>sce 0 1 Snow cover extent
> ENDVARS
>
> The nudump -h looks like this
>
> dimensions:
> x = 88 ;
> y = 88 ;
> time = UNLIMITED ; // (573 currently)
> variables:
> double time(time) ;
> time:standard_name = "time" ;
> time:long_name = "time" ;
> time:units = "days since 1966-10-03 00:00:00" ;
> time:calendar = "standard" ;
> byte sce(time, y, x) ;
> sce:standard_name = "surface_snow_binary_mask" ;
> sce:long_name = "NOAA/NCDC Climate Data Record of snow cover extent" ;
> sce:_FillValue = -9b ;
> sce:missing_value = -9b ;
> sce:flag_meanings = "no_snow snow_covered" ;
>
> // global attributes:
> :CDI = "Climate Data Interface version 1.6.2 (
> http://code.zmaw.de/projects/cdi)" ;
> :Conventions = "CF-1.4" ;
> :history = "Mon Sep 15 23:25:22 2014: cdo monmean sce.nc sce_mon_mean.nc"
> ;
> :CDO = "Climate Data Operators version 1.6.2 (
> http://code.zmaw.de/projects/cdo)" ;
> }
>
>
>
>
> _______________________________________________
> 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/20160310/1915be89/attachment-0001.html 


More information about the gradsusr mailing list