Hannes,
Here is an answer to your first question only.
The expected file size is calculated in a straightforward way. Assuming
you are using NetCDF default types for real and integer, they are 4
bytes each. The file size is therefore:
162 X
x 76 Y
x 10 years
x 365.25 daily time steps per year
x 4 variables
x 4 bytes per datum
= 720 Mbytes, approximately.
There is some file overhead, but it is negligible.
Therefore, 568 MB is too small, unless your program is crashing part way
through, or your program is only partially filling the array for some
other reason, or one of the factors above that I assumed is wrong. HTH.
--Dave A.
CDC/NOAA/CIRES
Hannes Isaak Reuter wrote:
Dear all,
just a silly simple question.... beeing still a newbie working with
netcdf..
I create a nc file with dimensions x = 162 and y = 76
with a daily timestep for 10 years, 4 variables ( 1 real, 3 integer)
How large should such a file be....
because just by creating it grows up to 568 MB.
Is such size reasonable ? seems to be to large to me..
Second question
it is possible to open an netcdf file and write from several processes
to it..
I know already that several processes can have read access to one file,
with one process writing...
greetings
hannes