<div dir="ltr"><div><div><div><div><div><div><div><div><div>Likely, ncl-6.4.0 will read the file.<br>I went to site and it want us to register. Just don&#39;t wan to do that.<br><br><br></div>Are you on a CISL (eg: yellowstone) box? Where?<br><br></div><div><br></div>If not, make the data available via WWW or ftp to:<br><br></div>ftp <a href="http://ftp.cgd.ucar.edu">ftp.cgd.ucar.edu</a><br></div>anonymous<br></div>your_email<br></div>cd incoming<br></div>put your_file<br></div>quit<br><br></div>THX<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 12:32 PM, Charles Bardeen <span dir="ltr">&lt;<a href="mailto:bardeenc@ucar.edu" target="_blank">bardeenc@ucar.edu</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">I am trying to read hdf5 data produced from the Madrigal archive ( <a href="http://cedar.openmadrigal.org" target="_blank">http://cedar.openmadrigal.org</a> ). The file format contains groups and compounds. I seem to be able to access the group, but have been unable to access the data that I want from the compound. Can you tell how to make this work? The file format and the commands I have tried are shown below.<div><br></div><div>Thanks,</div><div><br></div><div>Chuck</div><div><br></div><div><div><span class="m_-5522978123297025145Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><span class="m_-5522978123297025145Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word"><span class="m_-5522978123297025145Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word"><span class="m_-5522978123297025145Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word"><div>------------------------------<wbr>------------------------------<wbr>--</div><div>Charles Bardeen</div><div>National Center for Atmospheric Research</div><div>P.O. Box 3000, Boulder, CO 80307-3000</div><div>Phone: <a href="tel:(303)%20497-1752" value="+13034971752" target="_blank">(303) 497-1752</a>,  Fax: <a href="tel:(303)%20497-1400" value="+13034971400" target="_blank">(303) 497-1400</a></div><div><a href="mailto:bardeenc@ucar.edu" target="_blank">bardeenc@ucar.edu</a></div><div><br></div></div></span></div></span></div></span></span></div></div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> Copyright (C) 1995-2015 - All Rights Reserved</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> University Corporation for Atmospheric Research</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> NCAR Command Language Version 6.3.0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> The use of this software is governed by a License Agreement.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">ncl 0&gt; x = addfile(&quot;gps031001g.002.hdf5&quot;, &quot;r&quot;)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">ncl 1&gt; print(x)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">Variable: x</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">Type: file</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">filename:       gps031001g.002</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">path:   gps031001g.002.hdf5</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   file global attributes:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   dimensions:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_000 = 10</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_001 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_002 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_003 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   variables:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      group &lt;/Data&gt;</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      compound &lt;Table_Layout&gt;   (year, month, day, hour, min, sec, ut1_unix, ut2_unix, recno, gdlat, glon, tec, dtec) (DIM_000)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      group &lt;/Metadata&gt;</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      compound &lt;Data_Parameters&gt;        (mnemonic, description, isError, units, category) (DIM_000)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      compound &lt;Experiment_Notes&gt;       (File Notes) (DIM_000)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      compound &lt;Experiment_Parameters&gt;  (name, value) (DIM_000)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)">ncl 5&gt; g = x=&gt;Data</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">ncl 6&gt; print(g)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">Variable: g</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">Type: file</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">filename:       gps031001g.002</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">path:   gps031001g.002.hdf5</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   file global attributes:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   dimensions:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_000 = 10</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_001 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_002 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      DIM_003 = 0</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">   variables:</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">      compound &lt;Table_Layout&gt;   (year, month, day, hour, min, sec, ut1_unix, ut2_unix, recno, gdlat, glon, tec, dtec) (DIM_000)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">ncl 7&gt; tec = g-&gt;/Table_Layout.tec</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">fatal:[&quot;Execute.c&quot;:6332]:<wbr>variable (/Table_Layout.tec) is not in file (g)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">fatal:[&quot;Execute.c&quot;:8573]:<wbr>Execute: Error occurred at or near line 7</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,156);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><div style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">ncl 9&gt; tec = x-&gt;/Data/Table_Layout.tec</span></div><div style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">fatal:[&quot;Execute.c&quot;:6332]:<wbr>variable (/Data/Table_Layout.tec) is not in file (x)</span></div><div style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">fatal:[&quot;Execute.c&quot;:8573]:<wbr>Execute: Error occurred at or near line 9</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></div></div><div><br><div>
<span class="m_-5522978123297025145Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><span class="m_-5522978123297025145Apple-style-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 class="m_-5522978123297025145Apple-style-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 class="m_-5522978123297025145Apple-style-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"><div><br></div></div></span></div></span></div></span></span></div></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>