<div dir="ltr"><div><div><div><div><div><div>Further, I know that you will always follow the ncl-talk mantra of "Look at your data", you will note that<br><br> time:<br> <br> 86535854 86535899 86535943 86535988 86536032 86536077<br> 86536121 86536166 86536210 86536254 86536298 86536342<br></div>[snip]<br> 86552061 86552107 86552152 86552197 86552243 86552289<br> 86552337 86552386 86552434 86552481 86552535 86552606<br> 86552682 86552733 -2147483647 86590169 86590125 86590081<br> 86590036 86589992 86589947 86589903 86589858 86589814<br></div>[SNIP]<br><br></div>has missing values [ -2147483647 ]<br><br></div>These are not identified as such on the netCDF file. Not good netCDF practice.<br></div>Hence, you will have to add and set the _FillValue attribute.<br><br></div>Good luck<br><div><div><div><div><div> <br><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 12, 2014 at 1:44 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looking at the global attributes, this is Level 2 data (likely SWATH) that has been converted<br>from HDF to netCDF. The SABER dimensions are:<span class=""><br><br> dimensions:<div> altitude = 370</div><div> vector = 3</div></span><div> event = 32577<br><br>===<br></div><div>By analogy, you could possibly use Examples 2 & 3 at<br> <a href="http://www.ncl.ucar.edu/Applications/cloudsat.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/cloudsat.shtml</a><br><br></div><div>That HDF-EOS file has<br><br> dimensions:<br> nray_2B_CLDCLASS = 37082<br> scalar_2B_CLDCLASS = 1<br> nbin_2B_CLDCLASS = 125<br><br></div><div>I do not know what the 'vector' dimension is but I would speculate that<br><br></div><div>SABER CLOUDSAT<br></div><div>altitude nbin_2B_CLDCLASS<br></div><div>event nray_2B_CLDCLASS<br><br>========<br></div><div>Unlike the CLOUDSAT which has 1D time and must be conformed to 2D,<br></div><div>the SABER file looks like that has been done!<br><br></div><div>EASY!<br><br></div><div>Once you have completed a nice example, please contribute to NCL.<br></div><div>It can be included on NCL's Application page ... with attribution, of course.<br><br></div><div>Cheers<br></div><div><br></div><div><br></div><div><br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Dec 11, 2014 at 2:03 PM, Verena Lili <span dir="ltr"><<a href="mailto:verena.prick@gmail.com" target="_blank">verena.prick@gmail.com</a>></span> wrote:</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Dear NCL,</div><div><br></div><div>I'd like to extract the kinetic temperature variable for each netcdf file provided by TIMED/SABER team. Unfortunately, they only have an IDL converter tool (subroutine) to regrid the netcdf output into the standard grid and height (km), So,, is there any solution to convert these data using ncl?</div><div><br></div><div>Thank you.</div><div><br></div><div>===</div><div><br></div><div>The example data is here:</div><div><a href="ftp://saber.gats-inc.com/custom/Temp_O3/v1.07/SABER_Temp_O3_April2002_v1.07.nc" target="_blank">ftp://saber.gats-inc.com/custom/Temp_O3/v1.07/SABER_Temp_O3_April2002_v1.07.nc</a><br></div><div><br></div><div>=====</div><div><br></div><div><br></div><div>Copyright (C) 1995-2014 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 6.2.0</div><div> The use of this software is governed by a License Agreement.</div><div> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</div><div><br></div><div>Variable: f</div><div>Type: file</div><div>filename:<span style="white-space:pre-wrap">        </span>SABER_Temp_O3_April2003_v1.07</div><div>path:<span style="white-space:pre-wrap">        </span><a href="http://SABER_Temp_O3_April2003_v1.07.nc" target="_blank">SABER_Temp_O3_April2003_v1.07.nc</a></div><div> file global attributes:</div><div> Title : SABER Custom Level2A Product!</div><div> Data_Product_Type : Processed Level2A</div><div> Mission : TIMED</div><div> Software_Name : ./Level2a</div><div> Software_Version : 01.07</div><div> Calibration_Version : 01.07</div><div> Product_Format_Version : 003</div><div> Data_Product_Version : 01.07</div><div> dimensions:</div><div> altitude = 370</div><div> vector = 3</div><div> event = 32577</div><div> variables:</div><div> integer orbit ( event )</div><div><br></div><div> integer date ( event )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Date [yyyyddd]</div><div> units :<span style="white-space:pre-wrap">        </span>yyyyddd</div><div><br></div><div> integer time ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Msec Since Midnight</div><div> units :<span style="white-space:pre-wrap">        </span>msec</div><div><br></div><div> float tpaltitude ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Altitude</div><div> units :<span style="white-space:pre-wrap">        </span>km</div><div><br></div><div> float tplatitude ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Latitude</div><div> units :<span style="white-space:pre-wrap">        </span>degrees</div><div><br></div><div> float tplongitude ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Longitude</div><div> units :<span style="white-space:pre-wrap">        </span>degrees</div><div><br></div><div> float tpgpaltitude ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Geopotential Altitude</div><div> units :<span style="white-space:pre-wrap">        </span>km</div><div><br></div><div> float tpSolarLT ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Local-Solar Time </div><div> units :<span style="white-space:pre-wrap">        </span>msec</div><div><br></div><div> float tpSolarZen ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Tangent-Point Solar-Zenith Angle</div><div> units :<span style="white-space:pre-wrap">        </span>degrees</div><div><br></div><div> float pressure ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Pressure</div><div> units :<span style="white-space:pre-wrap">        </span>mbar</div><div><br></div><div> float density ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>Atmospheric Density</div><div> units :<span style="white-space:pre-wrap">        </span>1/cm^3</div><div><br></div><div> <b> float ktemp ( event, altitude )</b></div><div><b> long_name :<span style="white-space:pre-wrap">        </span>Kinetic Temperature</b></div><div><b> units :<span style="white-space:pre-wrap">        </span>K</b></div><div><br></div><div> float O3_96 ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>O3 Mixing Ratio 9.6um</div><div> units :<span style="white-space:pre-wrap">        </span>unitless</div><div><br></div><div> float O3_127 ( event, altitude )</div><div> long_name :<span style="white-space:pre-wrap">        </span>O3 Mixing Ratio 1.27um Channel</div><div> units :<span style="white-space:pre-wrap">        </span>unitless</div><span><font color="#888888"><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Dr. Verena.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="verdana, sans-serif">School of Marine and Atmospheric Sciences<br>Stony Brook University</font><div><span style="font-family:verdana,sans-serif">homepage: </span><a href="http://www.somas.stonybrook.edu/" target="_blank">http://www.somas.stonybrook.edu/</a></div></div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div></div>
</blockquote></div></div>