[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040324: ncdump error - not a netCDF file



Hi Donna,

I believe it is more of an HDF4 issue than a netCDF issue.

HDF4, as well as earlier McIdas builds, included the netCDF libraries.

HDF5 does not, so if your previous files were in HDF4, this would be a
reasonable explanation.

Unidata is currently working on netCDF4 which will merge netCDF with HDF5.

This is about a year out and maybe a few months before the beta release.

So, no surprise ncdump does not work on an HDF5 file, but would expect the
capability to persist if the data was delivered in HDF4.

I hope this helps...


Jeff
---------------------------------------------------------------------
Jeff Weber                                    address@hidden        :
Unidata Program Center                        PH:303-497-8676        :
University Corp for Atmospheric Research      3300 Mitchell Ln       :
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000  :
---------------------------------------------------------------------

On Wed, 24 Mar 2004, Unidata Support wrote:

>
> ------- Forwarded Message
>
> >To: <address@hidden>
> >From: Donna Thomas <address@hidden>
> >Subject: ncdump error - not a netCDF file
> >Organization: UCAR/Unidata
> >Keywords: 200403241628.i2OGSarV022203
>
> Hello, my system admin installed the latest version of netCDf on my linux
> box (running red hat) so that I could use ncdump to read files.  I get this
> error message:
> ncdump -h MOD28L2.A2003009.0915.004.2003016030758.hdf |more
> ncdump: MOD28L2.A2003009.0915.004.2003016030758.hdf: Not a netCDF file
>
> Ncdump wont work on any of my files that it usually works for.
>
> I was able to use ncdump successfully on this particular file with an older
> release of netCDF and below is some, not all, of the output.
>
> netcdf MOD28L2.A2003009.0915.004.2003016030758 {
> dimensions:
>         Number_of_records_Swath = 2030 ;
>         Number_of_samples_per_record_Swath = 1354 ;
>
> variables:
>         short sst(Number_of_records_Swath,
> Number_of_samples_per_record_Swath) ;
>                 sst:Long_name = "Sea Surface Temperature" ;
>                 sst:Scale_type = "y= Slope * x + Intercept;" ;
>                 sst:Slope = 0.0099999998f ;
>                 sst:Intercept = -300.f ;
>                 sst:Name = "Temperature" ;
>                 sst:Units = "Deg C" ;
>                 sst:Quality_Bits = "1-2" ;
>         short sst4(Number_of_records_Swath,
> Number_of_samples_per_record_Swath) ;
>                 sst4:Long_name = "Sea Surface Temperature, 4 micrometer" ;
>                 sst4:Scale_type = "y= Slope * x + Intercept;" ;
>                 sst4:Slope = 0.0099999998f ;
>                 sst4:Intercept = -300.f ;
>                 sst4:Name = "Temperature" ;
>                 sst4:Units = "Deg C" ;
>                 sst4:Quality_Bits = "3-4" ;
>         long cldmsk_flags(Number_of_records_Swath,
> Number_of_samples_per_record_Swath) ;
>                 cldmsk_flags:Long_name = "First four bytes from MOD35
> Cloud_Mask product" ;
>         byte common_flags(Number_of_records_Swath,
> Number_of_samples_per_record_Swath) ;
>                 common_flags:Long_name = "Ocean data common flags" ;
>                 common_flags:f01_name = "UNPROC" ;
>                 common_flags:f02_name = "ATMCOR" ;
> --More--
>
>
> Can you help me?   Thanks in advance for any guidance!
>
> Sincerely, Donna Thomas
>
> ~~~~~~~~~~~~~~~~
> Donna Thomas, Futuretech Corporation
> NASA Goddard Space Flight Center
> Code 970.2
> Building 28 Room W111
> Greenbelt, MD 20771
> 301-286-0744
> address@hidden
> ~~~~~~~~~~~~~~~~~
>
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>