[ncl-talk] h5 file

Wei Huang huangwei at ucar.edu
Thu Apr 2 13:17:01 MDT 2015


Ashehad,

It looks there is a bug to dump this file.

Try write a NCL script, such as:

 f = addfile("ml_short-Q-1994-06-00-000000-g01.h5", "r")
 print(f)

Then run it with NCL as:

ncl -f script

I am working on a fix on this.

Sorry for the inconvenience,

Wei

================================================
1850 Table Mesa Dr.
Boulder, CO 80307
Phone: 303-497-8924

On Thu, Apr 2, 2015 at 12:45 PM, Ashehad Ali <ashehad at gmail.com> wrote:

> Thanks, Wei. I did try ncl_filedump before and used to get an error. I
> tried it as follows: ncl_filedump ml_short-Q-1994-06-00-000000-g01.h5
>
> I'm getting the following error "line 13 before or near ml_short
> ncl_filedump ml_short"
>
> Thanks,
> Ashehad
>
>
>
> On Thu, Apr 2, 2015 at 2:32 PM, Wei Huang <huangwei at ucar.edu> wrote:
>
>> You may try: h5dump, which is like ncdump, but for h5 files.
>> Use NCL, you can always try: ncl_filedump.
>>
>> Regards,
>>
>> Wei
>>
>> ================================================
>> 1850 Table Mesa Dr.
>> Boulder, CO 80307
>> Phone: 303-497-8924
>>
>> On Thu, Apr 2, 2015 at 11:35 AM, Ashehad Ali <ashehad at gmail.com> wrote:
>>
>>> Dear ncl users,
>>>
>>> I am new to ncl and am familiar with working with .nc files;however,
>>> just recently I've started working with h5 files.
>>>
>>> I'm attaching an example of a h5 file and would be interested in viewing
>>> all of the variables but dumping any one of the variables e.g. GPP.
>>>
>>> I have experience with the following commands for .nc e.g. ncview,
>>> ncrcat and ncdump.
>>>
>>> I'm wondering if there's analogous commands for this particular file.
>>>
>>> Thanks,
>>> Ashehad
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150402/7b24bf6a/attachment.html 


More information about the ncl-talk mailing list