From cd76015db92a9afd8daa588183e5981312ec3e68 Mon Sep 17 00:00:00 2001 From: Kevin Dougherty <69815622+kevindougherty-noaa@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:16:59 -0500 Subject: [PATCH] Add obspace templates for stat analysis job (#53) Add obspace templates for stat analysis jobs run in global-workflow. --------- Co-authored-by: Dan Holdaway <27729500+danholdaway@users.noreply.github.com> --- .../obstats/aero/viirs_n20_template.yaml.j2 | 50 +++++++++++++++++++ .../obstats/aero/viirs_npp_template.yaml.j2 | 50 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 algorithm/obstats/aero/viirs_n20_template.yaml.j2 create mode 100644 algorithm/obstats/aero/viirs_npp_template.yaml.j2 diff --git a/algorithm/obstats/aero/viirs_n20_template.yaml.j2 b/algorithm/obstats/aero/viirs_n20_template.yaml.j2 new file mode 100644 index 0000000..9606dd9 --- /dev/null +++ b/algorithm/obstats/aero/viirs_n20_template.yaml.j2 @@ -0,0 +1,50 @@ +- obs space: + name: aod + obsdatain: + engine: + type: H5File + obsfile: {{ aero_obsdatain_path }}/diag_{{ obspace }}_{{ stat_current_cycle_YMDH }}.nc4 + simulated variables: {{ aero_obsdatatin_simulated_variables }} + observed variables: {{ aero_obsdatain_observed_variables }} + variables: {{ aero_variables }} + groups to process: {{ aero_file_groups }} + qc groups: {{ aero_file_qc_groups }} + statistics to compute: ['mean', 'count', 'RMS'] + output file: "{{ obspace }}_{{ stat_current_cycle_YMDH }}_output_aod.nc" + domains to process: + - domain: + name: "nowhere" + first mask variable: latitude + first mask range: [-180,-100] + - domain: + name: "SH" + first mask variable: latitude + first mask range: [-90,0] + - domain: + name: "NH" + first mask variable: latitude + first mask range: [0,90] + - domain: + name: "CONUS" + first mask variable: latitude + first mask range: [25,49] + second mask variable: longitude + second mask range: [-125,-66] + - domain: + name: "Europe" + first mask variable: latitude + first mask range: [35,70] + second mask variable: longitude + second mask range: [-11,38] + - domain: + name: "Africa" + first mask variable: latitude + first mask range: [-35,37] + second mask variable: longitude + second mask range: [-17,52] + - domain: + name: "Asia" + first mask variable: latitude + first mask range: [0,70] + second mask variable: longitude + second mask range: [38, 180] diff --git a/algorithm/obstats/aero/viirs_npp_template.yaml.j2 b/algorithm/obstats/aero/viirs_npp_template.yaml.j2 new file mode 100644 index 0000000..e0909bb --- /dev/null +++ b/algorithm/obstats/aero/viirs_npp_template.yaml.j2 @@ -0,0 +1,50 @@ +- obs space: + name: aod + obsdatain: + engine: + type: H5File + obsfile: {{ aero_obsdatain_path }}/diag_{{ obspace }}_{{ stat_current_cycle_YMDH }}.nc4 + simulated variables: {{ aero_obsdatatin_simulated_variables }} + observed variables: {{ aero_obsdatain_observed_variables }} + variables: {{ aero_variables }} + groups to process: {{ aero_file_groups }} + qc groups: {{ aero_file_qc_groups }} + statistics to compute: ['mean', 'count', 'RMS'] + output file: "{{ obspace }}_{{ stat_current_cycle_YMDH }}_output_aod.nc" + domains to process: + - domain: + name: "nowhere" + first mask variable: latitude + first mask range: [-180,-100] + - domain: + name: "SH" + first mask variable: latitude + first mask range: [-90,0] + - domain: + name: "NH" + first mask variable: latitude + first mask range: [0,90] + - domain: + name: "CONUS" + first mask variable: latitude + first mask range: [25,49] + second mask variable: longitude + second mask range: [-125,-66] + - domain: + name: "Europe" + first mask variable: latitude + first mask range: [35,70] + second mask variable: longitude + second mask range: [-11,38] + - domain: + name: "Africa" + first mask variable: latitude + first mask range: [-35,37] + second mask variable: longitude + second mask range: [-17,52] + - domain: + name: "Asia" + first mask variable: latitude + first mask range: [0,70] + second mask variable: longitude + second mask range: [38, 180] \ No newline at end of file