nc3to4

Create a NetCDF4 classic model file from an existing NetCDF 3 (classic) file.
361 descargas
Actualizado 1 sep 2016

Ver licencia

**Needs R2011a or later**
NC3TO4 Create a NetCDF4 classic model file from an existing NetCDF 3 (classic) file.

NC3TONC4(NC3FILE, NC4FILE) creates a new NetCDF4 classic model file,
NC4FILE, from an existing NetCDF 3 (classic) file, NC3FILE.

NC3TONC4(NC3FILE, NC4FILE, DEFLATELEVEL) creates a new NetCDF4 classic
model file, NC4FILE, from an existing NetCDF 3 (classic) file,
NC3FILE. DEFLATELEVEL is a numeric value specifying the compression
setting for the deflate filter. LEVEL should be between 0 (least) and
9 (most).
Note: The chunk size is selected automatically by the NetCDF library.

Example:
% Create a sample NetCDF 3 (classic) file, with very simple data
nccreate('nc3.nc','Ones',...
'Dimensions',{'r' 200 'c' 200},...
'Format','classic');
ncwrite('nc3.nc','Ones',ones(200));
finfo3 = dir('nc3.nc');
disp(['NetCDF 3 (Classic) size: ' num2str(finfo3.bytes)]);
% Conver to NetCDF4 Classic format.
nc3to4('nc3.nc','nc4.nc',9);
finfo4 = dir('nc4.nc');
disp(['NetCDF 4 (Classic model) size: ' num2str(finfo4.bytes)]);

Citar como

Ashish Uthama (2024). nc3to4 (https://www.mathworks.com/matlabcentral/fileexchange/31183-nc3to4), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.2.0.1

Updated license

1.2.0.0

Fix typo in name

1.1.0.0

Fix typo in name.

1.0.0.0