<div dir="ltr">Jennifer,<div><br></div><div>Thank you. I will play around with this. However, it seems I would have to know the xdef, ydef, and zdef to take advantage of this. Any hints on how I could find out what these would be? What I have in my control file isn't correct; I just placed it there with the intention of fixing it later after the variables worked. </div><div><br></div><div>-Justin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 10:42 AM, Jennifer M Adams <span dir="ltr"><<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi, Justin —
<div>That message looks like your delcaration of the coordinates (“x,y”) is wrong. Look at the DATASPACE SIMPLE attribute in the h5dump output, that should give you a clue as to how many and what size the dimensions are. It looks like ‘hist’ has one more dimension
than ‘mean’ and these variables have 6 or 7 dimensions. Have a look at item #4 in the Usage Notes of <a href="http://cola.gmu.edu/grads/gadoc/SDFdescriptorfile.html" target="_blank">http://cola.gmu.edu/grads/gadoc/SDFdescriptorfile.html</a> for how to handle this situation. </div><span class="HOEnZb"><font color="#888888">
<div>—Jennifer</div></font></span><div><div class="h5">
<div><br>
<div>
<div>On Jan 14, 2016, at 10:04 AM, Justin Hicks <<a href="mailto:jhicks2014@gmail.com" target="_blank">jhicks2014@gmail.com</a>> wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">Jennifer,
<div><br>
</div>
<div>I put in the dataset names, like you said, but I still get a different error. The error says:</div>
<div><br>
</div>
<div>
<div>ga-> d plrcnt</div>
<div>HDF5-DIAG: Error detected in HDF5 (1.8.7) thread 0:</div>
<div> #000: H5Dio.c line 153 in H5Dread(): selection+offset not within extent</div>
<div> major: Dataspace</div>
<div> minor: Out of range</div>
<div>H5Dread failed for int data </div>
<div>Data Request Error: Error for variable 'plrcnt'</div>
<div> Error ocurred at column 1</div>
<div>DISPLAY error: Invalid expression </div>
<div> Expression = plrcnt</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-Justin</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 13, 2016 at 8:07 AM, Jennifer M Adams <span dir="ltr">
<<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word">Justin,
<div>It looks like the variables in your descriptor files are group names not dataset names. Try this instead:</div>
<div>
<div dir="ltr">
<div><font face="Courier"><span style="font-size:14px">/Grids/G1/precipLiqRate/count=>plrcnt 0 x,y liquid precipitation rate count</span></font></div>
<div><font face="Courier"><span style="font-size:14px">/Grids/G1/precipLiqRate/hist=>plrhist 0 x,y liquid precipitation rate hist</span></font></div>
<div><font face="Courier"><span style="font-size:14px">/Grids/G1/precipLiqRate/mean=>plrmean 0 x,y liquid precipitation rate mean</span></font></div>
<div><font face="Courier"><span style="font-size:14px">/Grids/G1/precipLiqRate/stdev=>plrcstd 0 x,y liquid precipitation rate stdev</span></font></div>
</div>
<div>
<div dir="ltr">
<div>—Jennifer</div>
<div><br>
</div>
</div>
</div>
<div>
<div>
<div>
<div>On Jan 11, 2016, at 2:42 PM, Justin Hicks <<a href="mailto:jhicks2014@gmail.com" target="_blank">jhicks2014@gmail.com</a>> wrote:</div>
<br>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Grads Users,
<div><br>
</div>
<div>I was able to open the control file in grads, but i get an error when I try to display a variable: </div>
<div><br>
</div>
<div>
<div>ga-> d plrate</div>
<div>HDF5-DIAG: Error detected in HDF5 (1.8.7) thread 0:</div>
<div> #000: H5D.c line 341 in H5Dopen2(): not a dataset</div>
<div> major: Dataset</div>
<div> minor: Inappropriate type</div>
<div>Error: H5Dopen2 failed for variable /Grids/G1/precipLiqRate </div>
<div>Error: Variable /Grids/G1/precipLiqRate not in HDF5 file</div>
<div>Data Request Error: Error for variable 'plrate'</div>
<div> Error ocurred at column 1</div>
<div>DISPLAY error: Invalid expression </div>
<div> Expression = plrate</div>
</div>
<div><br>
</div>
<div>The control file is below:</div>
<div><br>
</div>
<div>
<div>DSET /data2/GPM/GPM_3CMB.03/2015/3B-MO.GPM.DPRGMI.CORRAGM.20150301-S000000-E235959.03.V03D.HDF5</div>
<div>OPTIONS template</div>
<div>DTYPE hdf5_grid</div>
<div>TITLE GPM precip</div>
<div>UNDEF -999.0</div>
<div>XDEF 3600 linear -180 0.1</div>
<div>YDEF 300 linear -20 0.1</div>
<div>ZDEF 1 levels 1000</div>
<div>TDEF 1 linear 01mar2015 1dy</div>
<div>VARS 4</div>
<div>/Grids/G1/precipLiqRate=>plrate 0 x,y liquid precipitation rate</div>
<div>/Grids/G1/precipLiqWaterContent=>plcon 0 x,y liquid precipitation content</div>
<div>/Grids/G1/precipTotDm=>ptot 0 x,y precipitation total</div>
<div>/Grids/G1/precipTotRate=>ptotr 0 x,y precipitation total rate</div>
<div>ENDVARS</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I don't think the xdef and ydef are completely accurate, but I shouldn't get that error message even if the edef and ydef are wrong. The file contents of h5dump are below: </div>
<div><br>
</div>
<div>
<div>/home/jhicks/h5dump -n 3B-MO.GPM.DPRGMI.CORRAGM.20150301-S000000-E235959.03.V03D.HDF5</div>
<div>HDF5 "3B-MO.GPM.DPRGMI.CORRAGM.20150301-S000000-E235959.03.V03D.HDF5" {</div>
<div>FILE_CONTENTS {</div>
<div> group /</div>
<div> group /Grids</div>
<div> group /Grids/G1</div>
<div> dataset /Grids/G1/precipAllObs</div>
<div> group /Grids/G1/precipLiqRate</div>
<div> dataset /Grids/G1/precipLiqRate/count</div>
<div> dataset /Grids/G1/precipLiqRate/hist</div>
<div> dataset /Grids/G1/precipLiqRate/mean</div>
<div> dataset /Grids/G1/precipLiqRate/stdev</div>
<div> group /Grids/G1/precipLiqWaterContent</div>
<div> dataset /Grids/G1/precipLiqWaterContent/count</div>
<div> dataset /Grids/G1/precipLiqWaterContent/hist</div>
<div> dataset /Grids/G1/precipLiqWaterContent/mean</div>
<div> dataset /Grids/G1/precipLiqWaterContent/stdev</div>
<div> group /Grids/G1/precipTotDm</div>
<div> dataset /Grids/G1/precipTotDm/count</div>
<div> dataset /Grids/G1/precipTotDm/hist</div>
<div> dataset /Grids/G1/precipTotDm/mean</div>
<div> dataset /Grids/G1/precipTotDm/stdev</div>
<div> group /Grids/G1/precipTotLogNw</div>
<div> dataset /Grids/G1/precipTotLogNw/count</div>
<div> dataset /Grids/G1/precipTotLogNw/hist</div>
<div> dataset /Grids/G1/precipTotLogNw/mean</div>
<div> dataset /Grids/G1/precipTotLogNw/stdev</div>
<div> group /Grids/G1/precipTotRate</div>
<div> dataset /Grids/G1/precipTotRate/count</div>
<div> dataset /Grids/G1/precipTotRate/hist</div>
<div> dataset /Grids/G1/precipTotRate/mean</div>
<div> dataset /Grids/G1/precipTotRate/stdev</div>
<div> group /Grids/G1/precipTotWaterContent</div>
<div> dataset /Grids/G1/precipTotWaterContent/count</div>
<div> dataset /Grids/G1/precipTotWaterContent/hist</div>
<div> dataset /Grids/G1/precipTotWaterContent/mean</div>
<div> dataset /Grids/G1/precipTotWaterContent/stdev</div>
<div> dataset /Grids/G1/surfPrecipLiqRateProb</div>
<div> dataset /Grids/G1/surfPrecipLiqRateUn</div>
<div> group /Grids/G1/surfPrecipTotRateDiurnal</div>
<div> dataset /Grids/G1/surfPrecipTotRateDiurnal/count</div>
<div> dataset /Grids/G1/surfPrecipTotRateDiurnal/mean</div>
<div> dataset /Grids/G1/surfPrecipTotRateDiurnal/stdev</div>
<div> dataset /Grids/G1/surfPrecipTotRateDiurnalAllObs</div>
<div> dataset /Grids/G1/surfPrecipTotRateProb</div>
<div> dataset /Grids/G1/surfPrecipTotRateUn</div>
<div> group /Grids/G2</div>
<div> dataset /Grids/G2/precipAllObs</div>
<div> group /Grids/G2/precipLiqRate</div>
<div> dataset /Grids/G2/precipLiqRate/count</div>
<div> dataset /Grids/G2/precipLiqRate/mean</div>
<div> dataset /Grids/G2/precipLiqRate/stdev</div>
<div> group /Grids/G2/precipLiqWaterContent</div>
<div> dataset /Grids/G2/precipLiqWaterContent/count</div>
<div> dataset /Grids/G2/precipLiqWaterContent/mean</div>
<div> dataset /Grids/G2/precipLiqWaterContent/stdev</div>
<div> group /Grids/G2/precipTotDm</div>
<div> dataset /Grids/G2/precipTotDm/count</div>
<div> dataset /Grids/G2/precipTotDm/mean</div>
<div> dataset /Grids/G2/precipTotDm/stdev</div>
<div> group /Grids/G2/precipTotLogNw</div>
<div> dataset /Grids/G2/precipTotLogNw/count</div>
<div> dataset /Grids/G2/precipTotLogNw/mean</div>
<div> dataset /Grids/G2/precipTotLogNw/stdev</div>
<div> group /Grids/G2/precipTotRate</div>
<div> dataset /Grids/G2/precipTotRate/count</div>
<div> dataset /Grids/G2/precipTotRate/mean</div>
<div> dataset /Grids/G2/precipTotRate/stdev</div>
<div> group /Grids/G2/precipTotWaterContent</div>
<div> dataset /Grids/G2/precipTotWaterContent/count</div>
<div> dataset /Grids/G2/precipTotWaterContent/mean</div>
<div> dataset /Grids/G2/precipTotWaterContent/stdev</div>
<div> dataset /Grids/G2/surfPrecipLiqRateProb</div>
<div> dataset /Grids/G2/surfPrecipLiqRateUn</div>
<div> group /Grids/G2/surfPrecipTotRateDiurnal</div>
<div> dataset /Grids/G2/surfPrecipTotRateDiurnal/count</div>
<div> dataset /Grids/G2/surfPrecipTotRateDiurnal/mean</div>
<div> dataset /Grids/G2/surfPrecipTotRateDiurnal/stdev</div>
<div> dataset /Grids/G2/surfPrecipTotRateDiurnalAllObs</div>
<div> dataset /Grids/G2/surfPrecipTotRateProb</div>
<div> dataset /Grids/G2/surfPrecipTotRateUn</div>
<div> dataset /InputAlgorithmVersions</div>
<div> dataset /InputFileNames</div>
<div> dataset /InputGenerationDateTimes</div>
<div> }</div>
<div>}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>The group contents of /Grids/G1/precipLiqRate are below:</div>
<div><br>
</div>
<div>
<div>h5dump -H -g/Grids/G1/precipLiqRate 3B-MO.GPM.DPRGMI.CORRAGM.20150301-S000000-E235959.03.V03D.HDF5</div>
<div>HDF5 "3B-MO.GPM.DPRGMI.CORRAGM.20150301-S000000-E235959.03.V03D.HDF5" {</div>
<div>GROUP "/Grids/G1/precipLiqRate" {</div>
<div> DATASET "count" {</div>
<div> DATATYPE H5T_STD_I32LE</div>
<div> DATASPACE SIMPLE { ( 3, 3, 16, 2, 72, 28 ) / ( 3, 3, 16, 2, 72, 28 ) }</div>
<div> ATTRIBUTE "CodeMissingValue" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 101;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> ATTRIBUTE "DimensionNames" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 21;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> }</div>
<div> DATASET "hist" {</div>
<div> DATATYPE H5T_STD_I32LE</div>
<div> DATASPACE SIMPLE { ( 30, 3, 3, 16, 2, 72, 28 ) / ( 30, 3, 3, 16, 2, 72, 28 ) }</div>
<div> ATTRIBUTE "CodeMissingValue" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 101;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> ATTRIBUTE "DimensionNames" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 25;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> }</div>
<div> DATASET "mean" {</div>
<div> DATATYPE H5T_IEEE_F32LE</div>
<div> DATASPACE SIMPLE { ( 3, 3, 16, 2, 72, 28 ) / ( 3, 3, 16, 2, 72, 28 ) }</div>
<div> ATTRIBUTE "CodeMissingValue" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 101;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> ATTRIBUTE "DimensionNames" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 21;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> }</div>
<div> DATASET "stdev" {</div>
<div> DATATYPE H5T_IEEE_F32LE</div>
<div> DATASPACE SIMPLE { ( 3, 3, 16, 2, 72, 28 ) / ( 3, 3, 16, 2, 72, 28 ) }</div>
<div> ATTRIBUTE "CodeMissingValue" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 101;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> ATTRIBUTE "DimensionNames" {</div>
<div> DATATYPE H5T_STRING {</div>
<div> STRSIZE 21;</div>
<div> STRPAD H5T_STR_NULLTERM;</div>
<div> CSET H5T_CSET_ASCII;</div>
<div> CTYPE H5T_C_S1;</div>
<div> }</div>
<div> DATASPACE SCALAR</div>
<div> }</div>
<div> }</div>
<div>}</div>
<div>}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Any help would be appreciated.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>-Justin</div>
</div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
</div>
</div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>