nc3to4

バージョン 1.2.0.1 (2.14 KB) 作成者: Ashish Uthama
Create a NetCDF4 classic model file from an existing NetCDF 3 (classic) file.
ダウンロード: 359
更新 2016/9/1

ライセンスの表示

**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)]);

引用

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

MATLAB リリースの互換性
作成: R2011a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNetCDF についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
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