From 7717c0e7401e344a6bce37a4f8ecc11399256936 Mon Sep 17 00:00:00 2001 From: DavidNew-NOAA <134300700+DavidNew-NOAA@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:30:45 -0400 Subject: [PATCH] JCB-based obs+bias staging (#31) This PR is a companion to Global Workflow PR [#2992](https://github.com/NOAA-EMC/global-workflow/pull/2992) and GDASApp PR [#1312](https://github.com/NOAA-EMC/GDASApp/pull/1312). It add observation and bias files staging templates required for the above Global Workflow PR. --- algorithm/atmosphere/atm_bias_staging.yaml.j2 | 10 ++++++++++ algorithm/atmosphere/atm_obs_staging.yaml.j2 | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 algorithm/atmosphere/atm_bias_staging.yaml.j2 create mode 100644 algorithm/atmosphere/atm_obs_staging.yaml.j2 diff --git a/algorithm/atmosphere/atm_bias_staging.yaml.j2 b/algorithm/atmosphere/atm_bias_staging.yaml.j2 new file mode 100644 index 0000000..c91ea2e --- /dev/null +++ b/algorithm/atmosphere/atm_bias_staging.yaml.j2 @@ -0,0 +1,10 @@ +mkdir: + - '{{atmosphere_obsbiasout_path}}' +copy: + {% for observation_from_jcb in observations %} + {% if use_observer(observation_from_jcb) %} + {% if observation_from_jcb in bias_files %} + - ['{{atmosphere_obsbiasroot_path}}/{{atmosphere_obsbiasin_prefix}}{{bias_files[observation_from_jcb]}}', '{{atmosphere_obsbiasin_path}}'] + {% endif %} + {% endif %} + {% endfor %} diff --git a/algorithm/atmosphere/atm_obs_staging.yaml.j2 b/algorithm/atmosphere/atm_obs_staging.yaml.j2 new file mode 100644 index 0000000..34d0984 --- /dev/null +++ b/algorithm/atmosphere/atm_obs_staging.yaml.j2 @@ -0,0 +1,8 @@ +mkdir: + - '{{atmosphere_obsdatain_path}}' +copy: + {% for observation_from_jcb in observations %} + {% if use_observer(observation_from_jcb) %} + - ['{{atmosphere_obsdataroot_path}}/{{atmosphere_obsdatain_prefix}}{{observation_from_jcb}}{{atmosphere_obsdatain_suffix}}', '{{atmosphere_obsdatain_path}}'] + {% endif %} + {% endfor %}