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
市川 ドルジュ
有人宇宙システム株式会社
宇宙航空事業開発センター
有人宇宙システム株式会社
柏分室/ 千葉県柏市柏の葉5-4-6 東葛テクノプラザ B-308号室
TEL: 04-7196-7151 FAX: 04-7196-7150
本社/ 東京都千代田区大手町 1-6-1 大手町ビル
TEL: 03-3211-2005 FAX: 03-3211-2004
Email: ichikawa.doruju@jamss.co.jp
URL: http://www.jamss.co.jp