Actions

NCVIEW2D

From BAWiki

Basic Information

Name of Program

NCVIEW2D

Version-Date

Febuary 2020

Description-Date

Febuary 2020

Catchwords

oostprozessor
time series
cf-netcdf.nc

Short Description of Functionality

NCVIEW2D is applied to visualize cf-netcdf.nc data as time series. The following objects are within a plot:

  1. plot window(s) (also subplots)
  2. y-axis
  3. data

A plot window can also have two y-axis with 5 individual data sets each. E. g. plot window 1 and its y-axis 1 can contain the measured and modeled water level, while plot window 2 could show measured salinity on the left y-axis and discharge on the right y-axis. Plot windows are placed from north to south. Below the lowes window, the UUID of the cf-netcdf.nc data may be displayed as legend.

Input-Files

  1. req: NCVIEW2D.DAT

Output-Files

  1. MATLAB figure *.fig
  2. DMQS metadata (stored in figure)
  3. program log *.sdr
  4. errors and warning *.err
  5. opt: other formats such as *.jpg, *.tif, *.svg, *.pdf, *.png

Methodology

This program was written in MATLAB and takes advantage of existing PROGHOME methods, such as unit conversion or i/o of BOEWRT data. The program is subdivided in the following sections:

  1. Reading and checking the steering file
  2. Testing of the existence of input data and its variables
  3. Testing of the plausibility of input parameters
  4. Extracting optional parameters, which have been given in NCVIEW2D.DAT, other data is set to a default value.
  5. Data import (file, variables)
  6. Testing of existence of x-axis limits
  7. Initialising the figure environment
  8. Initialising the the axis
  9. Initialising the the legend
  10. Initialising the UUID legend (if requested)
  11. Initialising the figure title (if requested)
  12. Initialising the figure box and grid lines (if requested)
  13. Initialising the textboxes (if requested)
  14. Writing DMQS information in *.fig
  15. Export *.fig
  16. Export further formats (if requested)

Program(s) to run before this Program

UNTRIM, UNTRIM2, UNK, DATACONVERT, BOE2NC, NCDELTA

Program(s) to run after this Program

MATLAB

Additional Information

Language

MATLAB r2019b

Additional software

keine

Original Version

R. Hagen

Maintenance

R. Hagen

Documentation/Literature

  • Template Files:
    • template files available in $PROGHOME/examples/ncdelta

back to Program Descriptions


Overview