[ncl-talk] HDF5 Dataset

Dennis Shea shea at ucar.edu
Tue May 22 18:37:09 MDT 2018


I could not read the file using  NCL 6.3.0 which was released about 3+
years ago.

NCL 6.4.0 [ released 2/1017 ] can read the file.

*S**oon [June 2018],  NCL 6.5.0 will be released. *

https://www.ncl.ucar.edu/future_release.shtml

---

%> ncl GPMCOR_KUR.ncl

 NCAR Command Language Version* 6.5.0 -29Mar2018_0148*
.
Variable: x
Type: float
Total Size: 273725760 bytes
            68431440 values
Number of Dimensions: 3
Dimensions and sizes:    [nscan | 7935] x [nray | 49] x [nbin | 176]
Coordinates:
Number Of Attributes: 5
  CodeMissingValue :    -9999.9
  DimensionNames :    nscan,nray,nbin
  Units :    dBZ
  _FillValue :    -9999.9
  units :    dBZ
*(0)    min=13.43   max=59.57*


Where the script is:

  diri = "./"
  fili = "GPMCOR_KUR_1711170417_0549_021135_L2S_DU2_05A.h5"
  pthi = diri + fili

  f    = addfile( pthi, "r")




*  var  = "/NS/SLV/zFactorCorrected"   ; follow the path  x     = f->$var$*
printVarSummary(x)
  printMinMax(x, 0)

=====================

Possibly: A pre-release of NCL 6.5.0 could likely be obtained by sending a
request to ncl-talk at ucar.edu

If you do request a pre-release version, please include the output from the
following:

%> uname -a

%> gcc --version

======================
Cheers


On Tue, May 22, 2018 at 12:57 AM, <monte at isac.cnr.it> wrote:

> >> Could you please make the file available?
> >>
> >> WGET ???
> >>
> >> Dropbox ???
> >>
> >> FTP ???
> >>
> >> ftp ftp.cgd.ucar.edu
> >> anonymous
> >> your_email
> >>
> >> cd incoming
> >> put ...hdf5 file ...
> >> quit
> >>
> >> ---
> >> Reply to your ncl-talk email after successful cration/completion.
> >>
> >> Include the name of the file.
> >>
> >> On Fri, May 18, 2018 at 7:20 AM, <monte at isac.cnr.it> wrote:
> >>
> >>> Dear Support Team,
> >>>
> >>> I would like to know how can I read a dataset embedded into two groups
> >>> of
> >>> an HDF5 (.h5) file using NCL 6.3V. I tried to use the "=>" symbol to
> >>> open
> >>> each group, then the "->" symbol to read the chosen dataset, but it did
> >>> not work.
> >>>
> >>> Thank you in advance.
> >>>
> >>> Best regards,
> >>> Giulio Monte
> >>>
> >>> _______________________________________________
> >>> ncl-talk mailing list
> >>> ncl-talk at ucar.edu
> >>> List instructions, subscriber options, unsubscribe:
> >>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >>>
> >> I loaded the file named GPMCOR_KUR_1711170417_0549_
> 021135_L2S_DU2_05A.h5
> > via ftp. I will be waiting for any suggestion.
> >
> > Giulio Monte
> >
> > The group is: group </NS/SLV>; the first variable is: float
> zFactorCorrected, and then the following.
> Once opened, they all are read as a sequence of 0.
>
> Thank you again,
> Giulio Monte
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180522/b2b2426b/attachment.html>


More information about the ncl-talk mailing list