Re: reading filename.h5 in NCL

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Dec 06 2013 - 12:34:47 MST

Hi Paul,

Some email was sent to you offline to ask for the file, but we haven't heard back from you yet, so I thought I'd respond back to ncl-talk.

You need to verify that "OLR" is indeed a variable on dyour file before you can do a "-v" to convert it.

What happens if you just type:

ncl_filedump K1VHR_15NOV2013_1200_L02_OLR.h5 | grep -v olr

This will search for any variable name with any combination of "OLR" or "olr" in the name (or any upper/lowercase combination of that).


On Dec 4, 2013, at 9:51 PM, Steeven Paul Yerraguntla <> wrote:

> Hi everybody,
> I have to deal with hdf5 files (.h5 extension files), i am familiar with using netcdf files and i tried to convert .h5 file using function NCL_CONVERT2NC and it showing the error as shown in the following lines. Somewhere i read hdf5 are not supported by NCL and my NCL version is 6.1.0. Kindly let me know whether it possible to convert hdf5 files to netcdf files.
> ;-----------------------------------------------------------------------------------------------------------------------------
> steeven@steevenpaul:~/Desktop$ ncl_convert2nc K1VHR_15NOV2013_1200_L02_OLR.h5 -e h5 -v OLR
> Processing file: K1VHR_15NOV2013_1200_L02_OLR.h5.h5...
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0
> The use of this software is governed by a License Agreement.
> See for more details.
> warning:getfilevartypes: variable (OLR) does not exist in file (K1VHR_15NOV2013_1200_L02_OLR.h5)
> fatal:["Execute.c":7743]:Execute: Error occurred at or near line 531 in file /tmp/tmp2937-52a003fa.ncl
> ;-------------------------------------------------------------------------------------------------------------------------------
> Thanks in advance
> Paul.
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Dec 6 12:34:57 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:39:30 MST