<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Dennis,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks a lot for the detailed response. Took a little time to get back to this issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Greatly appreciate the wealth of information and access to the data.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I also found some netcdf versions at the IPSL site:
<a href="http://climserv.ipsl.polytechnique.fr/">http://climserv.ipsl.polytechnique.fr/</a>. But I think I trust the GISS data archive more. Note: the ftp site:
<a href="ftp://isccp.giss.nasa.gov/">ftp://isccp.giss.nasa.gov</a> seems to be broken.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I understand message of supporting ISCCP. I’ve emailed several persons using the addresses listed on the site but the addresses no longer are valid. So I gave up.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I was just fishing for experience here among the NCL folks.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ll save this email for future reference.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">/M<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">Marston S. Ward, PhD<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">Department of Earth Sciences<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">University of Gothenburg, Sweden<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">Email: <a href="mailto:marston.johnston@gu.se"><span style="color:#0070C0">marston.johnston@gu.se</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">SkypeID: marston.johnston <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">Phone: +46-31-7864901 <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">Only the fruitful thing is true!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Dennis Shea <shea@ucar.edu><br>
<b>Date: </b>Friday, 13 October 2017 at 16:23<br>
<b>To: </b>Marston Ward <marston.johnston@gu.se><br>
<b>Cc: </b>"ncl-talk@ucar.edu" <ncl-talk@ucar.edu><br>
<b>Subject: </b>Re: [ncl-talk] Reading isccp revisted<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">THX for the sample ISCCP hdf file. It looks pretty sparse!
<br>
<br>
IMHO: as the hdf file is constructed, it is USELESS! <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">%>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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[SNIP]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">   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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">[SNIP]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Really, it looks like 'someone' had to do 'something' in hdf so they created this useless file.<br>
<br>
---<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><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.edu/</a>     <=== excellent site to explore   :-)<o:p></o:p></p>
</div>
<p class="MsoNormal">    Search:  ISCCP and click on ISCCP<o:p></o:p></p>
</div>
<p class="MsoNormal">    Please read the "<b>Expert User Guidance</b>"<br>
---<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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/catalog/satellite/isccp/D2/means.html</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The data set has been updated thru the end of the ISCCP project: 12/2009<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">anonymous<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">your_email<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd archive<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ls<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd ISCCP<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ls<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">get ncdump.isccp.1983-2009      <=== simple text file<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">get isccp.ps.gz                             <=== time series plots of ?all? variables<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">get isccp.1983-2009.nc.gz           <=== big file<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">quit<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">================ NCL D2 Stuff =================<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">NCL has been used on ISCCP binary data since 2004 (maybe earlier). As noted, ISCCP hdf is useless.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
The following is provided as deep background information. I have forgotten everything I knew about the various scripts.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">However, given NCL's backward compatibility, I speculate they would work.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b>They read the original binary and not hdf files.</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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/products/software.html</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">%><b> WRAPIT</b> d2read_NCL.f   <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">WRAPIT creates the shared object file: d2read_NCL.so<br>
---<br>
plot.ContourTimeS.ncl<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> 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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Good luck<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">D<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Oct 11, 2017 at 5:13 AM, Marston Ward <<a href="mailto:marston.johnston@gu.se" target="_blank">marston.johnston@gu.se</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’m trying to compare ISCCP products from COSP with real time data, i.e., ISCCP D2 monthly means.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Much of the isccp documents have email address that no longer work, so it is bit difficult to contact them.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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/Applications/isccp.shtml</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But in this example the isccp data is already in netcdf format. I’m trying to get to this point.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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/Support/talk_archives/all/1699.html</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">That seems to explain a bit how to read iSCCP D2 but much of this seem to me a black box.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Given the above information, how can I find information on how to read the D2 data onto a regular lat lon grid using NCL?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Anyone in the know, or with experience, out there and care to share?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I’ve attached the SDS hdf file but I don’t know what’s in the file and the data looks very strange.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">/M<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">Marston S. Ward, PhD</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">Department of Earth Sciences</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">University of Gothenburg, Sweden</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">SkypeID: marston.johnston </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">Phone:
<a href="tel:+46%2031%20786%2049%2001" target="_blank">+46-31-7864901</a> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">Only the fruitful thing is true!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Times New Roman",serif;color:#0070C0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>