[gradsusr] Reading Contents of h5dump

Justin Hicks jhicks2014 at gmail.com
Thu Jan 7 11:39:04 EST 2016


GrADS users,

I'm using h5dump to write a control file for an HDF5 GPM file; however, I'm
not sure how to interpret its contents. I used the command 'h5dump -H
3B-DAY.GPM.DPRGMI.CORRAGD.20150315-S000000-E235959.074.V03D.HDF5' and got a
lot of text, only part of which I included below:

 GROUP "precipTotDm" {
            DATASET "count" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 3, 16, 2, 1440, 536 ) / ( 3, 16, 2,
1440, 536 ) }
               ATTRIBUTE "CodeMissingValue" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 101;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
               ATTRIBUTE "DimensionNames" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 18;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
            }
            DATASET "mean" {
               DATATYPE  H5T_IEEE_F32LE
               DATASPACE  SIMPLE { ( 3, 16, 2, 1440, 536 ) / ( 3, 16, 2,
1440, 536 ) }
               ATTRIBUTE "CodeMissingValue" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 101;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
               ATTRIBUTE "DimensionNames" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 18;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
            }
            DATASET "stdev" {
               DATATYPE  H5T_IEEE_F32LE
               DATASPACE  SIMPLE { ( 3, 16, 2, 1440, 536 ) / ( 3, 16, 2,
1440, 536 ) }
               ATTRIBUTE "CodeMissingValue" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 101;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
               ATTRIBUTE "DimensionNames" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 18;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;
                  }
                  DATASPACE  SCALAR
               }
            }
         }
         GROUP "precipTotLogNw" {
            DATASET "count" {
               DATATYPE  H5T_STD_I32LE
               DATASPACE  SIMPLE { ( 3, 16, 2, 1440, 536 ) / ( 3, 16, 2,
1440, 536 ) }
               ATTRIBUTE "CodeMissingValue" {
                  DATATYPE  H5T_STRING {
                     STRSIZE 101;
                     STRPAD H5T_STR_NULLTERM;
                     CSET H5T_CSET_ASCII;
                     CTYPE H5T_C_S1;


I'm not sure how to find the xdef, ydef, zdef, and tdef from this data.
Also, I am unsure of how to find the variables. Would they be what is after
GROUP? If so, how do I figure out the letter/word that allows me to display
the variable on GrADS (ex. precipitation -------> p)? Is it something that
I create myself?

Thanks,

-Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160107/7db89d9a/attachment-0001.html 


More information about the gradsusr mailing list