<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">There are two problems:&nbsp;<div>1. The variable tasmax does not vary in Z, only (time,lat,lon), so you should change your variable declaration to:</div><div>&nbsp;“tasmax 0 &nbsp;t,y,x &nbsp;Daily maximum near-surface air temperature [K]”</div><div><br></div><div>2. The time axis is a 360_day calendar, and you have ‘OPTIONS 365_day_calendar’. Unfortunately, GrADS doesn’t support 360-day calendars. I am surprised they are still being used in CMIP5. You can open the file and look at the data, but will have to ignore the time metadata and rely strictly on T index values to move through your file.&nbsp;</div><div>—Jennifer</div><div><br></div><div><br><div><div>On Jul 30, 2015, at 6:42 AM, itesh dash &lt;<a href="mailto:itesh@rimes.int">itesh@rimes.int</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear All,<div><br></div><div>I am trying to read the CMIP5 HADGEM-AO GCM (nc file) data sets using grads. I have prepared a descriptor file. However, it seems the file is not read correctly, and I receive wrong temperature values.</div><div><br></div><div>The GCM attributes are:</div><div><br></div><div><div>netcdf tasmax_day_HadGEM2-AO_rcp45_r1i1p1_20060101-21001230 {</div><div>dimensions:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>time = UNLIMITED ; // (34200 currently)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lat = 145 ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lon = 192 ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>bnds = 2 ;</div><div>variables:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double time(time) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:bounds = "time_bnds" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:units = "days since 2006-01-01" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:calendar = "360_day" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:axis = "T" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:long_name = "time" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>time:standard_name = "time" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double time_bnds(time, bnds) ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double lat(lat) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:bounds = "lat_bnds" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:units = "degrees_north" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:axis = "Y" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:long_name = "latitude" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lat:standard_name = "latitude" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double lat_bnds(lat, bnds) ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double lon(lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:bounds = "lon_bnds" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:units = "degrees_east" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:axis = "X" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:long_name = "longitude" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>lon:standard_name = "longitude" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double lon_bnds(lon, bnds) ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>double height ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>height:units = "m" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>height:axis = "Z" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>height:positive = "up" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>height:long_name = "height" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>height:standard_name = "height" ;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>float tasmax(time, lat, lon) ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:standard_name = "air_temperature" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:long_name = "Daily Maximum Near-Surface Air Temperature" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:comment = "daily-maximum near-surface (usually, 2 meter) air temperature." ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:units = "K" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:original_name = "TASMAX" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:cell_methods = "time: maximum (interval: 1.000000 days)" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:cell_measures = "area: areacella" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:history = "2012-10-29T09:05:42Z altered by CMOR: Treated scalar dimension: \'height\'. 2012-10-29T09:05:42Z altered by CMOR: replaced missing value flag (-1.07374e+09) with standard missing value (1e+20)." ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:coordinates = "height" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:missing_value = 1.e+20f ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:_FillValue = 1.e+20f ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tasmax:associated_files = "baseURL: <a href="http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation">http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation</a> gridspecFile: gridspec_fx_HadGEM2-AO_rcp45_r0i0p0.nc areacella: areacella_fx_HadGEM2-AO_rcp45_r0i0p0.nc" ;</div><div><br></div><div>// global attributes:</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>:institution = "NIMR (National Institute of Meteorological Research, Seoul, South Korea)" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>:institute_id = "NIMR-KMA" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>:experiment_id = "rcp45" ;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>:source = "HadGEM2-AO r6.6.3 (2010): atmosphere: &nbsp;HadGAM (HadGAM2, N96L38); atm: HadGOM (HadGOM2, 1x1L40, increased res at Equator); sea ice: part of HadGOM2; land: MOSES-2" ;</div></div><div><br></div><div><br></div><div>The descriptor (.ctl) file :</div><div><br></div><div><div>DSET ^tasmax_day_HadGEM2-AO_rcp45_r1i1p1_20060101-21001230.nc</div><div>TITLE Air Temperature</div><div>DTYPE netcdf</div><div>OPTIONS 365_day_calender</div><div>UNDEF 1.e+20f</div><div>xdef 192 linear 0 1.875</div><div>ydef 145 linear -90 1.25</div><div>zdef 1 levels 1013.0</div><div>tdef 34200 linear 00Z1Jan2006 1dy</div><div>VARS 1</div><div>tasmax 1 t,z,y,x Air Temperature [K]</div><div>ENDVARS<br><br></div></div><div><br></div><div><br></div><div>Kindly, help in understanding where we are doing wrong.</div><div><br></div><div>Much appreciate your help in this.&nbsp;</div><div><br></div><div><br></div><div>Regards,</div><div>Itesh Dash</div><div>RIMES</div></div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>