NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] NetCDF4 problem

Hi Antonio,

I would say try h5repack but I just tried that (below)
and it also creates files that cannot be read by ncwa.
I have not tested chunking using the Java library.
It's certainly worth a try.

cz

zender@roulee:~$ time ncks -O -4 --cnk_dmn latitude,4 --cnk_dmn longitude,4 --cnk_dmn time,512 ~/2014.nc ~/2014_ch_ncks.nc

real    2m22.212s
user    0m39.139s
sys     1m38.901s
zender@roulee:~$ time nccopy -c time/512,latitude/4,longitude/4 ~/2014.nc ~/2014_ch_nccopy.nc

real    2m21.440s
user    0m38.865s
sys     1m37.674s
zender@roulee:~$ time h5repack -l u10m:CHUNK=512x4x4 -i ~/2014.nc4 -o ~/2014_ch_h5repack.nc

real    0m2.683s
user    0m0.423s
sys     0m0.442s
zender@roulee:~$ ncwa -O ~/2014_ch_ncks.nc ~/foo.nc
Segmentation fault
zender@roulee:~$ ncwa -O ~/2014_ch_nccopy.nc ~/foo.nc
*** Error in `ncwa': double free or corruption (fasttop): 0x0000000001f22b70Segmentation fault
zender@roulee:~$ ncwa -O ~/2014_ch_h5repack.nc ~/foo.nc
Segmentation fault

--
Charlie Zender, Earth System Sci. & Computer Sci.
University of California, Irvine 949-891-2429 )'(



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: