Clear Filters
Clear Filters

resize netcdf resolution to smaller size

4 views (last 30 days)
Den
Den on 30 Aug 2022
Answered: Amith on 16 Aug 2024
Hi, I hope I can explain correctly.
I have data of size 649x337x268.
is it possible to resize it to 109x57x268?

Answers (1)

Amith
Amith on 16 Aug 2024
Hi Den,
The above requested conversion is not possible but incase you would like to compress the netCDF file, you can add a 'DeflateLevel' in the arguments of nccreate followed by an integer from 0 to 9 that controls how much compression you want on the data.
You can refer to this MATLAB Answer to learn more about the compression of netCDF file: https://www.mathworks.com/matlabcentral/answers/467783-reduce-size-of-netcdf-file
Hope this helps!

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!