Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To select a specific method for the interpolation of gridded fields.

interpolation=<value>

MIR does not support the 12-point interpolation method, used by EMOSLIB for rotated grids. Therefore, the The default interpolation method used is the linear. Rotated spherical harmonics are not supported in MIR or EMOSLIB.Also, note that all "Spectra-related" parameters have been classified and are interpolated in the same way as the 2D spectra, using a nearest neighbour in MIR instead of EMOSLIB's bilinear method.The following specific groups or parameters will use the nearest neighbour method:

  • index parameters: integer values associated to a predefined table
  • ocean wave spectra and associated parameters: intensity as a function of discrete wavelengths
  • vegetation cover ratio parameters

Valid values to specify the interpolation method are listed in the table below: 

ValueDescription
linear
Linear interpolation, based on a triangular mesh. This is the default behaviour.
bilinear
Bilinear interpolation. Results
nearest neighbour
Choosing the nearest grid point.
nearest lsm

Choosing the nearest grid point in the target grid which has the same lsm properties as the input location 


When interpolating the land-sea mask field, MIR returns fractional values greater than or equal to 0 and less than or equal to 1 are returned. Users should regard land-sea mask values greater than or equal to 0.5 as representing land points and those less than 0.5 as representing sea points.

Possible values are 

...

Linear interpolation. This is the default behaviour.

...

nearest neighbour

...

For other keywords controlling the interpolation see the diagram below.

Image Added

...



Examples:



Excerpt Include
Keywords in MARS and Dissemination requests
Keywords in MARS and Dissemination requests
nopaneltrue