resize netcdf resolution to smaller size

9 次查看(过去 30 天)
Den
Den 2022-8-30
回答: Amith 2024-8-16,11:00
Hi, I hope I can explain correctly.
I have data of size 649x337x268.
is it possible to resize it to 109x57x268?

回答(1 个)

Amith
Amith 2024-8-16,11:00
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!

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by