Actions

NCRCATMAT: Difference between revisions

From BAWiki

(NCDVAR listed as postprocessor)
(NCMERGE added as post-processor)
 
Line 3: Line 3:
|name=ncrcatmat
|name=ncrcatmat
|version=September 2016
|version=September 2016
|version_descr=March 2020
|version_descr=January 2022
|catchwords=
|catchwords=
Matlab<br />
Matlab<br />
Line 34: Line 34:


|preprocessor=[[DATACONVERT]]
|preprocessor=[[DATACONVERT]]
|postprocessor=[[NCDELTA]], [[NCDVAR]]
|postprocessor=[[NCDELTA]], [[NCDVAR]], [[NCMERGE]]
|language=[[MATLAB]]
|language=[[MATLAB]]
|add_software= Linux: MATLAB Compiler Runtime MCR R2015a in directory /usr/local/MATLAB/R2015a
|add_software= Linux: MATLAB Compiler Runtime MCR R2015a in directory /usr/local/MATLAB/R2015a

Latest revision as of 12:07, 11 January 2022

Basic Information

Name of Program

ncrcatmat

Version-Date

September 2016

Description-Date

January 2022

Catchwords

Matlab
Conversion
Concatenation
CF NetCDF Format
MATLAB

Acknowledgment: This project took advantage of netCDF software developed by UCAR/Unidata (www.unidata.ucar.edu/software/netcdf/).

Short Description of Functionality

The application ncrcatmat can be used in an analogous way to ncrcat of the nco - tools and concatenate netcdf-files (s. CF-NETCDF.NC), but can be used under linux und therefore be implemented in scripts. In particular when ncdelta is used, concatenating boewrt-files that are converted to netcdf often needs to be done as a preperating step. ncrcatmat can thus be seen as a linux-alternative for the otherwise in the BAW only under windows available nco-tool ncrcat. The main application of ncrcatmat is to concatenate the boewrt-files converted by dataconvert for usage in ncdelta and taylordiagram.

ncrcatmat.xe LZ4a.nc LZ3.nc ALL.nc

This command concatenates the netcdf-files along the unlimited dimension to a new netcdf-file ALL.nc.

ncrcatmat.xe *.nc ALL.nc

This command concatenates all netcdf-files in the current folder along the unlimited dimension to a new netcdf-file ALL.nc.

Input-Files

All files that share the same netcdf-architecture with the same unlimited dimension (*.nc). Only outputfiles by DATACONVERT were tested.

Output-Files

netcdf-file (*.nc)

Methodology

The matlab command ncwriteschema() is used to define the netcdf-structure on the basis of the first given input file.

Program(s) to run before this Program

DATACONVERT

Program(s) to run after this Program

NCDELTA, NCDVAR, NCMERGE

Additional Information

Language

MATLAB

Additional software

Linux: MATLAB Compiler Runtime MCR R2015a in directory /usr/local/MATLAB/R2015a

Original Version

L. Nickelsen

Maintenance

L. Nickelsen

Documentation/Literature

http://de.mathworks.com/help/matlab/ref/ncwriteschema.html
See also under MATLAB.


back to Program Descriptions


Overview