[Thread Prev][Thread Next][Index]

size of output file question




Hi Ferret users,

I've been doing some analysis work and have noticed something that seems
odd to me.  The netcdf files that I'm writing are much larger (factor of
2) than the ones I'm using for input...and both have the same dimensions.

An example:

-rw-rw-r--    1 gte328r  gte328r  260913724 Jan 30 23:33 airclimatology.nc
!File calculated by ferret.  144x73x17x365 1 variable
-rw-rw-r--    1 gte328r  gte328r  130459560 Nov  5  1998 air.1961.nc
!Input file used to calculate the climatology.

This is obviously troublesome as it's eating up diskspace.  This leads to
questions 2 which might be the cause of question 1.  I'm not able to write
the output file directly, I have to do it with the repeat command.  I
usually do something like:
yes?
repeat/j=1:73/save/jlimits=1:73/file="/data/ncep/netcdftest.nc"/append air[d=1]

The above is a test I ran where I read in air.1961.nc and then wrote it
back out at 2x it's original size.  Is using the repeat command causing
the filesize doubling?  This leads to question 3:

I tried to write the file above directly using:
yes? save/file="/data/ncep/netcdftest.nc" air[d=1]

and got the messages:
 **ERROR: insufficient memory: 65226960 words were requested.
 *** NOTE: You can use SET MEMORY/SIZE=xxx to increase memory.
 *** NOTE: The "Memory use" section of the FERRET Users Guide has further
tips.

But, before this I had set the memory thusly:
yes? set memory/size=110
 Cached data cleared from memory

As I read it, I set the memory size to 110megawords but it's dieing when I
get to 65mwords.  If I look at the memory usage while this is going on
there's still 200+ mbytes of memory still available when it dies.

Thanks for any responses.

Cheers,

Brent


-- 
Brent A. McDaniel

Dept of Earth and Atmospheric Sciences
Georgia Institute of Technology
Atlanta, Ga.  USA



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement