<div dir="ltr"><div><div><div>THX for the sample ISCCP hdf file. It looks pretty sparse! <br><br>IMHO: as the hdf file is constructed, it is USELESS! <br><br></div><div>%>ncl_filedump <br><br>Variable: f<br>Type: file<br>filename:       ISCCP.D2.0.GLOBAL.2007.01.99.9999.GPC<br>path:   ISCCP.D2.0.GLOBAL.2007.01.99.9999.GPC.hdf<br>   file global attributes:<br>   dimensions:<br>      fakeDim0 = 6596<br>      fakeDim1 = 130<br></div><div>[SNIP]<br></div><div>   variables:<br>      ubyte Data_Set_6 ( fakeDim0, fakeDim1 )<br>         anno_label_1 : UTC  00<br>         long_name :    UTC  00<br>         units :        counts<br>         format :       I3<br>         hdf_name :     Data-Set-6<br></div><div>[SNIP]<br><br></div><div>Really, it looks like 'someone' had to do 'something' in hdf so they created this useless file.<br><br>---<br></div><div><br>Because this is on a public forum, I am sure that an 'ISCCP' search will contain this ncl-talk response. Hence, a disclaimer:<br><br><b>I don't want to support ISCCP-D2 (or D1 or DX etc, etc, etc). <br>Please send all ISCCP questions to ISCCP people. </b><br><br>The following deals with the <b>netCDF file(s) I created derived from the original binary files</b>. Maybe, the following will be of use.<br>---<br>ISCCP ended 12/2009<br>--<br><a href="https://climatedataguide.ucar.edu/" target="_blank">https://climatedataguide.ucar.<wbr>edu/</a>     <=== excellent site to explore   :-)<br></div>    Search:  ISCCP and click on ISCCP<br></div>    Please read the "<b>Expert User Guidance</b>"<br>---<br></div><div>Click: <b>Get Data (External)</b><br>One link, which lists all the variables,  is here:<br><br><a href="http://www.cgd.ucar.edu/cas/catalog/satellite/isccp/D2/means.html" target="_blank">http://www.cgd.ucar.edu/cas/ca<wbr>talog/satellite/isccp/D2/means<wbr>.html</a><br><br></div><div>The data set has been updated thru the end of the ISCCP project: 12/2009<br><br></div><div>ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a><br></div><div>anonymous<br></div><div>your_email<br></div><div>cd archive<br></div><div>ls<br></div><div>cd ISCCP<br></div><div>ls<br></div><div>get ncdump.isccp.1983-2009      <=== simple text file<br></div><div>get isccp.ps.gz                   <wbr>          <=== time series plots of ?all? variables<br></div><div>get isccp.1983-2009.nc.gz         <wbr>  <=== big file<br></div><div>quit<br><br></div><div>================ NCL D2 Stuff =================<br><br></div><div>NCL has been used on ISCCP binary data since 2004 (maybe earlier). As noted, ISCCP hdf is useless.<br></div><div><br>The following is provided as deep background information. I have forgotten everything I knew about the various scripts.<br><br></div><div>However, given NCL's backward compatibility, I speculate they would work.<br></div><div><b>They read the original binary and not hdf files.</b><br></div><div>---<br></div><div>d2bin2nc.ncl:<br>takes the  binary and converts each year-month binary file to a corresponding netCDF file. The script invokes a shared object that regrids the data to a 2.5 degree grid. These were later placed onto a single file via the netCDF operator: '<b>ncrcat</b>'<br>---<br>d2read_NCL.f:<br></div><div>I converted the original ISCCP provided D2-f77 code into a subroutine such that a shared object (.so) could be created and invoked from an NCL script. This uses ISCCP methodology for regridding to a 2.5 degree grid.<br><br></div><div>The original D2READ.f is at the "official" ISCCP software URL:<br>   <a href="https://isccp.giss.nasa.gov/products/software.html" target="_blank">https://isccp.giss.nasa.gov/<wbr>products/software.html</a></div><div>---<br></div><div>%><b> WRAPIT</b> d2read_NCL.f   <br></div><div>WRAPIT creates the shared object file: d2read_NCL.so<br>---<br>plot.ContourTimeS.ncl<br></div><div> Read the final netCDF file and creates time series plots for many variables. I  suggest you examine any ISCCP variables for discontinuities. Remember ISCCP is a amalgamation of satellite inputs and these could change over time.<br><br></div><div>Good luck<br></div><div>D<br></div><div><br><br></div><div><br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 11, 2017 at 5:13 AM, Marston Ward <span dir="ltr"><<a href="mailto:marston.johnston@gu.se" target="_blank">marston.johnston@gu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-GB">
<div class="m_-2656246570117892777WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m trying to compare ISCCP products from COSP with real time data, i.e., ISCCP D2 monthly means.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve never worked with ISCCP before, and, while I can download a lot of data from Earthdata, they are in formats I do not recognise nor know how to handle.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Much of the isccp documents have email address that no longer work, so it is bit difficult to contact them.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">While doing a search on the NCL webpage revealed:
<a href="https://www.ncl.ucar.edu/Applications/isccp.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/isccp.shtml</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">But in this example the isccp data is already in netcdf format. I’m trying to get to this point.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Further, in the NCL archives I came across a similar problem back in 2005:
<a href="http://www.ncl.ucar.edu/Support/talk_archives/all/1699.html" target="_blank">http://www.ncl.ucar.edu/<wbr>Support/talk_archives/all/<wbr>1699.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">That seems to explain a bit how to read iSCCP D2 but much of this seem to me a black box.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Given the above information, how can I find information on how to read the D2 data onto a regular lat lon grid using NCL?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Anyone in the know, or with experience, out there and care to share?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve attached the SDS hdf file but I don’t know what’s in the file and the data looks very strange.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">/M<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">Marston S. Ward, PhD<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">Department of Earth Sciences<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">University of Gothenburg, Sweden<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style="color:#0070c0">marston.johnston@gu.se</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">SkypeID: marston.johnston <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">Phone: <a href="tel:+46%2031%20786%2049%2001" value="+46317864901" target="_blank">+46-31-7864901</a> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">Only the fruitful thing is true!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>