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

From: Joe Lee <hyoklee_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 10 2014 - 13:45:10 MDT

Hi,

 That's strange. I have no issue with the MYD01 file that I have (see below).

 Can you open the file with HDFView? I suspect it's not a valid HDF file.

 If you send me the URL of file, I can take a look at it, too.

------------------

 $ncl_filedump MYD01.A2012240.1525.005.2012249205639.hdf | head -20
 Copyright (C) 1995-2011 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: f
Type: file
filename: MYD01.A2012240.1525.005.2012249205639
path: MYD01.A2012240.1525.005.2012249205639.hdf
   file global attributes:
      Number_of_Scans : 203
      Number_of_Day_mode_scans : 203
      Number_of_Night_mode_scans : 0
      Max_Total_Frames : 1514
      Max_Earth_Frames : 1354
      Max_SD_Frames : 50
      Max_SRCA_Frames : 10
      Max_BB_Frames : 50
      Max_SV_Frames : 50

On Mar 10, 2014, at 2:34 PM, Dennis Shea <shea@ucar.edu<mailto:shea@ucar.edu>> wrote:

-------- Original Message --------
Subject: Re: Reading HDF files "The specified HDF file does
not exist or can't be opened"
Date: Mon, 10 Mar 2014 11:32:56 -0800
From: James Madden <jmmadden@alaska.edu<mailto:jmmadden@alaska.edu>>
To: Dennis Shea <shea@ucar.edu<mailto:shea@ucar.edu>>

Hello,

The name of the file is spelled correctly, and I even changed the name to
"file.hdf" just to make it simpler, but still I receive the same error.
The file that I am trying to access is in the same folder as the program.

pacman3 1013% ncl_filedump file.hdf
 Copyright (C) 1995-2013 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.1.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

fatal:The specified HDF file (file.hdf) does not exist or can't be opened

fatal:Could not open (file.hdf)

Variable: f
Type: file
(0) File Missing Value : -1

Thank you,
Mike

On Mon, Mar 10, 2014 at 11:21 AM, Dennis Shea <shea@ucar.edu<mailto:shea@ucar.edu>> wrote:

Ummm.

We can look at several MY*hdf files with no problem.

Aresure that you have spelled the name correctly?

Are you executing ncl_filedump in one directory and the file
is in another directory?

On 3/10/14, 1:12 PM, James Madden 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

--
*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

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

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