Hi,

Are you using -n with h5dump?

Here is an output of h5dump with -n flag for one of the NPP files we work with:

h5dump -n 
SVM16_npp_d20120724_t0927227_e0928468_b03831_c20120730184331707971_XXXX_XXX.h5
HDF5 
"SVM16_npp_d20120724_t0927227_e0928468_b03831_c20120730184331707971_XXXX_XXX.h5"
 {
FILE_CONTENTS {
 group      /
 group      /All_Data
 group      /All_Data/VIIRS-M16-SDR_All
 dataset    /All_Data/VIIRS-M16-SDR_All/BrightnessTemperature
 dataset    /All_Data/VIIRS-M16-SDR_All/BrightnessTemperatureFactors
 dataset    /All_Data/VIIRS-M16-SDR_All/ModeGran
 dataset    /All_Data/VIIRS-M16-SDR_All/ModeScan
 dataset    /All_Data/VIIRS-M16-SDR_All/NumberOfBadChecksums
 dataset    /All_Data/VIIRS-M16-SDR_All/NumberOfDiscardedPkts
 dataset    /All_Data/VIIRS-M16-SDR_All/NumberOfMissingPkts
 dataset    /All_Data/VIIRS-M16-SDR_All/NumberOfScans
 dataset    /All_Data/VIIRS-M16-SDR_All/PadByte1
 dataset    /All_Data/VIIRS-M16-SDR_All/QF1_VIIRSMBANDSDR
 dataset    /All_Data/VIIRS-M16-SDR_All/QF2_SCAN_SDR
 dataset    /All_Data/VIIRS-M16-SDR_All/QF3_SCAN_RDR
 dataset    /All_Data/VIIRS-M16-SDR_All/QF4_SCAN_SDR
 dataset    /All_Data/VIIRS-M16-SDR_All/QF5_GRAN_BADDETECTOR
 dataset    /All_Data/VIIRS-M16-SDR_All/Radiance
 dataset    /All_Data/VIIRS-M16-SDR_All/RadianceFactors
 group      /Data_Products
 group      /Data_Products/VIIRS-M16-SDR
 dataset    /Data_Products/VIIRS-M16-SDR/VIIRS-M16-SDR_Aggr
 dataset    /Data_Products/VIIRS-M16-SDR/VIIRS-M16-SDR_Gran_0
 }
}

Please try

h5dump -H <file_name>.h5

to get the HDF5 objects stored in the file and their attributes 

or just

h5dump <file_name>.h5 

to get all content (be aware this one will print all datasets values!)

Elena

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Sep 24, 2012, at 6:16 PM, [email protected] wrote:

> 
> Dear All
> 
> 
> I have downloaded NPP data from CLASS following granuel:
> GIGTO-VI1BO-VI2BO-VI3BO-VI4BO-VI5BO_npp_d20120922_t0207231_e0213314_b04678_c20120923232339200538_noaa_ops.h5
> 
> I used h5dump.exe and it gives following  content:
> 
> HDF5 
> "GIGTO-VI1BO-VI2BO-VI3BO-VI4BO-VI5BO_npp_d20120922_t0207231_e0213314_b04678_c20120923232339200538_noaa_ops.h5"
>  {
> FILE_CONTENTS {
> group      /All_Data
> group      /Data_Products
> }
> }
> and does not show sub group and datasets of the granuel.
> However, when I use HDF view, it shows as
>  / All_data
>    /VIIRS-l1-IMG-EDR_all
>        ......
>        Reflectance
>        Radiance
>        ......
> 
> 
> So, I could see datasets and can access to these datasets.
> 
> When use HDF5 library in C, I could open /All_Data group, but it does not 
> acees to "/VIIRS-l1-IMG-EDR_all" group member and the datasets under this 
> group member.
> 
> Could you please advice how to open group member and datasets of /All_Data 
> group using HDF5 library in C?
> 
> I want to say that I have tested  NPP sample data from 
> http://jointmission.gsfc.nasa.gov/science/DataProducts and HDF5 library in C 
> works well for this data.
> 
> 
> Thank you in advance.
> 
> Best regards,
> Dorj Ichikawa
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to