Hi All,

I am using ncdf package to manipulate netcdf file downloaded from ECMWF
website. The downloaded data file contains 8 observations per day for a
single variable. The size of file is 800+ mb for a whole year data. The
dimension for the data is 240 x 120 x 1460, where 240 is DimX, 120 is DimY
and 2920 is Time Dimension. I want to take only 4 observations from this
file. To do this I wrote a script in R and used ncdf package to manipulate
the data. My script is working great. And my effective dimension of the
variable is 240 x 120 x 1460 (which is half of 2920). The only trouble is
size of the new file is same as old file. In my opinion, the file size
should have reduced to half. But this is not happening. Is there any
documentation which tell me more about how the file size is decided, OR Do
you think I am doing something wrong ? OR is there any way to compact the
file size like in Microsoft Access, there is a option to compact database ?

Thanks in advance, any help is appreciated.

Narayani Barve

-- 
Narayani Barve
PhD Student,
Ecology and Evolutionary Biology,
University of Kansas, KS 66044

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to