Skip to content
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

Feature/mpas dycore reorg #133

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
82dbe8c
Reorganize code for MPAS dycore. Isolate FV3 and MPAS pieces.
dustinswales Jul 19, 2024
4b3b5e3
Update submodules
dustinswales Jul 19, 2024
b01ced7
Added more build step pieces, up until the MPAS dycore build
dustinswales Jul 19, 2024
c127601
HR4 and SFS baseline update: Improve convection/radiation interaction…
lisa-bengtsson Jul 20, 2024
7544ee8
Land surface upgrades for HR4 (#2354)
HelinWei-NOAA Jul 24, 2024
e6ec3d1
update CMEPS (#2352)
DeniseWorthen Jul 26, 2024
b5a1976
Fix dumpfields=true option by using ESMF_FieldBundleWrite (#2355)
DusanJovic-NOAA Jul 30, 2024
9e82655
Some more changes. Almost building.
dustinswales Jul 30, 2024
ee4f19a
Add omega calculation and change LSM diag option to RTs (#2373)
dpsarmie Aug 1, 2024
f0c3a78
MPAS building in UFSATM! Some more reorganization. Initial infrastruc…
dustinswales Aug 1, 2024
74abf0f
initialize scalar field when created for non-CSG (cube-sphere grid) c…
DeniseWorthen Aug 6, 2024
fe47b33
Forgot to link to personal for of MPAS submodule
dustinswales Aug 7, 2024
fcf0022
In fv3atm: convert GFS DDTs from blocked data structures to contiguou…
climbfuji Aug 8, 2024
a1143cc
Addition of python script to add yaml-based test option + Creation of…
jkbk2004 Aug 12, 2024
f26d538
Address reviewers comments
dustinswales Aug 13, 2024
4c2f900
Address comments
dustinswales Aug 13, 2024
6d0454c
update to MOM6 main 20240729 commit (gfdl-to-main-2024-05-31) (#2381)
jiandewang Aug 17, 2024
b3cdd8e
Allow use of downscaled warmstart files for cpld_control_sfs test (#2…
DeniseWorthen Aug 21, 2024
4952814
Add MPAS to default_vars.sh
dustinswales Aug 23, 2024
fcc9f84
sync with head of NOAA-EMC UPP develop (#2326)
SamuelTrahanNOAA Aug 23, 2024
94a3cd7
Unify CDEPS gfs, cfsr, and gefs datm datamodes + Improve error checki…
NickSzapiro-NOAA Aug 27, 2024
1c4fcf1
Combination for CCPP-physics #213 and #218 (H2O scheme refactor and C…
grantfirl Aug 29, 2024
9ae4f54
Update CMEPS; fix aux history functionality for float variable type; …
DeniseWorthen Sep 3, 2024
d6418b4
Move MPAS to ufs-community reporitory
dustinswales Sep 3, 2024
7d0e826
Revert unneeded change
dustinswales Sep 3, 2024
6a4e09e
update mom6 to its main repo. 20240824 commit (FMA) (#2412)
jiandewang Sep 9, 2024
7062191
Update damping and time step parameters (#2363)
dpsarmie Sep 13, 2024
25ee7f6
Fire Coupling FV3ATM and Community Fire Behavior Model (#2220)
danrosen25 Sep 17, 2024
38a29a6
Update CICE and use EMC/CICE:develop branch from CICE-Consortium:main…
NickSzapiro-NOAA Sep 19, 2024
2ccc549
Bump libraries on WCOSS2 to ip/4.0.0 w3emc/2.12.0 and all platforms …
BrianCurtis-NOAA Sep 25, 2024
bad50ef
Support IntelLLVM compiler (#2224)
DusanJovic-NOAA Oct 1, 2024
ee33231
Synced FV3
dustinswales Oct 2, 2024
55f4f66
Updated FV3 submodule hash
dustinswales Oct 2, 2024
e12268e
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
dustinswales Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
473 changes: 473 additions & 0 deletions .github/linters/.python-lint

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---

extends: default

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
colons:
level: warning
commas: disable
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
level: warning
hyphens:
level: warning
indentation:
level: warning
indent-sequences: consistent
line-length: disable
truthy: disable
trailing-spaces: disable

2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Please delete what is not needed.
* MOM6 -
* NOAHMP -
* WW3 -
* fire_behavior
* stochastic_physics -
```

Expand Down Expand Up @@ -89,6 +90,7 @@ Example:
* MOM6:
* NOAHMP:
* WW3:
* fire_behavior:
* stochastic_physics:
* None

Expand Down
65 changes: 32 additions & 33 deletions .github/workflows/aux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,42 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: Share helper id
run: echo -n ${{ github.run_id }} >~/id_file
- name: Share helper id
run: echo -n ${{ github.run_id }} >~/id_file

- uses: actions/cache@v2
with:
path: ~/id_file
key: helperid-${{ github.event.workflow_run.id }}
- uses: actions/cache@v4
with:
path: ~/id_file
key: helperid-${{ github.event.workflow_run.id }}

repocheck:
name: Repo check
runs-on: ubuntu-20.04

steps:
- name: Check up-to-dateness and post comment
run: |
trap 'echo "exit-code=$?" >> "$GITHUB_OUTPUT"' EXIT
head_sha=${{ github.event.pull_request.head.sha }}
head_brc=${{ github.event.pull_request.head.ref }}
head_url=${{ github.event.pull_request.head.repo.html_url }}
git clone -q -b $head_brc $head_url .
git checkout -q $head_sha
git submodule -q update --init --recursive
cd ${{ github.workspace }}/tests/ci
url=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY
pr_number=$(curl -sS -H $app $url/pulls \
| jq -r '.[] | select(.head.sha == "'"$head_sha"'") | .number')
echo "pr_number is $pr_number"
pr_uid=${{ github.event.pull_request.head.repo.owner.login }}
echo "pr_uid is $pr_uid"
./repo_check.sh
#comment="$(./repo_check.sh 2>/dev/null)"
#echo "comment is $comment"
#if [[ -n $comment ]]; then
# curl -sS -X POST -H $app -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
# $url/issues/$pr_number/comments -d '{"body": "'"${comment}"'"}'
# echo -n "failure" >~/repocheck_file
#else
# echo -n "success" >~/repocheck_file
#fi

- name: Check up-to-dateness and post comment
run: |
trap 'echo "exit-code=$?" >> "$GITHUB_OUTPUT"' EXIT
head_sha=${{ github.event.pull_request.head.sha }}
head_brc=${{ github.event.pull_request.head.ref }}
head_url=${{ github.event.pull_request.head.repo.html_url }}
git clone -q -b $head_brc $head_url .
git checkout -q $head_sha
git submodule -q update --init --recursive
cd ${{ github.workspace }}/tests/ci
url=$GITHUB_API_URL/repos/$GITHUB_REPOSITORY
pr_number=$(curl -sS -H $app $url/pulls \
| jq -r '.[] | select(.head.sha == "'"$head_sha"'") | .number')
echo "pr_number is $pr_number"
pr_uid=${{ github.event.pull_request.head.repo.owner.login }}
echo "pr_uid is $pr_uid"
./repo_check.sh
#comment="$(./repo_check.sh 2>/dev/null)"
#echo "comment is $comment"
#if [[ -n $comment ]]; then
# curl -sS -X POST -H $app -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
# $url/issues/$pr_number/comments -d '{"body": "'"${comment}"'"}'
# echo -n "failure" >~/repocheck_file
#else
# echo -n "success" >~/repocheck_file
#fi
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
current: ${{ steps.check.outputs.current }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Wait for caching source
run: sleep 30

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/id_file
key: helperid-${{ github.run_id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/superlinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Super-Linter
uses: super-linter/[email protected]
env:
LINTER_RULES_PATH: /
LINTER_RULES_PATH: '.github/linters/'
DEFAULT_BRANCH: origin/develop
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*(tests/fv3_conf/.*|tests/ci/.*|tests/auto/.*|tests/auto-jenkins/.*|tests/opnReqTests/.*|tests/opnReqTest|tests/atparse.bash).*
Expand All @@ -33,5 +33,5 @@ jobs:
#VALIDATE_GITHUB_ACTIONS: true
#VALIDATE_LUA: true
#VALIDATE_MARKDOWN: true
#VALIDATE_PYTHON_PYLINT: true
#VALIDATE_YAML: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_YAML: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ tests/fv3_conf/compile_slurm.IN
tests/fv3_conf/compile_qsub.IN
tests/fv3_conf/fv3_slurm.IN
tests/fv3_conf/fv3_qsub.IN
tests/rt_temp.conf
build*.log*
rocoto_workflow*
fail_compile_*
Expand Down
10 changes: 7 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NCAR/fv3atm
branch = feature/mpas-dycore
url = https://github.com/dustinswales/fv3atm
branch = feature/mpas-dycore-reorg
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand Down Expand Up @@ -29,7 +29,7 @@
[submodule "CICE"]
path = CICE-interface/CICE
url = https://github.com/NOAA-EMC/CICE
branch = emc/develop
branch = develop
[submodule "CDEPS"]
path = CDEPS-interface/CDEPS
url = https://github.com/NOAA-EMC/CDEPS
Expand All @@ -46,3 +46,7 @@
path = NOAHMP-interface/noahmp
url = https://github.com/NOAA-EMC/noahmp
branch = develop
[submodule "fire_behavior"]
path = fire_behavior
url = https://github.com/NOAA-EMC/fire_behavior
branch = emc/develop
3 changes: 0 additions & 3 deletions CDEPS-interface/cdeps_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ list(APPEND cdeps_dshr_files

list(APPEND cdeps_datm_files
CDEPS/datm/atm_comp_nuopc.F90
CDEPS/datm/datm_datamode_cfsr_mod.F90
CDEPS/datm/datm_datamode_clmncep_mod.F90
CDEPS/datm/datm_datamode_core2_mod.F90
CDEPS/datm/datm_datamode_cplhist_mod.F90
CDEPS/datm/datm_datamode_era5_mod.F90
CDEPS/datm/datm_datamode_gefs_mod.F90
CDEPS/datm/datm_datamode_gfs_mod.F90
CDEPS/datm/datm_datamode_gfs_hafs_mod.F90
CDEPS/datm/datm_datamode_jra_mod.F90
CDEPS/datm/datm_datamode_simple_mod.F90
)
Expand Down
2 changes: 1 addition & 1 deletion CICE-interface/CICE
Submodule CICE updated 106 files
Loading