<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You probably need an alias in your variable declaration.<div><br></div><div>&nbsp;<em>SDF_name</em>=&gt;<em>grads_name</em> <br>
        <em>SDF_name</em> must exactly match the data variable name in the SDF 
        -- it may contain uppercase letters and non-alpha-numeric characters. 
        The <em>grads_name</em> is an alias for <em>SDF_name</em> and must be 
        less than 16 characters, start with an alphabetic character, and cannot 
        contain any upper case letters or non-alpha-numeric characters. The aliasing 
        of variable names may be omitted (i.e., "<em>SDF_name</em>=&gt;" 
        does not precede <em>grads_name</em>) if the <em>SDF_name</em> already 
        meets the criteria for GrADS variable names listed above.<br><div><br></div><div>--Jennifer</div><div><br></div><div><br><div><div>On May 26, 2014, at 3:38 AM, Joshua Ngaina wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Dear <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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Jennifer</span></span></span></span><br>
<br>I added 'dtype netcdf' in the descriptor file and I when I try to display I get the error <br><br>ga-&gt; d cloud_top_tempe<br>Error: Variable cloud_top_tempe not in netcdf file<br>Data Request Error:&nbsp; Error for variable 'cloud_top_tempe'<br>
&nbsp; Error ocurred at column 1<br>DISPLAY error:&nbsp; Invalid expression <br>&nbsp; Expression = cloud_top_tempe<br><br></div>However, If I open individual files, they work okay. <br><br></div>joshua<br><div><div><br></div></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 25, 2014 at 4:36 AM, Jennifer Adams <span dir="ltr">&lt;<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Add 'dtype netcdf' to your descriptor file … that should fix it. --Jennifer<div><br><div><div><div class="h5"><div>On May 24, 2014, at 4:54 PM, Joshua Ngaina wrote:</div><br></div>
</div><blockquote type="cite"><div><div><div class="h5">Dear All,<br><br>I am extracting cloud top temperature &nbsp;from MODIS satellite. I have<br>written a descriptor file as shown below.<br>DSET &nbsp;^mod%<a href="http://d2.nc/" target="_blank">d2.nc</a><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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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-&gt; q ctlinfo<br>dset mod%<a href="http://d2.nc/" target="_blank">d2.nc</a><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 &nbsp;0 &nbsp;y,x &nbsp;Cloud Top Temperature: Mean<br>endvars<br><br>The attributes of my file is as shown<br>ga-&gt; 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></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></blockquote></div><br><div>
<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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;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-indent:0px;text-transform:none;white-space:normal;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></div><br>
</span></span></div></span></span><br>
</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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></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="font-size: 12px; "><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&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>