Re: netCDF 3.6.0. [message #46664 is a reply to message #46663] |
Wed, 07 December 2005 14:04  |
news.qwest.net
Messages: 137 Registered: September 2005
|
Senior Member |
|
|
Perhaps the '~' is not being expanded properly in your filename.
Try moving the file elsewhere, and putting in the exact full filepath.
I can read it.
IDL> ncdf_cat,filename
% Compiled module: NCDF_CAT.
% Loaded DLM: NCDF.
Dimensions 5
lat 128
lon 256
bnds 2
plev 17
time 1(Unlimited dim)
.... etc ....
Cheers,
bob
<carlos.badenes@gmail.com> wrote in message
news:1133986409.672216.119350@z14g2000cwz.googlegroups.com.. .
> Hi,
>
> I am having problems opening netCDF files with the NETCDF suite of
> routines included in IDL 6.2:
>
> IDL> id = ncdf_open('~/Desktop/sresa1b_ncar_ccsm3_0_run1_200001.nc')
> % NCDF_OPEN: Unable to open the file
> "~/Desktop/sresa1b_ncar_ccsm3_0_run1_20000
> 1.nc". (NC_ERROR=-31)
> % Execution halted at: $MAIN$
>
> This is an example file downloaded from the netCDF web site, so I'm
> pretty sure that the file is OK. Yet, IDL does not seem to recognize it
> as a netCDF file.
>
> Can anyone confirm whether the netCDF routines in IDL are compatible
> with netCDF 3.6.0? If the answer is no, does anybody know how to make a
> 3.6.0 file '3.5.1. compatible'? I'd rather avoid downgrading the netCDF
> installation.
>
> Thanks!
>
> Carles
>
|
|
|