Azzera filtri
Azzera filtri

remove chunkSize while creating a nc file in matlab

2 visualizzazioni (ultimi 30 giorni)
I am creating a .nc file after processing another file in MATLAB. I want the created .nc file to be of exactly the same format as the original size for which I need Chunk Size and Fill value as '[ ]' .
For that I have disabled the FIll Value and have not mentioned the ChunkSize, but still the created .nc file shows a chunksize of [180,90,6,12]. I need help regarding removing chunking.
catnc = strcat('');
nccreate(catnc,modvv_BC,'datatype','single','Dimensions',{'lon' 360 'lat' 180 'level' 6 'time' 12}, 'FillValue','disable');
ncwriteatt(catnc, modvv_BC, 'long_name', 'flux of BC');
ncwriteatt(catnc, modvv_BC, 'units', 'mcl m-2 s-1');
ncwriteatt(catnc, modvv_BC, 'molar_mass', '12.0100');

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by