Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Mar 26, 2024
1 parent 87f5e37 commit a29d35e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
23 changes: 4 additions & 19 deletions docs/building/sources/mars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,14 @@ specification`_, with the exception of the ``date``, ``time``` and
The missing keys will be filled with the default values, as defined in
the MARS language specification.

.. code:: yaml
mars:
levtype: sfc
param: [2t, msl]
grid: [0.25, 0.25]
.. literalinclude:: mars1.yaml
:language: yaml

Data from several levels types must be requested in separate requests,
with the ``join`` command.

.. code:: yaml
join:
- mars:
levtype: sfc
param: [2t, msl]
grid: [0.25, 0.25]
- mars:
levtype: pl
param: [u, v]
grid: [0.25, 0.25]
.. literalinclude:: mars2.yaml
:language: yaml

See :ref:`naming-variables` for information on how to name the variables
when mixing single level and multi-levels variables in the same dataset.
Expand Down
5 changes: 5 additions & 0 deletions docs/building/sources/mars1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
input:
mars:
levtype: sfc
param: [2t, msl]
grid: [0.25, 0.25]
10 changes: 10 additions & 0 deletions docs/building/sources/mars2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
input:
join:
- mars:
levtype: sfc
param: [2t, msl]
grid: [0.25, 0.25]
- mars:
levtype: pl
param: [u, v]
grid: [0.25, 0.25]

0 comments on commit a29d35e

Please sign in to comment.