[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990310: "file too big" error message

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: 19990310: "file too big" error message
  • Date: Wed, 10 Mar 1999 12:23:07 -0700

Dear Sophie,

> To: address@hidden
> From: Sophie Valcke <address@hidden>
> Subject: "file too big" error message 
> Organization: France/CERFACS
> Keywords: 199903100908.CAA04412 netCDF Fortran 90 file size

In the above message, you wrote:

> I wrote a f90 program to create a netCDF file. You will find the 
> program here below. With parameters jpnbrmo = 12, jpyrini = 101, 
> jpyrend = 101, jpmoini = 1, jpmoend = 12 everything goes fine. 
> However, if I increase the parameters to jpnbrmo = 60, jpyrini = 101,
> jpyrend = 105, jpmoini = 1, jpmoend = 12 the program aborts with the
> message "file too big" when I try to write the field variables in the
> netCDF dataset with the line
>   call hdlerr(NF_PUT_VAR_REAL (isoncid, ifldid(ifld), zfield(:,:,:,ifld))) 
> 
> It looks like the maximum netCDF file that I can create is of the
> order of 105 Mbytes. I do not understand as there
> is no file size limit on my system and I read that the netCDF file
> size limit is 2Gbytes. 
>   Thank you for your help,

Our SunOS 5.7 Fortran-90 compiler (/opt/SUNWspro/bin/f90; WorkShop
Compilers 5.0) can't compile your code.

What operating system and compiler are you using?

--------
Steve Emmerson   <http://www.unidata.ucar.edu>