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
Received on Tue Jan 19 10:35:15 2010
This archive was generated by hypermail 2.1.8 : Mon Mar 01 2010 - 09:12:40 MST