<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Add 'dtype netcdf' to your descriptor file … that should fix it. --Jennifer<div><br><div><div>On May 24, 2014, at 4:54 PM, Joshua Ngaina wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear All,<br><br>I am extracting cloud top temperature from MODIS satellite. I have<br>written a descriptor file as shown below.<br>DSET ^mod%d2.nc<br>TITLE Aerosol Optical Depth<br>OPTIONS template<br>UNDEF -9999<br>XDEF 360 LINEAR 0.0 1<br>YDEF 180 LINEAR -89.5 1<br>zdef 1 linear 0 1<br>TDEF 14 LINEAR 0Z10jan2001 1dy<br>VARS 1<br>cloud_top_tempe 0 y,x Cloud Top Temperature: Mean<br>ENDVARS<br><br>Checking control file information, the TDEF seems different<br>ga-> q ctlinfo<br>dset mod%d2.nc<br>title Aerosol Optical Depth<br>undef -9999<br>xdef 360 linear 0 1<br>ydef 180 linear -89.5 1<br>zdef 1 linear 0 1<br>tdef 14 linear 00Z10JAN2001 1440mn<br>vars 1<br>cloud_top_tempe 0 y,x Cloud Top Temperature: Mean<br>endvars<br><br>The attributes of my file is as shown<br>ga-> q attr<br>No Descriptor Attributes for File 1 :<br><br>Native Attributes for File 1 :<br>global String Conventions CF-1.0<br>lat Int32 scale 0<br>lat Float32 stride 1<br>lat String gridReference edge<br>lat String standard_name latitude<br>lat Float32 endValue 90<br>lat String units degrees_north<br>lat String scaleType linear<br>lat Float32 startValue -90<br>lat Int32 size 180<br>lon Int32 scale 0<br>lon Float32 stride 1<br>lon String gridReference edge<br>lon String standard_name longitude<br>lon Float32 endValue 180<br>lon String units degrees_east<br>lon String scaleType linear<br>lon Float32 startValue -180<br>lon Int32 size 360<br>cloud_top_tempe Float32 _FillValue -9999<br>cloud_top_tempe String Quality_Assurance_Data_Set None<br>cloud_top_tempe Float32 scale_factor 1<br>cloud_top_tempe Float32 add_offset 0<br>cloud_top_tempe String long_name Cloud Top Temperature: Mean<br>cloud_top_tempe String Statistic_Type Simple<br>cloud_top_tempe String units Degree<br>cloud_top_tempe String Aggregation_Data_Set None<br>cloud_top_tempe Int32 valid_range 0,20000<br>cloud_top_tempe String Included_Level_2_Nighttime_Data True<br>cloud_top_tempe String Derived_From_Level_2_Data_Set Cloud_Top_Temperature<br>cloud_top_tempe String Level_2_Pixel_Values_Read_As Real<br>cloud_top_tempe String structureType Grid<br>cloud_top_tempe String unitsCategory temperature<br><br>However, the values I get from a point are as shown. Note that some of<br>these values are quite extreme.<br>-1.29021e-23<br>-6.92459e+32<br>33170.3<br>1.98182e+11<br>2.08584e-26<br>-5.06712e+26<br>3.17729e+23<br>-2.23413e-29<br>0.0676561<br>2.40895e-26<br>-8.06725e-36<br>5.39458e+17<br>-1.05303e-10<br>57747.3<br><br>Can anyone help me point out the error ?<br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div>
<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; font-size: medium; "><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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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; "><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 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>