NPOESS NPP HDF5 file reading

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

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, ichikawa.doruju@jamss.co.jp 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.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Helo Elena Pourmal

Thank you very much.
I found out that my h5dump was old versia.

I have update to HDF5 1.8.9 and it works.

Best regards,
Dorj Ichikawa

···

-----Original Message-----
From: Elena Pourmal <epourmal@hdfgroup.org>
To: HDF Users Discussion List <hdf-forum@hdfgroup.org>
Cc: help@hdfgroup.org
Subject: Re: [Hdf-forum] NPOESS NPP HDF5 file reading
Date: Mon, 24 Sep 2012 19:55:01 -0500

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, ichikawa.doruju@jamss.co.jp 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.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org

http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

&#x5e02;&#x5ddd;&#x3000;&#x30c9;&#x30eb;&#x30b8;&#x30e5;

&#x6709;&#x4eba;&#x5b87;&#x5b99;&#x30b7;&#x30b9;&#x30c6;&#x30e0;&#x682a;&#x5f0f;&#x4f1a;&#x793e;
&#x5b87;&#x5b99;&#x822a;&#x7a7a;&#x4e8b;&#x696d;&#x958b;&#x767a;&#x30bb;&#x30f3;&#x30bf;&#x30fc;

&#x6709;&#x4eba;&#x5b87;&#x5b99;&#x30b7;&#x30b9;&#x30c6;&#x30e0;&#x682a;&#x5f0f;&#x4f1a;&#x793e;
&#x67cf;&#x5206;&#x5ba4;&#xff0f;&#x3000;&#x5343;&#x8449;&#x770c;&#x67cf;&#x5e02;&#x67cf;&#x306e;&#x8449;5-4-6&#x3000;&#x6771;&#x845b;&#x30c6;&#x30af;&#x30ce;&#x30d7;&#x30e9;&#x30b6;&#x3000;&#xff22;-308&#x53f7;&#x5ba4;
TEL: 04-7196-7151 FAX: 04-7196-7150

&#x672c;&#x793e;&#xff0f;&#x3000;&#x6771;&#x4eac;&#x90fd;&#x5343;&#x4ee3;&#x7530;&#x533a;&#x5927;&#x624b;&#x753a;&#x3000;1-6-1 &#x5927;&#x624b;&#x753a;&#x30d3;&#x30eb;
TEL: 03-3211-2005 FAX: 03-3211-2004
Email: ichikawa.doruju@jamss.co.jp
URL: http://www.jamss.co.jp