[ncl-talk] problem with HDF file message contd

David Brown dbrown at ucar.edu
Fri May 5 11:42:59 MDT 2017


Hi Geeta,
I think I mentioned to you that you would need to download the latest
version of NCL (6.4.0) to be able to work with HDF5 files properly --
particularly files that have compound data types like this one does.
This file was indeed converted to HDF5 using the h4toh5 utility from
the HDF Group.
 -dave


On Fri, May 5, 2017 at 8:40 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:
> Hi Dave.
> I have downloaded the h5 file sent by you.
>
> aditya at agniilap:~/geeta/ncl/MYLIS$ ../bin/ncl trmm.lis.ncl
>  Copyright (C) 1995-2014 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.2.1
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
>
> Variable: hdf4_file
> Type: file
> File path: ./test.h5
> Number of global attributes: 0
> Number of dimensions: 12
> Number of groups: 4
> Number of variables: 15
> (0) /Raster Image #0
> (1) /HDF4_PALGROUP
> (2) /HDF4_PALGROUP/HDF4_PALETTE_540
> (3) /orbit
> (4) /orbit/one_second
> (5) /orbit/orbit_summary
> (6) /orbit/point
> (7) /orbit/point/bg_summary
> (8) /orbit/point/point_summary
> (9) /orbit/point/viewtime
> (10) /orbit/point/lightning
> (11) /orbit/point/lightning/area
> (12) /orbit/point/lightning/event
> (13) /orbit/point/lightning/flash
> (14) /orbit/point/lightning/group
> Variable: var1
> Type: none
> Total Size: 0 bytes
>             1 values
> Number of Dimensions: 0
> Dimensions and sizes:
> Coordinates:
> Number Of Attributes: 3
>   HDF4_OBJECT_NAME : lightningy08�'e@�
>
>
> ,
>   HDF4_OBJECT_TYPE : Vgroupingy08�'e@�
>
>
> ,
>   HDF4_REF_NUM : 4
>
> aditya at agniilap:~/geeta/ncl/MYLIS$
>
>
> Have you converted the HDF4 to HDF5 by the HDF utility link that is sent to
> me??
> It says, lightning is 0 Bytes??
>
> thank you.
> Geeta.


More information about the ncl-talk mailing list