Actions

NCRCATMAT

From BAWiki

Revision as of 14:39, 17 March 2020 by Günther Lang (talk | contribs) (NCDVAR listed as postprocessor)

Basic Information

Name of Program

ncrcatmat

Version-Date

September 2016

Description-Date

March 2020

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

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