-
Notifications
You must be signed in to change notification settings - Fork 8
Add IODA and Increment comparisons #798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
12f6714
3a615c8
1ba3b73
03e7d5e
f680bfe
650e748
56067e4
abc0d93
d52adb0
d084323
144cf9b
e98408d
3c89cee
60b47da
2f93dc0
45d34f8
66e0fc5
7097c05
fdccc56
026024d
b4a850e
3ed6b40
24cc657
d2ae861
6d55867
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,9 +41,12 @@ | |
| {% for path in comparison_experiment_paths %} | ||
| JediOopsLogParser-{{model_component}}-{{ loop.index0 }} | ||
| {% endfor %} | ||
| JediLogComparison-{{model_component}}[^]:fail? => EvaComparisonIncrement-{{model_component}} => PublishComparisons => comparison_fail | ||
| JediLogComparison-{{model_component}}[^]:fail? => EvaComparisonJediLog-{{model_component}} => PublishComparisons => comparison_fail | ||
| JediLogComparison-{{model_component}}[^]:fail? => EvaComparisonObservations-{{model_component}} => PublishComparisons => comparison_fail | ||
| CompareIodaObservations-{{model_component}}? & CompareIncrement-{{model_component}}? & JediLogComparison-{{model_component}}[^]? => Pass | ||
|
|
||
| CompareIodaObservations-{{model_component}}:fail? => EvaComparisonObservations-{{model_component}}? => PublishComparisons? | ||
| CompareIncrement-{{model_component}}:fail? => EvaComparisonIncrement-{{model_component}} => PublishComparisons? | ||
| JediLogComparison-{{model_component}}[^]:fail? => EvaComparisonJediLog-{{model_component}} => PublishComparisons? | ||
| PublishComparisons? => comparison_fail? | ||
| {% endif %} | ||
| {% endfor %} | ||
| """ | ||
|
|
@@ -69,12 +72,30 @@ | |
| script = "exit 1" | ||
|
|
||
| {% for model_component in model_components %} | ||
| [[Pass]] | ||
| script = """ | ||
| cylc set $CYLC_WORKFLOW_ID//$datetime/EvaComparisonIncrement-{{model_component}} --out skip | ||
| cylc set $CYLC_WORKFLOW_ID//$datetime/EvaComparisonJediLog-{{model_component}} --out skip | ||
| cylc set $CYLC_WORKFLOW_ID//$datetime/EvaComparisonObservations-{{model_component}} --out skip | ||
| cylc set $CYLC_WORKFLOW_ID//$datetime/PublishComparisons --out skip | ||
| cylc set $CYLC_WORKFLOW_ID//$datetime/comparison_fail --out skip | ||
| """ | ||
|
Comment on lines
+76
to
+82
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just one thing, what is the purpose of this here? I think I saw this on another PR as well.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These tasks are triggered by a fail state in the comparison tasks For some reason, cylc decides to stall the workflow (causing a failure state) if |
||
|
|
||
| [[CompareIncrement-{{model_component}}]] | ||
| script = "swell task CompareIncrement $config -d $datetime -m {{model_component}}" | ||
|
|
||
| [[EvaComparisonIncrement-{{model_component}}]] | ||
| script = "swell task EvaComparisonIncrement $config -d $datetime -m {{model_component}}" | ||
|
|
||
| [[EvaComparisonJediLog-{{model_component}}]] | ||
| script = "swell task EvaComparisonJediLog $config -d $datetime -m {{model_component}}" | ||
|
|
||
| [[PublishComparisons]] | ||
| script = "swell task PublishComparisons $config -d $datetime -m {{model_component}}" | ||
|
|
||
| [[CompareIodaObservations-{{model_component}}]] | ||
| script = "swell task CompareIodaObservations $config -d $datetime -m {{model_component}}" | ||
|
|
||
| [[EvaComparisonObservations-{{model_component}}]] | ||
| script = "swell task EvaComparisonObservations $config -d $datetime -m {{model_component}}" | ||
| platform = {{platform}} | ||
|
|
@@ -84,9 +105,6 @@ | |
| --{{key}} = {{value}} | ||
| {%- endfor %} | ||
|
|
||
| [[PublishComparisons]] | ||
| script = "swell task PublishComparisons $config -d $datetime -m {{model_component}}" | ||
|
|
||
| {% if comparison_experiment_paths is mapping %} | ||
| {% for path in comparison_experiment_paths.values() %} | ||
| [[JediOopsLogParser-{{model_component}}-{{ loop.index0 }}]] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,9 @@ class SuiteConfig(QuestionContainer, Enum): | |
| qd.cycle_times(default_value=[None], widget_type=WidgetType.STRING_CHECK_LIST), | ||
| qd.model_components(), | ||
| qd.runahead_limit(), | ||
| qd.ioda_fields_for_comparison(['hofx0/{variable}', | ||
| 'hofx1/{variable}']), | ||
| qd.observations([]), | ||
| ] | ||
| ) | ||
|
|
||
|
|
@@ -41,6 +44,21 @@ class SuiteConfig(QuestionContainer, Enum): | |
| compare, | ||
| qd.comparison_log_type('variational'), | ||
| qd.model_components(['geos_marine']), | ||
| qd.observations([ | ||
| "adt_cryosat2n", | ||
| "adt_jason3", | ||
| "adt_saral", | ||
| "adt_sentinel3a", | ||
| "adt_sentinel3b", | ||
| "insitu_profile_argo", | ||
| "sst_ostia", | ||
| "sss_smos", | ||
| "sss_smapv5", | ||
| "sst_abi_g16_l3c", | ||
| "sst_gmi_l3u", | ||
| "sst_viirs_n20_l3u", | ||
| "temp_profile_xbt" | ||
| ]) | ||
| ] | ||
| ) | ||
|
|
||
|
|
@@ -52,6 +70,42 @@ class SuiteConfig(QuestionContainer, Enum): | |
| compare, | ||
| qd.comparison_log_type('variational'), | ||
| qd.model_components(['geos_atmosphere']), | ||
| qd.observations([ | ||
| "aircraft_temperature", | ||
| "aircraft_wind", | ||
| "airs_aqua", | ||
| "amsr2_gcom-w1", | ||
| "amsua_aqua", | ||
| "amsua_metop-b", | ||
| "amsua_metop-c", | ||
| "amsua_n15", | ||
| "amsua_n18", | ||
| "amsua_n19", | ||
| "atms_n20", | ||
| "atms_npp", | ||
| "avhrr3_metop-b", | ||
| "avhrr3_n18", | ||
| "avhrr3_n19", | ||
| "cris-fsr_n20", | ||
| "cris-fsr_npp", | ||
| "gmi_gpm", | ||
| "gps", | ||
| "iasi_metop-b", | ||
| "iasi_metop-c", | ||
| "mhs_metop-b", | ||
| "mhs_metop-c", | ||
| "mhs_n19", | ||
| "mls55_aura", | ||
| "omi_aura", | ||
| "ompsnm_npp", | ||
| "pibal", | ||
| "satwind", | ||
| "scatwind", | ||
| "sfcship", | ||
| "sfc", | ||
| "sondes", | ||
| "ssmis_f17" | ||
| ]) | ||
| ] | ||
| ) | ||
|
|
||
|
|
@@ -63,6 +117,10 @@ class SuiteConfig(QuestionContainer, Enum): | |
| compare, | ||
| qd.comparison_log_type('variational'), | ||
| qd.model_components(['geos_cf']), | ||
| qd.observations([ | ||
| "tempo_no2_tropo", | ||
| "tropomi_s5p_no2_tropo", | ||
| ]) | ||
| ] | ||
| ) | ||
|
|
||
|
|
@@ -74,6 +132,95 @@ class SuiteConfig(QuestionContainer, Enum): | |
| compare, | ||
| qd.comparison_log_type('fgat'), | ||
| qd.model_components(['geos_marine']), | ||
| qd.observations([ | ||
| "adt_cryosat2n", | ||
| "adt_jason3", | ||
| "adt_jason3n", | ||
| "adt_saral", | ||
| "adt_sentinel3a", | ||
| "adt_sentinel3b", | ||
| "adt_sentinel6a", | ||
| "adt_swot_nadir", | ||
| "insitu_profile_argo", | ||
| "insitu_profile_ctd", | ||
| "insitu_profile_pirata", | ||
| "insitu_profile_rama", | ||
| "insitu_profile_tao", | ||
| "icec_amsr2_north", | ||
| "icec_amsr2_south", | ||
| "icec_nsidc_nh", | ||
| "icec_nsidc_sh", | ||
| "sst_ostia", | ||
| "sss_smos", | ||
| "sss_smapv5", | ||
| "sst_abi_g16_l3c", | ||
| "sst_avhrrf_mb_l3u", | ||
| "sst_avhrrf_mc_l3u", | ||
| "sst_viirs_n20_l3u", | ||
| "sst_viirs_npp_l3u", | ||
| "temp_profile_xbt" | ||
| ]) | ||
| ] | ||
| ) | ||
|
|
||
| # -------------------------------------------------------------------------------------------------- | ||
|
|
||
| compare_hofx = QuestionList( | ||
| list_name="compare_hofx", | ||
| questions=[ | ||
| compare, | ||
| qd.comparison_log_type('hofx'), | ||
| qd.model_components(['geos_atmosphere']), | ||
| qd.ioda_fields_for_comparison(['hofx/{variable}']), | ||
| qd.observations([ | ||
| "aircraft_temperature", | ||
| "aircraft_wind", | ||
| "airs_aqua", | ||
| "amsr2_gcom-w1", | ||
| "amsua_aqua", | ||
| "amsua_metop-b", | ||
| "amsua_metop-c", | ||
| "amsua_n15", | ||
| "amsua_n18", | ||
| "amsua_n19", | ||
| "atms_n20", | ||
| "atms_npp", | ||
| "avhrr3_metop-b", | ||
| "avhrr3_n18", | ||
| "avhrr3_n19", | ||
| "cris-fsr_n20", | ||
| "cris-fsr_npp", | ||
| "gmi_gpm", | ||
| "gps", | ||
| "iasi_metop-b", | ||
| "iasi_metop-c", | ||
| "mhs_metop-b", | ||
| "mhs_metop-c", | ||
| "mhs_n19", | ||
| "mls55_aura", | ||
| "omi_aura", | ||
| "ompsnm_npp", | ||
| "pibal", | ||
| "satwind", | ||
| "scatwind", | ||
| "sfcship", | ||
| "sfc", | ||
| "sondes", | ||
| "ssmis_f17" | ||
| ]), | ||
| qd.mock_experiment(True) | ||
| ] | ||
| ) | ||
|
|
||
| # -------------------------------------------------------------------------------------------------- | ||
|
|
||
| compare_hofx_cf = QuestionList( | ||
| list_name="compare_hofx_cf", | ||
| questions=[ | ||
| compare, | ||
| qd.comparison_log_type('hofx'), | ||
| qd.ioda_fields_for_comparison(['hofx/{variable}']), | ||
| qd.model_components(['geos_cf']), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is missing here? |
||
| ] | ||
| ) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no increments produced for hofx suites. And
CompareIncrementwill unconditionally run for hofx suites I think.