Skip to content

Commit

Permalink
JCB-based obs+bias staging (#31)
Browse files Browse the repository at this point in the history
This PR is a companion to Global Workflow PR
[#2992](NOAA-EMC/global-workflow#2992) and
GDASApp PR [#1312](NOAA-EMC/GDASApp#1312).

It add observation and bias files staging templates required for the
above Global Workflow PR.
  • Loading branch information
DavidNew-NOAA authored Oct 9, 2024
1 parent 2b46aa1 commit 7717c0e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions algorithm/atmosphere/atm_bias_staging.yaml.j2
Original file line number Diff line number Diff line change
@@ -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 %}
8 changes: 8 additions & 0 deletions algorithm/atmosphere/atm_obs_staging.yaml.j2
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 7717c0e

Please sign in to comment.