From 7f0be077c5bbd9b1626cf4086bc296af846ce0ec Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Sun, 24 Mar 2024 09:58:16 +0000 Subject: [PATCH] updaye --- README.md | 2 +- docs/building/input.yaml | 6 ++++++ docs/building/operations.rst | 19 ++++--------------- docs/building/pipe.yaml | 6 ++++++ 4 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 docs/building/input.yaml create mode 100644 docs/building/pipe.yaml diff --git a/README.md b/README.md index 1c90f54..fbb5089 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ training = open_dataset("aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2", start=1979, end=2020) -test = open_dataset("aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2" +test = open_dataset("aifs-ea-an-oper-0001-mars-o96-1979-2022-1h-v2", start=2021, end=2022) ``` diff --git a/docs/building/input.yaml b/docs/building/input.yaml new file mode 100644 index 0000000..1c1b847 --- /dev/null +++ b/docs/building/input.yaml @@ -0,0 +1,6 @@ +input: + join: + - source1: + key: date + - source2 + - ... diff --git a/docs/building/operations.rst b/docs/building/operations.rst index 48a9159..2a33859 100644 --- a/docs/building/operations.rst +++ b/docs/building/operations.rst @@ -11,13 +11,9 @@ The join is the process of combining several sources data. Each source is expected to provide different variables at the same dates. -.. code-block:: yaml +.. literalinclude:: input.yaml + :language: yaml - input: - join: - - source1 - - source2 - - ... ******** @@ -42,12 +38,5 @@ first step of a pipe is typically a source, a join or another pipe. The following steps are filters. -.. code-block:: yaml - - input: - pipe: - - source - - filter1 - - filter2 - - ... - +.. literalinclude:: pipe.yaml + :language: yaml diff --git a/docs/building/pipe.yaml b/docs/building/pipe.yaml new file mode 100644 index 0000000..59855b1 --- /dev/null +++ b/docs/building/pipe.yaml @@ -0,0 +1,6 @@ +input: + pipe: + - source + - filter1 + - filter2 + - ...