[Thread Prev][Thread Next][Index]

Re: [ferret_users] Reading NPP h5 files



Hi Ansley,

Thanks for your reply. I have sent a message to unidata support.

Best,

--- Peng

----- Original Message -----
From: Ansley Manke <Ansley.B.Manke@xxxxxxxx>
Date: Tuesday, January 18, 2011 7:05 pm
Subject: Re: [ferret_users] Reading NPP h5 files

> Hi Peng,
> This is really a question for the NetCDF developers at Unidata. We 
> are currently testing with the latest NetCDF beta release and the 
> ncdump program from that release returns the same error message 
> that you see, trying to look at test.h5.  Searching at the Unidata 
> pages, http://www.unidata.ucar.edu/software/netcdf/, it seems that 
> there is work going on to handle NPP satellite files in NetCDF.
> 
> If and when NetCDF can access these files, then Ferret will be able 
> to do something with them. (How well Ferret handles these files of 
> course will also depend on what the grids in these datasets are like.)
> 
> Ansley
> 
> On 1/18/2011 7:57 AM, Ge.Peng@xxxxxxxx wrote:
> > Hi,
> >
> > I got an error message (see below) when trying to load NPP h5 
> files (see
> > attached test.h5) in ferret while it works fine reading the h5 
> file as
> > shown in Ansley's e-mail sometime ago.
> >
> > Using hdfview, one can see that the NPP h5 file has more than one 
> layer:>
> > test.h5:
> >   |-All_Data
> >     |- CrIMSS-CRIS-AVMP-IP_ALL
> >          |-MoistProfile  (-->  data)
> >
> >   |-Data_Products
> >     |- CrIMSS-CRIS-AVMP-IP
> >        |- CrIMSS-CRIS-AVMP-IP_Aggr
> >        |- CrIMSS-CRIS-AVMP-IP_Gran_0
> >
> > (Data_Products portion contains object reference to the data in the
> > ALL_Data portion)
> >
> > while there is no layer in the h5 file for the Ansley's example:
> > h5ex_d_compact.h5:
> >   |-DS1 (-->  data)
> >
> >
> > Is there anyway that the current ferret could load NPP h5 files?
> >
> > Thanks,
> >
> > --- Peng
> >
> >
> > ----------------------------
> > $ ferret
> >          NOAA/PMEL TMAP
> >          FERRET v6.65
> >          Linux(gfortran) 2.6.9-89.0.20.ELsmp - 11/30/10
> >          18-Jan-11 08:57
> >
> > yes? use test.h5
> >   **netCDF error
> >               Bad type ID (OPeNDAP/netCDF Error code -117)
> >               Data set: ./test.h5
> >
> > -----
> > The netCDF version:
> > NETCDF_VERSION = "4.1.1 of Sep 16 2010 09:59:23 $"
> >
> > and no errors in reading h5 shown in Ansley's example:
> >
> > yes? use h5ex_d_compact.h5
> > yes? sho data
> >       currently SET data sets:
> >      1>  ./h5ex_d_compact.h5  (default)
> >   name     title                             I         J         
> K         L
> >   DS1                                       1:7       1:4       
> ...       ...
> >
> > yes? list ds1
> >               VARIABLE : DS1
> >               FILENAME : h5ex_d_compact.h5
> >               SUBSET   : 7 by 4 points (X-Y)
> >               1      2      3      4      5      6      7
> >               1      2      3      4      5      6      7
> >   1   / 1:   0.00  -1.00  -2.00  -3.00  -4.00  -5.00  -6.00
> >   2   / 2:   0.00   0.00   0.00   0.00   0.00   0.00   0.00
> >   3   / 3:   0.00   1.00   2.00   3.00   4.00   5.00   6.00
> >   4   / 4:   0.00   2.00   4.00   6.00   8.00  10.00  12.00
> >
> 


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement