Re: Nio.open_file problem : object.__init__() takes no parameters

From: Sourish Basu <sbasu_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 12 2010 - 06:10:04 MST

Hi Mary,
> But meanwhile, I'm not sure what's going on here. I think Dave said he
> might know, but he's out today.
>
> Is this file a true NetCDF4 file, or a NetCDF 4 classic file? NCL and
> PyNIO cannot yet read true NetCDF 4 files.

It is a true NetCDF4 file, but I'm surprised at what you say. I used to
read the exact same file with PyNIO before I switched over to a 64-bit
Linux system and recompiled NCL and PyNIO. In fact, now my old code,
where I used Nio for reading, is causing python to crash with messages
such as 'ncdiminq: ncid 65536: NetCDF: Invalid dimension ID or name'.
But the same code, for reading the same file, used to work, I think
(unless I switched the file format at some point, but I don't remember
doing that). Could you have a look at the following file:

ftp.phys.uu.nl/uploads/DailyColDens.th.2002.nc4

and tell me whether PyNIO is supposed to be able to read it?

Thanks,

-Sourish
Received on Fri Feb 12 06:10:10 2010

This archive was generated by hypermail 2.1.8 : Wed May 26 2010 - 10:38:10 MDT