<div dir="ltr"><div><div><div>NCL 6.3.0 fails<br></div>(beta) NVL 6.4.0 succeeds<br><br>%> ncl_filedump NSS.MHSX.NN.D07001.S2324.E0119.B0834142.WI.h5 >&! out.marston<br><br></div>see attached<br><br></div>I speculate a 6.4.0 version can be made available if you need it.<br><br>===<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 10:54 AM, Marston Johnston <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>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Hi,</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
I have a NOAA18 hdf5 file that NCL reads but does so incorrectly.</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
For example NCL reads the variable:</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
integer btemps ( DIM_001, DIM_000, DIM_000 )</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Description : Brightness temperature</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
FillValue : -999999</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Scale : 0.01</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Units : Krightness temperature</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
but h5dump gives:</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
GROUP "Data" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASET "btemps" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATATYPE H5T_STD_I32LE</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASPACE SIMPLE { ( 2571, 90, 5 ) / ( 2571, 90, 5 ) }</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
ATTRIBUTE "Description" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATATYPE H5T_STRING {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
STRSIZE 22;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
STRPAD H5T_STR_NULLTERM;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
CSET H5T_CSET_ASCII;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
CTYPE H5T_C_S1;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
ATTRIBUTE "FillValue" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATATYPE H5T_STD_I32LE</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
ATTRIBUTE "Scale" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATATYPE H5T_IEEE_F32LE</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
ATTRIBUTE "Units" {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATATYPE H5T_STRING {</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
STRSIZE 1;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
STRPAD H5T_STR_NULLTERM;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
CSET H5T_CSET_ASCII;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
CTYPE H5T_C_S1;</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
}</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
As you can see the values of the dimensions are different and NCL reads them in erroneously.</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Is there a way to read these files correctly?</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Here’s a link to an example of the hdf5 file: </p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
<a href="https://www.dropbox.com/s/nc0whngz7ajmx84/NSS.MHSX.NN.D07001.S2324.E0119.B0834142.WI.h5?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>nc0whngz7ajmx84/NSS.MHSX.NN.<wbr>D07001.S2324.E0119.B0834142.<wbr>WI.h5?dl=0</a></p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Appreciate your help with this matter,</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
/M</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51);min-height:16px">
<br>
</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Marston S. Johnston, PhD</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Department of Earth Sciences</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
University of Gothenburg, Sweden</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(62,129,222)">
<span style="color:#333333">Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style="color:#3e81de">marston.johnston@gu.se</span></a></span></p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
SkypeID: marston.johnston</p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(62,129,222)">
<span style="color:#333333">Phone:</span> <a href="tel:+46%2031%20786%2049%2001" value="+46317864901" target="_blank">+46-31-7864901</a></p>
<p style="margin:0px;line-height:normal;font-family:'Helvetica Neue';color:rgb(51,51,51)">
Only the fruitful thing is true!</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>