[ncl-talk] file query regarding upload

Jack Ogaja jack.ogaja at gmail.com
Fri Oct 16 05:36:45 MDT 2015


Karin is right. Just change to the directory containing the hdf file and issue the following command (assuming your OS is linux/unix-like),

“cat <yourFileName>”

It will show you something like:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /MODV6_Dal_C/MOLT/MOD14.006/2014.04.20/MOD14.A2014110.0405.006.2015276113431.hdf
on this server.</p>
</body></html>

which means you didn’t have permission to download that file but you didn’t pay attention. That is the content of the file you posted in ncl-talk.

Jack

> On 16 Oct 2015, at 13:21, Kunal Bali <kunal.bali9 at gmail.com> wrote:
> 
> No , Its not corrupt. I downloaded again and got the same file size. 
> 
> 
> Kunal Bali
> Research Scholar 
> Radio & Atmospheric Science Division 
> CSIR - National Physical Laboratory
> New Delhi - 110012
> 
> 
> 
> 
> 
> 
> On Fri, Oct 16, 2015 at 3:58 PM, Karin Meier-Fleischer <meier-fleischer at dkrz.de <mailto:meier-fleischer at dkrz.de>> wrote:
> Did you see the size of your file it is only 281 bytes. I guess the file is corrupted.
> 
> Bye,
> Karin
> 
> Am 16.10.15 um 11:50 schrieb Kunal Bali:
>> of course the file is in the directory  
>> 
>> Kunal Bali
>> Research Scholar 
>> Radio & Atmospheric Science Division 
>> CSIR - National Physical Laboratory
>> New Delhi - 110012
>> 
>> 
>> 
>> 
>> 
>> 
>> On Fri, Oct 16, 2015 at 3:10 PM, Karin Meier-Fleischer <meier-fleischer at dkrz.de <mailto:meier-fleischer at dkrz.de>> wrote:
>> Hi Kunal,
>> 
>> does the file really exist? 
>> 
>> What does the following command return?
>> 
>>     ls -la /home/kunal/Pictures/NCL_Scripts/plot/fire1.hdf
>> 
>> Bye,
>> Karin
>> 
>> 
>> Am 16.10.15 um 09:01 schrieb Kunal Bali:
>>> Dear NCL users
>>> 
>>> I am not able to open the attached file in NCL
>>> 
>>> I am giving the simple command 
>>> a = addfile("/home/kunal/Pictures/NCL_Scripts/plot/fire1.hdf", "r")
>>> 
>>> but showing error:
>>> 
>>> fatal:The specified HDF file (/home/kunal/Pictures/NCL_Scripts/plot/fire1.hdf) does not exist or can't be opened
>>> 
>>> fatal:Could not open (/home/kunal/Pictures/NCL_Scripts/plot/fire1.hdf)
>>> 
>>> The given file is 5-Min L2 Swath 1km
>>> 
>>> please give me some suggestion how to upload this file
>>> 
>>> Thank You
>>> 
>>> Kunal Bali
>>> 
>>> 
>>> 
>>> 
>>> 
> 
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
> 
> 
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20151016/98fdcbfe/attachment.html 


More information about the ncl-talk mailing list