comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » NetCDF4 problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: NetCDF4 problem [message #93123 is a reply to message #93119] Fri, 29 April 2016 04:27 Go to previous messageGo to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Have you followed these instructions: http://www.harrisgeospatial.com/Support/HelpArticles/TabId/1 85/ArtMID/800/ArticleID/4352/4352.aspx

On Friday, April 29, 2016 at 2:41:02 AM UTC-4, deathknight wrote:
>> This indicates the file does exist (yeah!), but can't be opened by the
>> HDF 5 library. Perhaps is a classic netCDF file? i.e., version < 4. Can
>> you open it using the standard netCDF library?
>>
>> IDL> filename = 'E:\netcdf4.nc'
>> IDL> file_id = ncdf_open(filename)
>> IDL> help, file_id
>>
>
> Hi Mike, the file I tried was download from the NECP website ( http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalys is.html) resently, and it said that "We have transitioned the data files from netCDF3 to netCDF4-classic format on Monday Oct 20th, 2014." on this webpage. So I am sure the file is not a classic netCDF3 file.
>
> I also tried the old way and got the error "NC_ERROR=-51"
>
> IDL> filename='E:\netcdf4.nc'
> IDL> cdfid=ncdf_open(filename)
> % Loaded DLM: NCDF.
> % NCDF_OPEN: Unable to open the file "E:\netcdf4.nc". (NC_ERROR=-51)
> % Execution halted at: $MAIN$
>
> Really appreciate your kindly help and patience.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: READ array from a file
Next Topic: Re: Problems on the Savitzky-Golay smoothing filter

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:55:03 PDT 2025

Total time taken to generate the page: 0.00673 seconds