<div dir="ltr">try this<br><div><div><br>dset ^<a href="http://sce_mon_mean.nc" target="_blank">sce_mon_mean.nc</a><br>dtype netcdf<br>undef -9999<br>TITLE NOAA/NCDC Climate Data Record of snow cover extent<br>xdef 88 linear 1 1<br>ydef 88 linear 1 1<br>tdef 573 linear starting date 1mo<br>vars 1<br>sec 0 t,y,x surface_snow_binary_mask<br>endvars<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 6:33 PM, Ipshita Majhi <span dir="ltr">&lt;<a href="mailto:ipmajhi@alaska.edu" target="_blank">ipmajhi@alaska.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Grads,<br></div><div><br></div><div>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.</div><div>I don&#39;t where I am going wrong. </div><div><br></div><div><div>DSET ^<a href="http://sce_mon_mean.nc" target="_blank">sce_mon_mean.nc</a> </div><div>TITLE This is a sample </div><div>UNDEF  -9.99e+08     </div><div>XDEF x 88 LINEAR -180 4.09090909</div><div>YDEF y 88 LINEAR 0.0 1</div><div>TDEF time 573 LINEAR OCT1966 1MO</div><div>VARS 1</div><div>sce=&gt;sce 0 1 Snow cover extent</div><div>ENDVARS</div></div><div><br></div><div>The nudump -h looks like this</div><div><br></div><div><div>dimensions:</div><div><span style="white-space:pre-wrap">        </span>x = 88 ;</div><div><span style="white-space:pre-wrap">        </span>y = 88 ;</div><div><span style="white-space:pre-wrap">        </span>time = UNLIMITED ; // (573 currently)</div><div>variables:</div><div><span style="white-space:pre-wrap">        </span>double time(time) ;</div><div><span style="white-space:pre-wrap">                </span>time:standard_name = &quot;time&quot; ;</div><div><span style="white-space:pre-wrap">                </span>time:long_name = &quot;time&quot; ;</div><div><span style="white-space:pre-wrap">                </span>time:units = &quot;days since 1966-10-03 00:00:00&quot; ;</div><div><span style="white-space:pre-wrap">                </span>time:calendar = &quot;standard&quot; ;</div><div><span style="white-space:pre-wrap">        </span>byte sce(time, y, x) ;</div><div><span style="white-space:pre-wrap">                </span>sce:standard_name = &quot;surface_snow_binary_mask&quot; ;</div><div><span style="white-space:pre-wrap">                </span>sce:long_name = &quot;NOAA/NCDC Climate Data Record of snow cover extent&quot; ;</div><div><span style="white-space:pre-wrap">                </span>sce:_FillValue = -9b ;</div><div><span style="white-space:pre-wrap">                </span>sce:missing_value = -9b ;</div><div><span style="white-space:pre-wrap">                </span>sce:flag_meanings = &quot;no_snow snow_covered&quot; ;</div><div><br></div><div>// global attributes:</div><div><span style="white-space:pre-wrap">                </span>:CDI = &quot;Climate Data Interface version 1.6.2 (<a href="http://code.zmaw.de/projects/cdi" target="_blank">http://code.zmaw.de/projects/cdi</a>)&quot; ;</div><div><span style="white-space:pre-wrap">                </span>:Conventions = &quot;CF-1.4&quot; ;</div><div><span style="white-space:pre-wrap">                </span>:history = &quot;Mon Sep 15 23:25:22 2014: cdo monmean <a href="http://sce.nc" target="_blank">sce.nc</a> <a href="http://sce_mon_mean.nc" target="_blank">sce_mon_mean.nc</a>&quot; ;</div><div><span style="white-space:pre-wrap">                </span>:CDO = &quot;Climate Data Operators version 1.6.2 (<a href="http://code.zmaw.de/projects/cdo" target="_blank">http://code.zmaw.de/projects/cdo</a>)&quot; ;</div><div>}</div></div><div><br></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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>