ncl-metno home

shell scripts:


Svector.sh

Syntax

Example:
Total surface current

This figure displays the sum of the baroclinic mode upper level current and the barotropic mode (depth mean) current, both extracted at time step no. 10:

Svector.sh 4dmap hycom_031_uv.nc u v u_btrop v_btrop 1 10

Svector.sh: syntax

Svector.sh --help

           Svector.sh  /  ncl-metno 1.2

>>>
>>>
>>> Syntax:
>>> =======
>>>
>>>  Svector.sh <option> <file> <u> <v> <u_bt> <v_bt> [<d3node> (<d4node>)]
>>> where
>>>    <option>    specifies dimensions and geo- or nongeo-grid
>>>                 implemented:
>>>                  [234]d    - [234]D fields
>>>                  [234]dmap - [234]D fields, dims. are lon & lat
>>>                  ...[234]dmap will be displayed on a geogr. map
>>>    <file>      name of the netcdf file
>>>    <u>         name of variable w/ baroclinic velocity in the x-direction
>>>                 on the netcdf file (case sensitive)
>>>    <v>         name of variable w/ baroclinic velocity in the y-direction
>>>    <u_bt>      name of variable w/ barotropic velocity in the x-direction
>>>    <v_bt>      name of variable w/ barotropic velocity in the y-direction
>>>    <d3node>  node no. of third dimension
>>>                if <option> is one of 2d, 2dmap and a fourth
>>>                  argument is present, or if <d3node> is negative,
>>>                  this will be interpreted as a flag that will cause
>>>                  the ncl script to remain
>>>    <d4node>  node no. of fourth dimension
>>>
>>>  The script will produce an eps-file and a png-file.
>>>
>>>
>>> User specifications:
>>> ====================
>>>
>>>  By copying the default spec.s from