-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/multi_model_build
- Loading branch information
Showing
43 changed files
with
695 additions
and
136 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
[flake8] | ||
exclude = .git,.github,venv,__pycache__,old,build,dist | ||
max-line-length = 160 |
This file contains 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 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,81 @@ | ||
name: WCOSS2 | ||
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- develop | ||
types: [closed] | ||
|
||
jobs: | ||
|
||
getlabels: | ||
runs-on: ubuntu-22.04 | ||
outputs: | ||
labels: ${{ steps.id.outputs.labels }} | ||
steps: | ||
- name: Get Label Steps | ||
id: id | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
OWNER: ${{ github.repository_owner }} | ||
REPO_NAME: ${{ github.event.repository.name }} | ||
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} | ||
run: | | ||
LABELS1="$(gh api repos/$OWNER/$REPO_NAME/pulls/$PULL_REQUEST_NUMBER --jq '.labels.[].name')" | ||
LABELS=$(echo "$LABELS1" | tr '\n' ' ') | ||
echo "labels=$LABELS" >> $GITHUB_OUTPUT | ||
passed: | ||
if: contains( needs.getlabels.outputs.labels, 'CI-Wcoss2-Passed') && github.event.pull_request.merged | ||
runs-on: ubuntu-latest | ||
needs: | ||
- getlabels | ||
|
||
steps: | ||
- name: Passed | ||
uses: schneegans/dynamic-badges-action@v1.6.0 | ||
with: | ||
forceUpdate: true | ||
auth: ${{ secrets.CLI_DYNAMIC_BADGES }} | ||
gistID: e35aa2904a54deae6bbb1fdc2d960c71 | ||
filename: wcoss2.json | ||
label: wcoss2 | ||
message: passing | ||
color: green | ||
|
||
failed: | ||
if: contains( needs.getlabels.outputs.labels, 'CI-Wcoss2-Failed') && github.event.pull_request.merged | ||
runs-on: ubuntu-latest | ||
needs: | ||
- getlabels | ||
|
||
steps: | ||
- name: Failed | ||
uses: schneegans/dynamic-badges-action@v1.6.0 | ||
with: | ||
forceUpdate: true | ||
auth: ${{ secrets.CLI_DYNAMIC_BADGES }} | ||
gistID: e35aa2904a54deae6bbb1fdc2d960c71 | ||
filename: wcoss2.json | ||
label: wcoss2 | ||
message: failing | ||
color: red | ||
|
||
|
||
pending: | ||
if: "!contains( needs.getlabels.outputs.labels, 'CI-Wcoss2-Passed') && !contains( needs.getlabels.outputs.labels, 'CI-Wcoss2-Failed')" | ||
runs-on: ubuntu-latest | ||
needs: | ||
- getlabels | ||
|
||
steps: | ||
- name: Pending | ||
uses: schneegans/dynamic-badges-action@v1.6.0 | ||
with: | ||
forceUpdate: true | ||
auth: ${{ secrets.CLI_DYNAMIC_BADGES }} | ||
gistID: e35aa2904a54deae6bbb1fdc2d960c71 | ||
filename: wcoss2.json | ||
label: wcoss2 | ||
message: pending | ||
color: orange |
This file contains 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 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 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,19 @@ | ||
experiment: | ||
system: gfs | ||
mode: cycled | ||
|
||
arguments: | ||
pslot: {{ 'pslot' | getenv }} | ||
app: S2S | ||
resdetatmos: 384 | ||
resensatmos: 192 | ||
resdetocean: 0.25 | ||
nens: 30 | ||
interval: 0 | ||
start: warm | ||
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT | ||
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR | ||
idate: 2021063018 | ||
edate: 2021070306 | ||
icsdir: /work/noaa/da/gvernier/ensda/ictest/1440x1080x75/ | ||
yaml: {{ HOMEgfs }}/ci/cases/gfsv17/marinehyb.yaml |
This file contains 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 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,21 @@ | ||
defaults: | ||
!INC {{ HOMEgfs }}/parm/config/gfs/yaml/defaults.yaml | ||
|
||
base: | ||
DOIAU: "YES" | ||
DO_JEDIATMVAR: "NO" | ||
DO_JEDIATMENS: "NO" | ||
DO_JEDIOCNVAR: "YES" | ||
DO_JEDISNOWDA: "NO" | ||
DO_MERGENSST: "NO" | ||
DOHYBVAR_OCN: "YES" | ||
DO_FIT2OBS: "YES" | ||
DO_VERFOZN: "YES" | ||
DO_VERFRAD: "YES" | ||
DO_VRFY_OCEANDA: "NO" | ||
FHMAX_GFS: 240 | ||
ACCOUNT: {{ 'HPC_ACCOUNT' | getenv }} | ||
|
||
marineanl: | ||
SOCA_INPUT_FIX_DIR: {{ HOMEgfs }}/fix/gdas/soca/1440x1080x75/soca | ||
SOCA_NINNER: 20 # revert to ~100 after the memory leak is fixed |
This file contains 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 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 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 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,8 @@ | ||
defaults: | ||
!INC {{ HOMEgfs }}/parm/config/gfs/yaml/defaults.yaml | ||
base: | ||
ACCOUNT: {{ 'HPC_ACCOUNT' | getenv }} | ||
DO_JEDIOCNVAR: "YES" | ||
DOHYBVAR_OCN: "YES" | ||
marineanl: | ||
SOCA_NINNER: 1 |
This file contains 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 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
Oops, something went wrong.