MARS requestΒΆ
A MARS request is the way to specify an action on a set of fields or observations. The directives specified in a MARS request have the following syntax:
verb,
keyword1 = value 1,
... = ...,
keywordN = value N
Where:
- verb:
identifies the action to be taken, e.g. retrieve or list.
- keyword:
is a known MARS variable, e.g. type or date
- value:
is the value assigned to the keyword, e.g. Analysis or temperature.
Format |
Example |
|---|---|
single value |
|
list of values |
|
range of values |
|
The following example shows a retrieve request with a mix of single, list and range of values:
retrieve,
class = od,
stream = oper,
expver = 1,
date = -1,
type = analysis,
levtype = model levels,
levelist = 1/to/91,
param = temperature,
grid = 0.1/0.1
Retrieve requests have to specify, at least, directives to identify the data. The ones to identify fields are defined in the MARS Catalogue. Data manipulation (post-processing, such as grid) directives are optional, depending on user needs.