-
Notifications
You must be signed in to change notification settings - Fork 2
Add cx , varobs namelists for EPSMWS obsgroup #246
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
16ed9c5
add missing namelist files for EPSMWS and associated ctest
brettcandy 377942b
minor update to default fields
brettcandy 333dce2
add cx test for epsmws requested by reviewer
brettcandy 8bb0c4b
add cx test for sternamwr too
brettcandy 5e51629
Trigger CI
brettcandy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| &CXControlNL | ||
| CxFields=4,10,12,24,31,33,254,266,267,268,407,409,3209,3210,3236,3245,16222 | ||
| / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| &VarobsControlNL | ||
| Varfields=10,11,17,19,21,54,55,28,31,80 | ||
| / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| time window: | ||
| begin: 2018-01-01T00:00:00Z | ||
| end: 2018-01-01T01:00:00Z | ||
|
|
||
| observations: | ||
| - obs space: | ||
| name: EPSMWS | ||
| obsdatain: | ||
| engine: | ||
| type: H5File | ||
| obsfile: Data/dummy.nc4 | ||
| simulated variables: [dummy] | ||
| geovals: | ||
| filename: Data/cx_globalnamelist_epsmws.nc4 | ||
| obs filters: | ||
| # Set the flag of observations with missing values to "pass": we want to check if these | ||
| # values are encoded correctly in the Cx file. | ||
| - filter: Reset Flags to Pass | ||
| flags_to_reset: [10, 15] # missing, Hfailed | ||
| # Reject observation 3: we want to check if it is omitted from the Cx file, as expected. | ||
| - filter: Domain Check | ||
| where: | ||
| - variable: | ||
| name: MetaData/latitude | ||
| minvalue: 0.0 | ||
| - filter: Cx Writer | ||
| namelist_directory: ../etc/global/cx | ||
| reject_obs_with_any_variable_failing_qc: true | ||
| general_mode: debug | ||
| IC_PLevels: 5 | ||
| - filter: Cx Checker | ||
| expected_surface_variables: ["1","2","3","4","5","6","13","16","17"] | ||
| expected_upper_air_variables: ["1","5","11","29","30","31","34","35"] | ||
| expected_main_table_columns: | ||
| - # batch 1 - 9 1dvalues first ; then 2d values in expected order | ||
| # observation 3 is rejected by the tests above hence only 3 (1,2,4) columns | ||
| - ["27.10","37.10","67.10","77.10","47.10","57.10","7.10","87.10","17.10","1.10","1.20","1.30","11.10","11.20","11.30","41.10","41.20","41.30","21.10","21.20","21.30","31.10","31.20","31.30","51.10","51.20","51.30","71.10","71.20","71.30","61.10","61.20","61.30"] # column 1 - 1st observation | ||
| - ["**********","**********","**********","**********","**********","**********","**********","**********","**********","2.10","**********","2.30","12.10","**********","12.30","42.10","**********","42.30","22.10","**********","22.30","32.10","**********","32.30","52.10","**********","52.30","72.10","**********","72.30","62.10","**********","62.30"] # column 2 - 2nd observation | ||
| - ["27.40","37.40","67.40","77.40","47.40","57.40","7.40","87.40","17.40","4.10","4.20","4.30","14.10","14.20","14.30","44.10","44.20","44.30","24.10","24.20","24.30","34.10","34.20","34.30","54.10","54.20","54.30","74.10","74.20","74.30","64.10","64.20","64.30"] # column 3 - observation 4 | ||
| HofX: ObsValue # just a placeholder -- not used, but needed to force calls to postFilter. | ||
| benchmarkFlag: 1000 # just to keep the ObsFilters test happy | ||
| flaggedBenchmark: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| time window: | ||
| begin: 2018-01-01T00:00:00Z | ||
| end: 2018-01-01T01:00:00Z | ||
|
|
||
| observations: | ||
| - obs space: | ||
| name: SternaMWR | ||
| obsdatain: | ||
| engine: | ||
| type: H5File | ||
| obsfile: Data/dummy.nc4 | ||
| simulated variables: [dummy] | ||
| geovals: | ||
| filename: Data/cx_globalnamelist_sternamwr.nc4 | ||
| obs filters: | ||
| # Set the flag of observations with missing values to "pass": we want to check if these | ||
| # values are encoded correctly in the Cx file. | ||
| - filter: Reset Flags to Pass | ||
| flags_to_reset: [10, 15] # missing, Hfailed | ||
| # Reject observation 3: we want to check if it is omitted from the Cx file, as expected. | ||
| - filter: Domain Check | ||
| where: | ||
| - variable: | ||
| name: MetaData/latitude | ||
| minvalue: 0.0 | ||
| - filter: Cx Writer | ||
| namelist_directory: ../etc/global/cx | ||
| reject_obs_with_any_variable_failing_qc: true | ||
| general_mode: debug | ||
| IC_PLevels: 5 | ||
| - filter: Cx Checker | ||
| expected_surface_variables: ["1","2","3","4","5","6","13","16","17"] | ||
| expected_upper_air_variables: ["1","5","11","29","30","31","34","35"] | ||
| expected_main_table_columns: | ||
| - # batch 1 - 9 1dvalues first ; then 2d values in expected order | ||
| # observation 3 is rejected by the tests above hence only 3 (1,2,4) columns | ||
| - ["27.10","37.10","67.10","77.10","47.10","57.10","7.10","87.10","17.10","1.10","1.20","1.30","11.10","11.20","11.30","41.10","41.20","41.30","21.10","21.20","21.30","31.10","31.20","31.30","51.10","51.20","51.30","71.10","71.20","71.30","61.10","61.20","61.30"] # column 1 - 1st observation | ||
| - ["**********","**********","**********","**********","**********","**********","**********","**********","**********","2.10","**********","2.30","12.10","**********","12.30","42.10","**********","42.30","22.10","**********","22.30","32.10","**********","32.30","52.10","**********","52.30","72.10","**********","72.30","62.10","**********","62.30"] # column 2 - 2nd observation | ||
| - ["27.40","37.40","67.40","77.40","47.40","57.40","7.40","87.40","17.40","4.10","4.20","4.30","14.10","14.20","14.30","44.10","44.20","44.30","24.10","24.20","24.30","34.10","34.20","34.30","54.10","54.20","54.30","74.10","74.20","74.30","64.10","64.20","64.30"] # column 3 - observation 4 | ||
| HofX: ObsValue # just a placeholder -- not used, but needed to force calls to postFilter. | ||
| benchmarkFlag: 1000 # just to keep the ObsFilters test happy | ||
| flaggedBenchmark: 0 |
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.