[gradsusr] HDF5 control file help for long variable

Matt Bunkers - WFO UNR matthew.bunkers at noaa.gov
Tue Dec 15 17:32:25 EST 2015


Nevermind.  I just found my error.  There shouldn't be a space between the
levs and coords (i.e., cape *0* y,x)

-- Matt


On Sat, Dec 12, 2015 at 12:13 PM, Matt Bunkers - WFO UNR <
matthew.bunkers at noaa.gov> wrote:

> Hi,
>
> I have an hdf5 file for the GFS212 grid and am having trouble with the
> control file.  The variable seems inordinately long, so I'm guessing that
> is my problem, but I'm not sure what to put.  Thanks for any help you can
> provide.
>
> -- Matt
>
> *Here is my error*:
>
> ga-> open gfs212.ctl
> Scanning description file:  gfs212.ctl
> Open Error:  Invalid variable record
>   --> The invalid description file record is:
>   -->
> /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0/Data=>cape
> 0,y,x CAPE [J/kg]
>   The data file was not opened.
> ga->
>
>
>
> *Here is my control file*:
>
> dset ^GFS212-2015-12-07-18-FH-240.h5
> dtype hdf5_grid
> title GFS212 Grid
> undef -999999.0 _FillValue
> unpack ScaleFactor Offset
> xdef 129 linear -133.459 0.44
> ydef 185 linear 12.190 0.44
> zdef 1 linear 1 1
> tdef 1 linear 18z17dec2015 6hr
> vars 1
> /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0/Data=>cape
> 0,y,x CAPE [J/kg]
> endvars
>
>
>
> *Here is the output of the h5dump commands*:
>
> matthew.bunkers at sac2-> h5dump -n GFS212-2015-12-07-18-FH-240.h5
> HDF5 "GFS212-2015-12-07-18-FH-240.h5" {
> FILE_CONTENTS {
>  group      /
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::BLI::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::BLI::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CIn::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CIn::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::P::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::P::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::SLI::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::SLI::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::WEASD::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::WEASD::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CFRZR6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CFRZR6hr::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CICEP6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CICEP6hr::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CP6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CP6hr::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CRAIN6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CRAIN6hr::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CSNOW6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::CSNOW6hr::SFC::0.0::-999999.0/Data
>  group
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::TP6hr::SFC::0.0::-999999.0
>  dataset
>  /grid::2015-12-07_18:00:00.0_(240)[2015-12-17_12:00:00.0--2015-12-17_18:00:00.0]::GFS212::null::null::206::TP6hr::SFC::0.0::-999999.0/Data
>  }
> }
> matthew.bunkers at sac2-> h5dump -H
> -d/"grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0/Data"
> GFS212-2015-12-07-18-FH-240.h5
> HDF5 "GFS212-2015-12-07-18-FH-240.h5" {
> DATASET
> "/grid::2015-12-07_18:00:00.0_(240)::GFS212::null::null::206::CAPE::SFC::0.0::-999999.0/Data"
> {
>    DATATYPE  H5T_IEEE_F32LE
>    DATASPACE  SIMPLE { ( 129, 185 ) / ( H5S_UNLIMITED, H5S_UNLIMITED ) }
> }
> }
> matthew.bunkers at sac2->
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151215/afe101ae/attachment.html 


More information about the gradsusr mailing list