We have been given some hdf5 files (see header dump at the end). They read
into thredds okay, in the sense that they show up and can be accessed, but a
problem is that all of the dimensions are shown with the name "null" We would
like to use NcML to name the dimensions (in particular to then aggregate over
a dimension), but we are not certain how to refer to the correct dimension to
name it.
Any help appreciated.
-Roy M.
Complete dump of header:
./h5dump -H wrf_20090601.h5
HDF5 "wrf_20090601.h5" {
GROUP "/" {
DATASET "AirTemperature" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "LatentHeatFlux" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "Latitude" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 99, 99 ) / ( 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "Longitude" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 99, 99 ) / ( 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "LongwaveRadiation" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "Precipitation" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "RelativeHumidity" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "SensibleHeatFlux" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "ShortwaveRadiation" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "UWIndSpeed" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
DATASET "VWIndSpeed" {
DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 96, 99, 99 ) / ( 96, 99, 99 ) }
ATTRIBUTE "unit" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
}
}
}
}
**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097
e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.