Re: Reading HDF files "The specified HDF file does not exist or can't be opened"

From: James Madden <jmmadden_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 10 2014 - 16:21:35 MDT

Hello,

I downloaded the file again from the source, and indeed the file was
corrupted. I was able to read the file.

Thank you very much!

Mike

On Mon, Mar 10, 2014 at 2:02 PM, James Madden <jmmadden@alaska.edu> wrote:

> Hello,
>
> Thank you all for the recommendations! I checked the permissions of the
> file and they were fine.
>
> It seems that the file is corrupt. I will ask the provider to resend the
> file, and I will let you know if there are additional problems.
>
> Thank you much,
> Mike
>
>
> On Mon, Mar 10, 2014 at 1:25 PM, Dennis Shea <shea@ucar.edu> wrote:
>
>> hdfview can not read the file. It just hangs.
>> The file is corrupt.
>>
>>
>> On 3/10/14, 3:19 PM, Wei Huang wrote:
>>
>>> Mike,
>>>
>>> It seems either this file is not a hdd file, or it is corrupted.
>>> Could you please point us where you download this file,
>>> or ask the provider to resend this file?
>>>
>>> Thanks,
>>>
>>> Wei
>>>
>>> huangwei@ucar.edu
>>> VETS/CISL
>>> National Center for Atmospheric Research
>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>> Boulder, CO 80307-3000 USA
>>> (303) 497-8924
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mar 10, 2014, at 2:50 PM, James Madden <jmmadden@alaska.edu> wrote:
>>>
>>> Hello,
>>>>
>>>> Absolutely! I just deposited the file.
>>>>
>>>> Mike
>>>>
>>>>
>>>> On Mon, Mar 10, 2014 at 12:48 PM, Wei Huang <huangwei@ucar.edu> wrote:
>>>> Mike,
>>>>
>>>> Can you provide us a file so we can check?
>>>>
>>>> Thanks,
>>>>
>>>> Wei
>>>>
>>>> You can ftp files to:
>>>>
>>>>
>>>> ftp ftp.cgd.ucar.edu
>>>> anonymous
>>>> <use your email address for the password>
>>>> cd incoming
>>>> put ...
>>>> put ...
>>>> .
>>>> .
>>>> .
>>>> quit
>>>> Note that for security reasons, you cannot list the contents of this
>>>> directory, and neither can we. We need to know the exact names of the files
>>>> in order to retrieve them.
>>>>
>>>>
>>>> huangwei@ucar.edu
>>>> VETS/CISL
>>>> National Center for Atmospheric Research
>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>> Boulder, CO 80307-3000 USA
>>>> (303) 497-8924
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Mar 10, 2014, at 2:43 PM, James Madden <jmmadden@alaska.edu> wrote:
>>>>
>>>> Hello,
>>>>>
>>>>> The version is 6.1.2, and indeed the file is in the current directory.
>>>>>
>>>>> Mike
>>>>>
>>>>>
>>>>> On Mon, Mar 10, 2014 at 12:39 PM, Wei Huang <huangwei@ucar.edu> wrote:
>>>>> Can type "ncl -Version" to let us know which version of NCL you are
>>>>> using.
>>>>>
>>>>> And do "ls ./MYD01.A2009188.1310.006.2014069131204.hdf" to make sure
>>>>> you
>>>>> can see this file in the current directory.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Wei
>>>>>
>>>>> huangwei@ucar.edu
>>>>> VETS/CISL
>>>>> National Center for Atmospheric Research
>>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>>> Boulder, CO 80307-3000 USA
>>>>> (303) 497-8924
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mar 10, 2014, at 2:33 PM, James Madden <jmmadden@alaska.edu> wrote:
>>>>>
>>>>> Hello,
>>>>>>
>>>>>> I tried ncl_filedump ./MYD01.A2009188.1310.006.2014069131204.hdf
>>>>>> and unfortunately I still received the following error message:
>>>>>>
>>>>>> fatal:The specified HDF file (./MYD01.A2009188.1310.006.2014069131204.hdf)
>>>>>> does not exist or can't be opened
>>>>>>
>>>>>> fatal:Could not open (./MYD01.A2009188.1310.006.2014069131204.hdf)
>>>>>>
>>>>>> Variable: f
>>>>>> Type: file
>>>>>> (0) File Missing Value : -1
>>>>>>
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 10, 2014 at 11:53 AM, Wei Huang <huangwei@ucar.edu>
>>>>>> wrote:
>>>>>> Could you try:
>>>>>>
>>>>>> ncl_filedump ./MYD01.A2009188.1310.006.2014069131204.hdf
>>>>>>
>>>>>> (make sure MY*.hdf is in current directory).
>>>>>>
>>>>>> Wei
>>>>>>
>>>>>>
>>>>>> huangwei@ucar.edu
>>>>>> VETS/CISL
>>>>>> National Center for Atmospheric Research
>>>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>>>> Boulder, CO 80307-3000 USA
>>>>>> (303) 497-8924
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mar 10, 2014, at 1:12 PM, James Madden <jmmadden@alaska.edu>
>>>>>> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>>
>>>>>>> I have been trying to read MODIS data lately, and I have been
>>>>>>> struggling to get my program to run.
>>>>>>>
>>>>>>> My response was to try to examine the file's contents through
>>>>>>> ncl_filedump, but I keep receiving this message:
>>>>>>>
>>>>>>> fatal:The specified HDF file (MYD01.A2009188.1310.006.2014069131204.hdf)
>>>>>>> does not exist or can't be opened
>>>>>>>
>>>>>>> I have tried using other versions of NCL, but I keep running into
>>>>>>> the same problem. Trying to convert to '.nc' through ncl_convert2nc does
>>>>>>> not work either.
>>>>>>>
>>>>>>> I am sure it is a simple mistake. What am I missing here?
>>>>>>>
>>>>>>> Thank you very much,
>>>>>>>
>>>>>>> Mike
>>>>>>> Call
>>>>>>> Send SMS
>>>>>>> Add to Skype
>>>>>>> You'll need Skype CreditFree via Skype
>>>>>>> _______________________________________________
>>>>>>> ncl-talk mailing list
>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Call
>>>>>> Send SMS
>>>>>> Add to Skype
>>>>>> You'll need Skype CreditFree via Skype
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mike Madden
>>>>> Graduate Research Assistant
>>>>> Department of Atmospheric Sciences
>>>>> University of Alaska Fairbanks
>>>>> IARC 338N
>>>>> Office: (907) 474-7618
>>>>> Cell: (417) 439-2830
>>>>> ---------------------------------------------------------------------
>>>>> "Buy the ticket, take the ride." Hunter S. Thompson
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Mike Madden
>>>> Graduate Research Assistant
>>>> Department of Atmospheric Sciences
>>>> University of Alaska Fairbanks
>>>> IARC 338N
>>>> Office: (907) 474-7618
>>>> Cell: (417) 439-2830
>>>> ---------------------------------------------------------------------
>>>> "Buy the ticket, take the ride." Hunter S. Thompson
>>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>
>
> --
>
> *Mike Madden *
> *Graduate Research Assistant *
> *Department of Atmospheric Sciences *
> *University of Alaska Fairbanks*
>
> *IARC 338N*
>
> *Office: (907) 474-7618 <%28907%29%20474-7618>*
>
>
>
> *Cell: (417) 439-2830
> <%28417%29%20439-2830>---------------------------------------------------------------------
> "Buy the ticket, take the ride." Hunter S. Thompson*
>

-- 
*Mike Madden*
*Graduate Research Assistant *
*Department of Atmospheric Sciences *
*University of Alaska Fairbanks*
*IARC 338N*
*Office:  (907) 474-7618*
*Cell: (417)
439-2830---------------------------------------------------------------------"Buy
the ticket, take the ride."  Hunter S. Thompson*

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 10 16:21:49 2014

This archive was generated by hypermail 2.1.8 : Fri Mar 14 2014 - 15:08:52 MDT