-
Notifications
You must be signed in to change notification settings - Fork 50
Testing of the Marine DA jjobs #234
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
16 commits
Select commit
Hold shift + click to select a range
0342aa0
blank ctests for jjobs
guillaumevernieres e3ea02c
works but needs tidy
guillaumevernieres 8271d02
fname too long for fms ...
guillaumevernieres c2938a3
Merge branch 'develop' into feature/ctest_ocnice_3dvar
guillaumevernieres 056e266
some code tidy
guillaumevernieres 8bae5e3
removed debug prints
guillaumevernieres 5c19287
replacing machine in config
guillaumevernieres b057526
copy bkg
guillaumevernieres 8fcde59
Merge branch 'develop' into feature/ctest_ocnice_3dvar
guillaumevernieres 59c4bde
manual merge of prep script
guillaumevernieres cd08254
adjusted a few things related to jjob refactor ...
guillaumevernieres 7632cbf
tidy ... some and local2hpc
guillaumevernieres 1803f48
code tidy and some shellcheck
guillaumevernieres c033216
Merge branch 'develop' into feature/ctest_ocnice_3dvar
guillaumevernieres 8d5c10e
bomb obs, fix yaml
guillaumevernieres f890ccd
clean exp
guillaumevernieres 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
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
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,31 @@ | ||
| # test for creating an experiment directory within the global-workflow | ||
| file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test/soca/gw/testrun) | ||
|
|
||
| add_test(NAME test_gdasapp_setup_soca_cycled_exp | ||
| COMMAND ${PROJECT_SOURCE_DIR}/test/soca/gw/setup_workflow_exp.sh | ||
| ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
| WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/soca/gw/testrun) | ||
|
|
||
| add_test(NAME test_gdasapp_soca_bkg2comrot | ||
| COMMAND ${PROJECT_SOURCE_DIR}/test/soca/gw/bkg2comrot.sh | ||
| ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
| WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/soca/gw/testrun) | ||
| set_tests_properties(test_gdasapp_soca_bkg2comrot | ||
| PROPERTIES | ||
| DEPENDS "test_gdasapp_soca_cycled_exp") | ||
|
|
||
| add_test(NAME test_gdasapp_soca_jjob_soca_prep | ||
| COMMAND ${PROJECT_SOURCE_DIR}/test/soca/gw/jjob_prep.sh | ||
| ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
| WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/soca/gw/testrun) | ||
| set_tests_properties(test_gdasapp_soca_jjob_soca_prep | ||
| PROPERTIES | ||
| DEPENDS "test_gdasapp_soca_cycled_exp;test_gdasapp_soca_bkg2comrot") | ||
|
|
||
| add_test(NAME test_gdasapp_soca_jjob_soca_run | ||
| COMMAND ${PROJECT_SOURCE_DIR}/test/soca/gw/jjob_run.sh | ||
| ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
| WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/soca/gw/testrun) | ||
| set_tests_properties(test_gdasapp_soca_jjob_soca_run | ||
| PROPERTIES | ||
| DEPENDS "test_gdasapp_soca_cycled_exp;test_gdasapp_soca_bkg2comrot;test_gdasapp_soca_jjob_soca_prep") |
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,10 @@ | ||
| #!/bin/bash | ||
| bindir=$1 | ||
| srcdir=$2 | ||
|
|
||
| # export env. var. | ||
| source "${srcdir}/test/soca/gw/runtime_vars.sh" "${bindir}" "${srcdir}" | ||
|
|
||
| # prepare background from previous cycle | ||
| mkdir -p "${ROTDIR}/${PSLOT}/gdas.${PDY}/${gcyc}/ocean/" | ||
| cp -r "${bindir}/test/soca/bkg/"* "${ROTDIR}/${PSLOT}/gdas.${PDY}/${gcyc}/ocean/" |
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.