[ncl-talk] HDF5 Dataset

Dennis Shea shea at ucar.edu
Mon Jun 18 16:28:04 MDT 2018


Hello,

I used the file you sent on 21 May:

GPMCOR_KUR_1711170417_0549_021135_L2S_DU2_05A.h5

In an email offline from ncl-talk, you said you wanted the curvilinear grid
regridded to a rectilinear grid for analysis.

This file contains a satellite swath. It is not suitable for regridding.
A crude feel for swath width at two arbitrarily chosens scan numbers (2500
& 3500)  yields:

   printMinMax(lat2d(3500,:),0)             ; swath lat span:
min=56.9722   max=58.8101
   printMinMax(lat2d(2500,:),0)             ;
min=20.8134   max=21.8638
   print("---")

   printMinMax(lon2d(3500,:),0)             ; swath lon span:
min=34.8122   max=37.3806
   printMinMax(lon2d(2500,:),0)             ;
min=0.818679   max=2.92879
   print("---")

There are several swath examples at:
   https://www.ncl.ucar.edu/Applications/HDF.shtml

The attached script created 5 figures contained within the attached tar
file.
I am sure the code can be cleaned up but I just don't want to spend the
time.

Good Luck


On Mon, May 21, 2018 at 1:04 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
>
>
> _______________________________________________
> 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/20180618/01f5bda3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GPMCOR_KUR.ncl
Type: application/octet-stream
Size: 14836 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180618/01f5bda3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GPMCOR_KUR.Five_Plots.tar
Type: application/x-tar
Size: 483328 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180618/01f5bda3/attachment-0001.tar>


More information about the ncl-talk mailing list