[Thread Prev][Thread Next][Index]
Re: disk space
Hi Muyin -
Most likely the NCEP daily reanalysis data that you are using is
stored in an integer*2 format (half the size of a real*4) with a
scale and offset. However, I assume that ferret, writes netcdf
files in a real*4 format. Thus, when you remove half of the
data, the file size is approimately the same.
I am not sure if there is a way for ferret to save in the
integer*2 format (with a scale and offset). Of course, you could
always do it in Fortran or C.
- Jeremy
On Thu, 26 Oct 2000, Muyin Wang wrote:
> Hi, I have an interesting question about the file size: Here I have 52 years
> NCEP daily reanalysis data. I thought if I only save the NH data this would save
> me lots of disk space. The data come in as NetCDF format, too. So I read in
> those data in ferret, and then save only the NH by doing
> save/file=temp.daily temp[y=0:90n]
>
> But then it turs out that the original file size is 130,816,956 bytes, and the
> new file is 132,246,560 bytes. Even bigger!
> How come? Any suggestions?
>
> Muyin
>
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement