Tutorials

Under construction

Schemes

The schemes available in comps are described in the Components section. These schemes are defined in C++ code and compiled. However, many schemes have options that modify their behaviour. These options are specified in ./namelists/default/schemes.nl. This means that two Kalman Filter schemes can be defined but with different values for its ratio parameter. The schemes have been grouped into the components defined in Components. As an example, scroll down to the Downscaler section in ./namelists/default/schemes.nl:
# Downscaler
dNearest     class=DownscalerNeighbourhood neighbourhoods=n1
dDist16      class=DownscalerNeighbourhood neighbourhoods=n16 weightOrder=2
n1           class=NeighbourhoodNearest num=1
n16          class=NeighbourhoodNearest num=16

Here two downscaling schemes have been set up. First, the nearest neighbour scheme has been defined, and given the name dNearest. Configurations wishing to use this schemes would use this name to refer to it. This scheme uses the neighbourhood scheme called n1, which is also defined in the schemes namelist. The dDist16 scheme weights the 16 nearest neighbours by the inverse square distance that the points are away.

To add a scheme, look up the class name in Components and fill in any of the options.

The naming convention is to start all selectors with the letter 's', downscalers with 'd', neighbourhoods with 'n', and correctors with 'c'. More conventions may be added later.