<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv7369813006"><div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div id="yiv7369813006yui_3_16_0_8_1409633117410_4"><span></span></div><div id="yiv7369813006yui_3_16_0_8_1409633117410_5"></div><div id="yiv7369813006yui_3_16_0_8_1409633117410_6"> </div><div id="yiv7369813006yui_3_16_0_8_1409633117410_7">Geeta. </div> <div class="qtdSeparateBR"><br><br></div><div class="yiv7369813006yqt8489265328" id="yiv7369813006yqt81899"><div class="yiv7369813006yahoo_quoted" id="yiv7369813006yui_3_16_0_8_1409633117410_9" style="display: block;"> <div class="yiv7369813006ms__id9506" style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div class="yiv7369813006ms__id9507" style="font-family: times new roman,
new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, 2 September 2014 11:30 AM, Geeta Geeta <geetag54@yahoo.com> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div class="yiv7369813006y_msg_container"><div id="yiv7369813006"><div><div class="yiv7369813006ms__id9509" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div><span></span></div><div></div><div> Hi . </div><div>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. </div><div><br clear="none"></div><div>I happen to see the ready script available <a href="https://www.ncl.ucar.edu/Applications/Scripts/hdf4sds_6.ncl" target="_blank" rel="nofollow" shape="rect">https://www.ncl.ucar.edu/Applications/Scripts/hdf4sds_6.ncl</a> which reads HDF data.
</div><div><br clear="none"></div><div>On my system I downloaded this script and tried to run this but when I run this, following message comes. </div><div>bash-3.2$ ncl hdf4sds_6.ncl<br clear="none"> Copyright (C) 1995-2007 - All Rights Reserved<br clear="none"> University Corporation for Atmospheric Research<br clear="none"> NCAR Command Language Version 5.0.0<br clear="none"> The use of this software is governed by a License Agreement.<br clear="none"> See <a href="http://www.ncl.ucar.edu/" target="_blank" rel="nofollow" shape="rect">http://www.ncl.ucar.edu/</a> for more details.<br clear="none">fatal:_NclCreateFile: Requested file does not exist as (./2A12.20100702.71931.6.HDF) or as (./2A12.20100702.71931.6), can't add file<br clear="none">fatal:Either file (f) isn't defined or variable (geolocation) is not a variable in the file<br clear="none">fatal:Execute: Error occurred at or near line 31 in file hdf4sds_6.ncl<br
clear="none"> <br clear="none">bash-3.2$ ls -l *HDF*<br clear="none">-rw-r--r-- 1 model staff 55092053 Sep 01 15:54 2A12.20100702.71931.7.HDF<br clear="none">-rw-r--r-- 1 model staff 55092079 Aug 12 11:13 2A12.20130523.88390.7.HDF<br clear="none">-rw-r--r-- 1 model staff 55092085 Aug 12 15:27 2A12.20140602.94247.7.HDF<br clear="none">bash-3.2$ ls -l *hdf*ncl*<br clear="none">-rw-r--r-- 1 model
staff 6725 Sep 01 17:01 hdf4sds_6.ncl<br clear="none">bash-3.2$<br clear="none"></div><div><br clear="none"></div><div>The files exist in my directory. </div><div>Can somebody tell me what's mistake???</div><div>Geeta. </div></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div></div></body></html>