<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looks like you need the UNPACK entry in your descriptor file. Check your netcdf files for scale_factor and add_offset attributes.<div>--Jennifer</div><div><br><div><div>On Aug 30, 2011, at 4:31 PM, Stephen McMillan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I am having a problem correctly displaying multiple file data using a template control file. My objective is to open, for example, the set of daily air temperature data files (in yearly files) from 1948 to current as a single file, then display/analyze the data as needed without having to open each file separately. Contents of control file (air.sig995.daily.1948-.ctl):<div> <br></div><div><div>DSET h:\cdf\dailymeans\air.sig995.%<a href="http://y4.nc">y4.nc</a></div><div>TITLE Daily Air Temperature Sig995 01Jan1948-current</div><div>DTYPE netcdf</div><div>OPTIONS template</div><div>UNDEF -9.99e+33</div> <div>XDEF 144 linear 0 2.5</div><div>YDEF 73 linear -90 2.5</div><div>ZDEF 1 linear 0 1</div><div>TDEF 3653 linear 01jan1948 1dy</div><div>VARS 1</div><div>air=>tmp 0 t,y,x Mean Daily Air Temperature at sigma level 995 (degK)</div> <div>ENDVARS</div></div><div><br></div><div>For test purposes, I set TDEF to cover only the first 10 years. When I launch it in GrADS, it opens "normally" but the data displays with values much lower than expected. Following is the GrADS session transcript:</div> <div><br></div><div>Grid Analysis and Display System (GrADS) Version 2.0.a7.oga.3</div><div>Copyright (c) 1988-2008 by Brian Doty and the</div><div>Institute for Global Environment and Society (IGES)</div><div>GrADS comes with ABSOLUTELY NO WARRANTY</div> <div>See file COPYRIGHT for more information</div><div><br></div><div>Config: v2.0.a7.oga.3 little-endian readline printim grib2 netcdf hdf4-sds hdf5</div><div>opendap-grids,stn athena geotiff</div><div>Issue 'q config' command for more information.</div> <div>Loading User Defined Extensions table </bin/gex/udxt> ... ok.</div><div>GX Package Initialization: Size = 11 8.5</div><div>ga-> open c:\cdf\dailymeans\air.sig995.daily.1948-.ctl</div><div>Scanning description file: c:\cdf\dailymeans\air.sig995.daily.1948-.ctl</div> <div>Data file h:\cdf\dailymeans\air.sig995.%<a href="http://y4.nc">y4.nc</a> is open as file 1</div><div>LON set to 0 360</div><div>LAT set to -90 90</div><div>LEV set to 0 0</div><div>Time values set: 1948:1:1:0 1948:1:1:0</div> <div>E set to 1 1</div><div>ga-> q ctlinfo</div><div>dset h:\cdf\dailymeans\air.sig995.%<a href="http://y4.nc">y4.nc</a></div><div>title Daily Air Temperature Sig995 01Jan1948-current</div><div>undef -9.99e+33</div><div> dtype netcdf</div><div>xdef 144 linear 0 2.5</div><div>ydef 73 linear -90 2.5</div><div>zdef 1 linear 0 1</div><div>tdef 3653 linear 00Z01JAN1948 1440mn</div><div>vars 1</div><div>air=>tmp 0 t,y,x Mean Daily Air Temperature at sigma level 995 (degK)</div> <div>endvars</div><div>ga-> set time 25dec1953 5jan1954</div><div>Time values set: 1953:12:25:0 1954:1:5:0</div><div>ga-> d tmp-273.15</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div> <div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div> <div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div><div>Contouring: -29000 to -21000 interval 1000</div> <div>ga-></div><div>______________________________________</div><div><br></div><div>I was expecting data to display in deg C, i.e., in the range of roughly -50 to 30, which is what I would get if I open a yearly file separately. I also noticed that the display pattern itself is not consistent with the original files' data. The data folder contains valid yearly files from 1948 through 2011.</div> <div><br></div><div>I did search the <a href="http://gradsusr.org">gradsusr.org</a> archives for help, but could not find a solution. I would appreciate someone suggesting a fix. I am using Opengrads Version 2.0.a7.oga.3 on a Windows XP.</div> <div><br></div><div>Stephen McMillan</div><div><br></div> <pre>***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></pre></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>