ncl-metno home

shell scripts:


c-mask.sh

Syntax

Example 1: Temperatures masked by a range in corresponding layer thickness values

The figure below was made by issuing the command:

c-mask.sh 4dmapr hycom_031_TS.nc hycom_031_h.nc temp thknss 0 20 12 97

Here, temperatures in layer no. 12 (at time step no. 97) is displayed for regions where the thickness of the same layer, at the same time, read from the same file, is outside the range from 0 to 20 (m).

Example 2: As Example 1, but with more contours

This figure was made by issuing the same command as in Example 1, after the file userdef.ncl was copied from