Re: QuickScat HDF Files

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Tue, 4 Apr 2006 11:04:29 -0600

Hi Scott,

> I am attempting to read in a QuickScat HDF file (version 4.1r3).
> According to the NCL documentation, NCL can read in HDF files of this
> type. Here is a link to the HDF file:
>
> ftp://podaac.jpl.nasa.gov/pub/ocean_wind/quikscat/L3/data/2003/
> QS_XWGRD3_2003120.20031231631.Z

I just downloaded this file, uncompressed it, and renamed it to have a
".hdf" extension.

> However, I am getting the following error:
>
> NCAR Command Language Version 4.2.0.a032
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> fatal:An internal error has occurred. The file format requested does
> not appear to be supported, could not open
> (QS_XWGRD3_2003120.20031231631.hdf)

I'm using NCL v4.2.0.a033 (the most recent version available for
release):

% ncl -V
4.2.0.a033

and I am able to read the file just fine:

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

ncl 0>
f=addfile("/Users/grubin/data/QS_XWGRD3_2003120.20031231631.hdf", "r")
ncl 1> print(f)

Variable: f (file variable)

filename: QS_XWGRD3_2003120.20031231631
path: /Users/grubin/data/QS_XWGRD3_2003120.20031231631.hdf
    file global attributes:
       LongName : char
1
QuikSCAT Level 3 Ocean Wind Vectors in 25km grid
[...]

I don't have v4.2.0.a032 of NCL hanging around but could build a
version and test if that'd help. I am somewhat surprised at the error
you're seeing, as it appears you're doing everything correctly. I
should ask, to be complete: did you uncompress the file before renaming
it?

Another suggestion would be for you to upgrade your NCL version and try
again, if that's an option at your end. Please let us know of the
results, thanks.

-Rick.

----
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu             303.497.1832
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 04 2006 - 11:04:29 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 04 2006 - 11:27:39 MDT