[gradsusr] Control File Issues for HDF5 file

Govind Jha govind_jha65 at yahoo.com
Wed Apr 24 06:29:12 EDT 2019


Dear Sir,
Greetings
I am trying to open HDF5 file from GPM IMERG file( 3B-HHR.MS.MRG.3IMERG.20170101.0000.V06A.HDF5) using GraDS version(2.0.2.oga.2). The grads control file is as follow:

DSET ^3B-HHR.MS.MRG.3IMERG.20170101.0000.V06A.HDF5
DTYPE hdf5_grid
TITLE IMERG sample
UNDEF -9999.9
XDEF 3600 linear -179.95 0.1
YDEF 1800 linear -89.95 0.1
ZDEF 1 levels 1 1
TDEF 1 linear 00:00Z01jan2017 30mn
VARS 5
/Grid/HQprecipitation=>HQp 0 x,y HQ precipitation
/Grid/IRprecipitation=>IRp 0 x,y IR precipitation
/Grid/precipitationCal=>Calp 0 x,y cal precipitation
/Grid/precipitationUncal=>Uncalp 0 x,y uncal precipitation
/Grid/randomError=>error 0 x,y random error
ENDVARS
When I open this file in grads. It successfully works. But While trying to display a variable called calp is shows the following error:
open imerg17.ctl
Scanning description file:  imerg17.ctl
Data file 3B-HHR.MS.MRG.3IMERG.20170101.0000.V06A.HDF5 is open as file 1
LON set to 0 360
LAT set to -89.95 89.95
LEV set to 1 1
Time values set: 2017:1:1:0 2017:1:1:0
E set to 1 1
ga-> q file
File 1 : IMERG sample
 Descriptor: imerg17.ctl
 Binary: 3B-HHR.MS.MRG.3IMERG.20170101.0000.V06A.HDF5
 Type = Gridded
 Xsize = 3600  Ysize = 1800  Zsize = 1  Tsize = 1  Esize = 1
 Number of Variables = 5
    hqp  0  x,y  HQ precipitation
    irp  0  x,y  IR precipitation
    calp  0  x,y  cal precipitation
    uncalp  0  x,y  uncal precipitation
    error  0  x,y  random error
ga-> d calp
HDF5-DIAG: Error detected in HDF5 (1.8.12) thread 0:
 #000: H5Dio.c line 158 in H5Dread(): selection+offset not within extent
   major: Dataspace
   minor: Out of range
HDF5 read error for float data
Data Request Error:  Error for variable 'calp'
 Error ocurred at column 1
DISPLAY error:  Invalid expression
 Expression = calp

Any help would be highly appreciated.


With Regards     ..................................................Govind Kumar Jha    
................................................... Assistant Meteorologist 
(Agro-Meteorology Section)
Department of Hydrology and Meteorology (DHM)
P.O. Box 406 Naxal, Nagpokhari, Kathmandu, Nepal
Tel: +977 1 4436272, 4432409
Fax: +977 1 4429919, 4432137
www.dhm.gov.np, www.hydrology.gov.np, www.mfd.gov.np
............................................................................. Mobile Number: 9779846265433 Email Id: govind_jha65 at yahoo.com..........................................................                            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190424/da0b8a71/attachment-0001.html>


More information about the gradsusr mailing list