Hello Chris,

The 2008 message was regarding an 'RFC' (Request for Comment), and it
appears that the -c
option was not actually implemented in h5dump.

I am able to successfully use h5dump with the -m option to dump data into
the floating point format that I specify, using this format:
  
  h5dump -m "%.Nf" -d 'datasetname' file.h5

For example:
  $ h5dump -m "%.15f" -d "/HDFEOS/GRIDS/HIRDLS/Data Fields/NO2DayColumn"
HIRDLS-Aura_L3SCOL_v06-00-00-c02_2005d022-2008d077.he5 | more
HDF5 "HIRDLS-Aura_L3SCOL_v06-00-00-c02_2005d022-2008d077.he5" {
DATASET "/HDFEOS/GRIDS/HIRDLS/Data Fields/NO2DayColumn" {
   DATATYPE  H5T_IEEE_F32LE
   DATASPACE  SIMPLE { ( 1151, 73, 180 ) / ( 1151, 73, 180 ) }
   DATA {
   (0,0,0): 3219228849078272.000000000000000,
   (0,0,1): 3232982139666432.000000000000000,
   (0,0,2): 3246586985447424.000000000000000,
   (0,0,3): 3259953728978944.000000000000000,
   (0,0,4): 3273001839624192.000000000000000,
   (0,0,5): 3285655618584576.000000000000000

  --- >8 --- cut --- >8 ---

Could you try that?  (It looks like the -m worked with HDF5-1.8.3)

If you would like to join the HDF-Forum mailing list, you can do that from
this page:

  http://www.hdfgroup.org/services/community_support.html

..or go directly here:
  
  http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

-Barbara
[email protected]
      



   

--
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/hdf-forum-RFC-h5dump-specify-precision-of-output-for-floating-point-numbers-tp193113p4024489.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to