Re: PyNIO and NetCDF file sizes - File too large

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 19 2010 - 11:32:35 MST

Hi Carl,

Dave Brown thinks that the version of PyNIO you have should work on a
file this large, unless you built PyNIO from source code and didn't
link it against a NetCDF library that had large file support turned on.

If you are using the PyNIO binary from our website, then we're not
sure why it's not working. Would it be possible for you to put the
file somewhere that we could download it?

Thanks,

--Mary

On Jan 19, 2010, at 10:35 AM, Carl Drews wrote:

> I am attempting to open a 17 Gigabyte NetCDF file:
>
> 16949113596 Jan 18 04:51 ocean_his-T1.nc
>
> using this Python code:
>
> import Nio
> import matplotlib
> from pylab import *
> import numpy
> ...
> # open the NetCDF file for reading
> print "Nio version ", Nio.__version__
> file = Nio.open_file(romsFile, 'r')
>
> Here is the script output:
>
> ROMS file = ocean_his-T1.nc
> Nio version 1.3.0b1
> fatal:File too large
> fatal:Could not open (ocean_his-T1.nc)
> Traceback (most recent call last):
> File "waterLand.py", line 188, in <module>
> file = Nio.open_file(romsFile, 'r')
> File "/usr/local/python/lib/python2.5/site-packages/PyNIO/Nio.py",
> line 512, in open_file
> file = _Nio.open_file(filename,mode,options,history,format)
> NIOError: Unable to open file
>
> Is there a limit on the NetCDF file size? I need to read several
> variables from this model output. Do I have to split the ocean_his-T1
> file into multiple variables? If so, what maximum size is allowed?
>
> Here is my system information (uname -a):
>
> Linux acd-xxxxxx 2.6.18-164.6.1.el5.centos.plus #1 SMP Wed Nov 4
> 09:36:36 EST 2009 i686 i686 i386 GNU/Linux
>
> Thanks!
>
> Carl
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Tue Jan 19 11:32:39 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 01 2010 - 09:12:40 MST