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
Attachment:
test.h5
Description: Binary data
Attachment:
h5ex_d_compact.h5
Description: Binary data