[ncl-talk] problem with HDF data.
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Tue Sep 2 00:11:58 MDT 2014
Hi Geeta,
the file 2A12.20100702.71931.*6*.HDF you want to open doesn't exist as
NCL told you.
There are only *.*7*.HDF files.
Bye,
Karin
Am 02.09.14 08:00, schrieb Geeta Geeta:
> Hi .
> I have to plot the data in HDF format using NCL. I started using NCL
> about a week back and I am in learning stage.
>
> I happen to see the ready script available
> https://www.ncl.ucar.edu/Applications/Scripts/hdf4sds_6.ncl which
> reads HDF data.
>
> On my system I downloaded this script and tried to run this but when I
> run this, following message comes.
> bash-3.2$ ncl hdf4sds_6.ncl
> Copyright (C) 1995-2007 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> fatal:_NclCreateFile: Requested file does not exist as
> (./2A12.20100702.71931.6.HDF) or as (./2A12.20100702.71931.6), can't
> add file
> fatal:Either file (f) isn't defined or variable (geolocation) is not a
> variable in the file
> fatal:Execute: Error occurred at or near line 31 in file hdf4sds_6.ncl
>
> bash-3.2$ ls -l *HDF*
> -rw-r--r-- 1 model staff 55092053 Sep 01 15:54
> 2A12.20100702.71931.7.HDF
> -rw-r--r-- 1 model staff 55092079 Aug 12 11:13
> 2A12.20130523.88390.7.HDF
> -rw-r--r-- 1 model staff 55092085 Aug 12 15:27
> 2A12.20140602.94247.7.HDF
> bash-3.2$ ls -l *hdf*ncl*
> -rw-r--r-- 1 model staff 6725 Sep 01 17:01 hdf4sds_6.ncl
> bash-3.2$
>
> The files exist in my directory.
> Can somebody tell me what's mistake???
> Geeta.
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Dipl. Geophys. Karin Meier-Fleischer
Visualization
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: meier-fleischer at dkrz.de
URL: www.dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140902/534881a2/attachment.html
More information about the ncl-talk
mailing list