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

generalization of number of soil layers #31

Open
wants to merge 144 commits into
base: nsoil9
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
4d05445
Fixed the warm bias in stratosphere from MERRA2 coupled microphysics …
AnningCheng-NOAA Jul 24, 2023
3ad8ac0
Update WW3: Sync develop branch to dev/ufs-weather-model branch - 202…
MatthewMasarik-NOAA Jul 26, 2023
506e532
Update inline post (#1794)
WenMeng-NOAA Jul 27, 2023
e50a4c0
Ignore empty fv3atm output bundle (#1825)
DusanJovic-NOAA Jul 28, 2023
2d09adf
Use inline post with cubed sphere history output (#1831)
DusanJovic-NOAA Jul 31, 2023
641887b
Update CICE (#1842)
DeniseWorthen Aug 2, 2023
5aeeffd
Update the libraries and gocart (#1745)
junwang-noaa Aug 7, 2023
34641ed
soil layer depth is given via namelist
Aug 14, 2023
cd8535b
Make signs of fields exported by ATM consistent with positive-down fo…
DeniseWorthen Aug 14, 2023
bb525bb
update MOM6 to its main repository 20230703 and 20230811 updating (#1…
jiandewang Aug 16, 2023
1afd3f7
generalization of the soil init
Aug 17, 2023
24eaa87
update fv3 repo
Aug 17, 2023
0eee0a8
Few small fixes to Thompson MP (#1734)
grantfirl Aug 18, 2023
401be6a
optimize module_mp_soil_init
Aug 19, 2023
c0b6d76
more generalization in noahmpdrv.F90
Aug 21, 2023
0029ef1
bypass init soil interpolation for warmstart
Aug 21, 2023
bef8280
Changes to Logging and Initialization of the CLM Lake Model (Includi…
SamuelTrahanNOAA Aug 22, 2023
7e9063d
Update modulefiles to use spack-stack unified environment (#1707)
ulmononian Aug 24, 2023
c1885d4
update ccpp-physics abd fv3 repo
HelinWei-NOAA Aug 25, 2023
f590ec8
Fix SW net to ocean (#1773)
DeniseWorthen Aug 25, 2023
03fad6f
Bug fixes for 32-bit physics & correct the lake scheme in FV3_HRRR_c3…
SamuelTrahanNOAA Aug 29, 2023
a52686c
Use optional chunksizes argument in register_restart_field calls (com…
DusanJovic-NOAA Aug 31, 2023
788897d
Add Scotch 7.0.3 modules to WCOSS2 (#1871)
JessicaMeixner-NOAA Sep 1, 2023
d3daaf1
2D advection of cellular automata (Combined PR# 1804) (#1870)
lisa-bengtsson Sep 5, 2023
1787f26
Add run time information and update fv3 to use unified missing value …
junwang-noaa Sep 7, 2023
04a6501
add SPP support to G-F deep convection (#1876)
JiliDong-NOAA Sep 11, 2023
e7934cf
WW3: Fix Intel CI (#1890)
MatthewMasarik-NOAA Sep 12, 2023
dd41cc6
MYNN SFC OpenACC Acceleration (#1891)
grantfirl Sep 14, 2023
d37ff7c
Updates for cloud autort and blstores (#1887)
zach1221 Sep 18, 2023
e053209
Add Hercules support (#1733)
ulmononian Sep 20, 2023
a75d5fe
update CICE (#1902)
DeniseWorthen Sep 21, 2023
f7a94ce
Update fv3atm io routines to use same type kind for both axes and dat…
DusanJovic-NOAA Sep 26, 2023
83e477f
Pbl tapering (#1910)
pjpegion Sep 28, 2023
41811b8
Quartet of bug fixes for: c3 scheme, quilting restart with 32-bit phy…
SamuelTrahanNOAA Oct 3, 2023
c2d7026
update CMEPS for refactor of esmFldsExchange_nems (#1894)
DeniseWorthen Oct 5, 2023
b95e334
Make exchanged field names consistent between CMEPS,MOM6,CICE6 (#1906)
DeniseWorthen Oct 6, 2023
413257b
Mean to inst field names, part I (#1925)
DeniseWorthen Oct 10, 2023
68050e5
Add coupled IAU RT test (#1916)
junwang-noaa Oct 12, 2023
fb788ba
Bug fix for MERRA2 coupled Thompson microphysics and UPP update (#1915)
AnningCheng-NOAA Oct 18, 2023
001f6f1
Allow instantaneous SW and LW fluxes to be used when cpllnd=.true. (r…
DeniseWorthen Oct 20, 2023
3182954
Develop meso fix new ksmax -- added testing for UGWPv1 (#1923)
mdtoyNOAA Oct 24, 2023
63a43d9
[GOCART] update to gocart hash f7b34e - important updates for FENGSHA…
bbakernoaa Oct 26, 2023
020e783
WCOSS2/Acorn update DT_ATMOS to 120 for run completion using "faster"…
BrianCurtis-NOAA Oct 27, 2023
812aac5
Update to spack-stack-1.5.0 (update to gocart hash f7b34e) (#1920)
climbfuji Oct 30, 2023
ce6c046
Add zstandard compression to fv3atm; change references from "nems" to…
DusanJovic-NOAA Oct 31, 2023
971cfc5
Feature reorg ozphys (#1851)
dustinswales Nov 2, 2023
4513c26
Add 3-moment option for NSSL cloud microphysics (#1924)
MicroTed Nov 6, 2023
263edeb
update RT soil layer thickness
HelinWei-NOAA Nov 6, 2023
d38717f
merge
HelinWei-NOAA Nov 6, 2023
cec22ea
Merge branch 'ufs-community-develop' into nsoilg
HelinWei-NOAA Nov 6, 2023
de4b431
update submodules
HelinWei-NOAA Nov 7, 2023
0d2fb37
use instantaneous fields for coupling (#1942)
DeniseWorthen Nov 8, 2023
fc59bd9
update fv3 reposity
HelinWei-NOAA Nov 8, 2023
f8dcab7
update CMEPS repository
HelinWei-NOAA Nov 8, 2023
95cf7e1
update CICE repository
HelinWei-NOAA Nov 8, 2023
9e41ad9
Add a condition to turn off samfdeepcnv when MYNN shallow convection …
XiaqiongZhou-NOAA Nov 9, 2023
17643bc
Convert all global (uncoupled) and regional tests to use quilting res…
DusanJovic-NOAA Nov 14, 2023
3ba8dff
new global_nest_v1 suite and #1965 (#1941)
SamuelTrahanNOAA Nov 15, 2023
41b1724
MYNN-EDMF, MYNN surface layer, and Thompson AA updates (combines 1940…
joeolson42 Nov 17, 2023
6a874d1
fix grv function used by NST (#2001)
DeniseWorthen Nov 20, 2023
f431fbe
Enable pdlib tests on more platforms (#1967)
JessicaMeixner-NOAA Nov 22, 2023
f6918a1
Add option to use netcdf quantization (#1990)
DusanJovic-NOAA Nov 27, 2023
17e8d84
fix type mis-matches in nst water property module (#1993)
DeniseWorthen Nov 30, 2023
7407bcf
Feature/refconv (#1996)
ericaligo-NOAA Dec 1, 2023
f42e347
Add support for Gaea C5 (includes PR #1977: new ccpp SDFs added to su…
ulmononian Dec 4, 2023
1f7dd77
Create 'coupler.res' log file in write grid comp. Explicitly specify …
DusanJovic-NOAA Dec 6, 2023
5be4f33
Update MOM6 templates for coordination with global-workflow updates …
JessicaMeixner-NOAA Dec 7, 2023
fb8792b
add component defaults, rename templates to .in, rename ufs.configure…
DeniseWorthen Dec 11, 2023
766ae99
Add atm+ocean+ice+aerosols S2SA regression test (cpld_s2sa_p8) (#2009)
NickSzapiro-NOAA Dec 13, 2023
10635ef
Add Derecho to supported platforms (#1836)
mark-a-potts Dec 14, 2023
1d90c04
bug fix: disable concurrency in GFS_phys_time_vary_init NetCDF calls…
SamuelTrahanNOAA Dec 19, 2023
991d652
CLM Lake pressure is not density and GFS Diagnostics: weasdi is not s…
SamuelTrahanNOAA Dec 21, 2023
173146c
Smoke/Dust updates for RRFS code freeze (#2024)
haiqinli Dec 28, 2023
407c6fd
Reorganization of ccpp-physics (#2035)
dustinswales Jan 4, 2024
1cab8b7
Spack-stack 1.5.1, ESMF 8.5.0, FMS 2023.02.01 + Remove Gaea C4 + Fix …
FernandoAndrade-NOAA Jan 8, 2024
5662552
Update CICE, update ice_in for consistency w/ G-W (was #2069) (#2027)
DeniseWorthen Jan 10, 2024
a837cfc
update MOM6 to its main repository 20231218 commit (disable FPEs) + A…
jiandewang Jan 11, 2024
1492141
A MERRA2 aerosol interpolation bug was found by RRFS (#2082)
AnningCheng-NOAA Jan 16, 2024
e7380dd
Fix out-of-bounds access in module_diag_hailcast.F90 which crashes RR…
SamuelTrahanNOAA Jan 17, 2024
b471de6
Fix potential divide by zero in ww3; Add timers to WW3 cap (was #2086…
DeniseWorthen Jan 19, 2024
adfcede
Use MPI_Bcast instead of multiple p2p messages to update nest from pa…
dkokron Jan 22, 2024
24f5a41
Update diag_table for global coupled iau test for mom6 history output…
junwang-noaa Jan 24, 2024
932a532
Updates related to component land model (Combined PR#2107) (#1845)
uturuncoglu Jan 26, 2024
625ac0c
Code update for HR4_roughness (#2022)
grantfirl Jan 30, 2024
10974d9
fix NSSL MP init issue when initialized from other microphysics schem…
JiliDong-NOAA Jan 31, 2024
db98161
Consider sea surface currents in air-sea flux calculation for ufs atm…
binli2337 Feb 1, 2024
8c9339f
Bring CDEPS inline capability to CMEPS (#2028)
uturuncoglu Feb 5, 2024
02ecf10
New regression tests for V2 surface coldstart files (#2005)
GeorgeGayno-NOAA Feb 7, 2024
b4c59bb
Post update (#2113)
JiliDong-NOAA Feb 8, 2024
760e002
Updates for Gaea C5 & F2/F5 Transition + Fix out of bound errors in b…
ulmononian Feb 10, 2024
56e31ff
Add extra variables to get ice temperature for marine DA (#2118)
JessicaMeixner-NOAA Feb 13, 2024
e464f5b
Add option to write 3d soilt, soilw and soill variables to a history …
DusanJovic-NOAA Feb 15, 2024
6988662
Re-work testing verification, fail file naming consistency, remove ls…
BrianCurtis-NOAA Feb 21, 2024
d87b54c
Submodule pointer update for ccpp-framework/ccpp-physics & option to …
climbfuji Feb 23, 2024
8518c2c
tisfc bugfix (#2137)
grantfirl Mar 1, 2024
4584860
update MOM6 to its main repo. 20240228 updating (#2166)
jiandewang Mar 4, 2024
5b62e1a
Add conflict for MOVING_NEST option with GNU Fortran, use mcmodel=sma…
climbfuji Mar 11, 2024
126db7a
Remove compiler warnings for CMEPS and CICE; Add traditional threadin…
DeniseWorthen Mar 12, 2024
e4961eb
Incorporate csawMG update and pass both intel and GNU RT tests (#2180)
grantfirl Mar 14, 2024
86b7773
Updates of ccpp-framework and ccpp-physics (merge ccpp-framework feat…
climbfuji Mar 18, 2024
3c8338c
Fix type mismatch compiler error when gfortran 10 is used without '-f…
DusanJovic-NOAA Mar 20, 2024
7fdb58c
Fix modulefiles for Hera/Rocky8 OS. (#2194)
RatkoVasic-NOAA Mar 22, 2024
c54e986
regression test system bug fixes, eliminate MOM6 warnings (#2197), ad…
SamuelTrahanNOAA Mar 27, 2024
87c27b9
WW3 feature: Langmuir turbulence parameterization (#2195)
MatthewMasarik-NOAA Mar 29, 2024
1411b90
Update module_write_netcdf to avoid hangs in RRFS runs (#2193)
DusanJovic-NOAA Apr 1, 2024
26e6db6
Enable cpl_scalars export from ATM and NoahMP for use by CMEPS (#2175)
DeniseWorthen Apr 3, 2024
45c8b2a
Hotfix/cubed sphere hash fix: HAILCAST diagnostic code (units issue) …
jkbk2004 Apr 4, 2024
8a5f711
Add PIO namelist control for CICE (#2145)
DeniseWorthen Apr 11, 2024
281b32f
bug fixes: kchunk3d ignored, hailwat uninitialized in dycore, tile_nu…
SamuelTrahanNOAA Apr 15, 2024
ac4445d
Bump idna from 3.6 to 3.7 in /doc/UsersGuide (#2234)
dependabot[bot] Apr 15, 2024
4f32a4b
Document ATMW / ATMAERO / HAFS WM configurations (#2160)
rickgrubin-tomorrow Apr 15, 2024
47c0099
Add bash linting to CI. Cleanup .sh scripts a bit. Address .sh bugs. …
BrianCurtis-NOAA Apr 17, 2024
5d2ca19
Update upp submodule (#2213)
WenMeng-NOAA Apr 19, 2024
b6c576d
Merged global namelist (#2173)
dpsarmie Apr 23, 2024
04bbc15
update MOM6 to its main repo. 20240401 commit (#2241)
jiandewang Apr 25, 2024
f234a3e
Fix for land component model (#2191)
uturuncoglu Apr 30, 2024
26cb9e6
fixed excessive evaporation when both innerloop and mraerosol=T (#2221)
AnningCheng-NOAA May 2, 2024
223b9ae
update inputdata for Bu angle fix; re-enable cpld C48 warmstart test …
DeniseWorthen May 7, 2024
85d73f2
Adding a few JEDI-related aliases into the `fd_ufs.yaml` file+Add opt…
fabiolrdiniz May 9, 2024
b2668e8
Update CICE to CICE-Consortium (2024-05-01)+update mom6 to its main r…
NickSzapiro-NOAA May 13, 2024
1c6b4d4
Add a RT for SFS with hydrostatic options (#2255)
XiaqiongZhou-NOAA May 16, 2024
d55f1b8
Combination CCPP-related PR for ozone diagnostics, metadata intent bu…
grantfirl May 20, 2024
635890c
Add support for optional arguments in ccpp physics and framework AND …
climbfuji May 21, 2024
3a48a64
upgrade MERRA2 climatology from 2003-2014 mean to 2014 to 2024 mean (…
AnningCheng-NOAA May 24, 2024
317e530
Allow diagnostic accumulation bucket to change in fv3atm integration …
DusanJovic-NOAA May 28, 2024
5bec704
Update WCOSS2 libraries for spack-stack 1.6.0 (Combined PR #2301) (#2…
BrianCurtis-NOAA May 31, 2024
485ccdf
Upgrade spack-stack from version 1.5.1 to 1.6.0 (#2093)
RatkoVasic-NOAA Jun 5, 2024
a183a52
Build ufs_weather_model on Gaea-C5 + update cubed sphere gitmodules f…
DavidBurrows-NCO Jun 7, 2024
bba5449
Add active atmosphere applications with data ocn and data ice compone…
NickSzapiro-NOAA Jun 11, 2024
a3d4733
update WAM RT compatible with v17 (#2283)
WChen-NOAA Jun 18, 2024
e784814
Add CICE end of run restart file capability+Update submodule FV3/atmo…
dpsarmie Jun 25, 2024
8e7b61b
Add an option in dynamics to calculate omega in non-hydrostatic runs…
XiaqiongZhou-NOAA Jul 3, 2024
0b59ad3
HR4 GWD update for FV3 (#2290)
Qingfu-Liu Jul 11, 2024
73424e2
Hotfix to update with cubed sphere bug fix (#2362)
jkbk2004 Jul 16, 2024
6a6ce43
Restore error checking in regression test system. (Combined PR#2357 a…
SamuelTrahanNOAA Jul 18, 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
ee4f19a
Add omega calculation and change LSM diag option to RTs (#2373)
dpsarmie Aug 1, 2024
18ebf0f
sync with develop
HelinWei-NOAA Aug 1, 2024
2416292
sync with the develop
HelinWei-NOAA Aug 1, 2024
e8638d2
update fv3 repo
HelinWei-NOAA Aug 2, 2024
19df334
update submodules
HelinWei-NOAA Aug 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
188 changes: 129 additions & 59 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,83 +1,153 @@
## Description
<!-- INSTRUCTIONS:
- PLEASE READ/FOLLOW THE DIRECTIONS IN EACH SECTION
- Complete the 'Commit Queue Requirements' below
- Please use github markup as much as possible (https://docs.github.com/en/get-started/writing-on-github)
- Please leave your PR in a draft state until all underlying work is completed.
-->
## Commit Queue Requirements:
<!--
- Please complete the items that follow this.
- Please "check off" completed items. Use [X] for a filled in checkbox or leave it [ ] for an empty checkbox
- Your PR will not be considered until all requirements are met.
- THIS IS YOUR RESPONSIBILITY
-->
- [ ] Fill out all sections of this template.
- [ ] All sub component pull requests have been reviewed by their code managers.
- [ ] Run the full Intel+GNU RT suite (compared to current baselines) on either Hera/Derecho/Hercules
- [ ] Commit 'test_changes.list' from previous step
---
## Description:
<!--
Provide a detailed description of what this PR does. What bug does it fix, or what feature does it add? Is a change of answers expected from this PR? Are any library updates included in this PR (modulefiles etc.)?
Please provide a detailed verbose description of what this PR does
-->

### Input data additions/changes
- [ ] No changes are expected to input data.
- [ ] Changes are expected to input data:
- [ ] New input data.
- [ ] Updated input data.

### Anticipated changes to regression tests:
- [ ] No changes are expected to any regression test.
- [ ] Changes are expected to the following tests:
<!-- Please insert what RT's change and why you expect them to change -->

## Subcomponents involved:
- [ ] AQM
- [ ] CDEPS
- [ ] CICE
- [ ] CMEPS
- [ ] CMakeModules
- [ ] FV3
- [ ] GOCART
- [ ] HYCOM
- [ ] MOM6
- [ ] NOAHMP
- [ ] WW3
- [ ] stochastic_physics
- [ ] none

### Library Updates/Changes
<!-- Library updates take time. If this PR needs updates to libraries, please make sure to accomplish the following tasks -->
- [ ] Not Needed
- [ ] Create separate issue in [JCSDA/spack-stack](https://github.com/JCSDA/spack-stack) asking for update to library. Include library name, library version.
- [ ] Add issue link from JCSDA/spack-stack following this item
<!-- for example: "- JCSDA/spack-stack/issue/1757" -->
### Commit Message:
<!--
Please provide concise information for The UFS-WM and/or each sub-component:
Please delete what is not needed.
-->
```
* UFSWM -
* AQM -
* CDEPS -
* CICE -
* CMEPS -
* CMakeModules -
* FV3 -
* ccpp-physics -
* atmos_cubed_sphere -
* GOCART -
* HYCOM -
* MOM6 -
* NOAHMP -
* WW3 -
* stochastic_physics -
```

### Combined with PR's (If Applicable):
### Priority:
<!--
Please provide the priority you would prefer this pull request to have.
* Critical Bugfix: Model is wrong.
* High: Time-sensitive project.
* Normal.
Please delete the ones that are not applicable
-->
* Critical Bugfix: Reason
* High: Reason
* Normal

## Commit Queue Checklist:
<!--
Please complete all items in list. Make sure to attach logs from RT testing in comment, not in repository. Once all boxes are checked, please add the label "Ready for Commit Queue".
## Git Tracking
### UFSWM:
<!--
Please add the UFS-WM github issue here if there is one
Please delete the one that is not applicable.
-->
- [ ] Link PR's from all sub-components involved in section below
- [ ] Confirm reviews completed in ALL sub-component PR's
- [ ] Add all appropriate labels to this PR.
- [ ] Run full RT suite on either Hera/Cheyenne AND attach log to a PR comment.
- [ ] Add list of any failed regression tests to "Anticipated changes to regression tests" section.
* Closes #
* None

## Linked PR's and Issues:
### Sub component Pull Requests:
<!--
Please link dependent pull requests.
EXAMPLE: "- Depends on NOAA-EMC/fv3atm/pull/<pullrequest_number>"
Please provide a list of sub-components involved with this pull request.
Please provide links to the sub-component pull requests as shown below.
Please delete what is not needed.
Example:
* FV3: NOAA-EMC/fv3atm#734
* ccpp-physics: ufs-community/ccpp-physics#33
* WW3: NOAA-EMC/WW3#321
-->
* AQM:
* CDEPS:
* CICE:
* CMEPS:
* CMakeModules:
* FV3:
* ccpp-physics:
* atmos_cubed_sphere:
* GOCART:
* HYCOM:
* MOM6:
* NOAHMP:
* WW3:
* stochastic_physics:
* None

Please link the related issues to be closed with this PR, whether in this repository, or in another repository.
EXAMPLE: "- Closes NOAA-EMC/fv3atm/issues/<issue_number>"
### UFSWM Blocking Dependencies:
<!--
If there are any UFSWM PR's that are needed to be completed before this one, please add links
to them here
Please delete what is not needed.
-->
* Blocked by #
* None

PLEASE MAKE SURE TO USE THE - with a space before the "Depends on" or "Closes" as they show up well on github.
---
## Changes
### Regression Test Changes (Please commit test_changes.list):
<!--
Please let us know if this PR creates new baselines, changes baselines or not.
Please delete what is not needed.
Please make sure you have properly submitted test_changes.list
-->
* PR Adds New Tests/Baselines.
* PR Updates/Changes Baselines.
* No Baseline Changes.

## Testing Day Checklist:
### Input data Changes:
<!--
Please consult the ufs-weather-model [wiki](https://github.com/ufs-community/ufs-weather-model/wiki/Making-code-changes-in-the-UFS-weather-model-and-its-subcomponents) if you are unsure how to do this.
If there are any changes to input-data for a test, please provide information here.
Please delete what is not needed.
-->
- [ ] This PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR.
- [ ] Move new/updated input data on RDHPCS Hera and propagate input data changes to all supported systems.
* None.
* New input data.
* Updated input data.

### Library Changes/Upgrades:
<!-- Library updates take time. Please provide library and version information here.
** SPECIAL INSTRUCTIONS **
If this PR needs updates to libraries please make sure to accomplish the following tasks:
- Create separate issue in (https://github.com/JCSDA/spack-stack) asking for update to library. Include library name, library version.
- Add issue link from JCSDA/spack-stack following this item <!-- for example: "* JCSDA/spack-stack#1757"

### Testing Log (for CM's):
Please delete what is not needed.
-->
* Required
* Library names w/versions:
* Git Stack Issue (JCSDA/spack-stack#)
* No Updates

---
<!-- STOP!!! THE FOLLOWING IS FOR CODE MANAGERS ONLY. PLEASE DO NOT FILL OUT -->
## Testing Log:
- RDHPCS
- [ ] Hera
- [ ] Orion
- [ ] Hercules
- [ ] Jet
- [ ] Gaea
- [ ] Cheyenne
- [ ] Derecho
- WCOSS2
- [ ] Dogwood/Cactus
- [ ] Acorn
- CI
- [ ] Completed
- opnReqTest
- [ ] N/A
- [ ] Log attached to comment
- [ ] CI
- [ ] opnReqTest (complete task if unnecessary)
41 changes: 24 additions & 17 deletions .github/workflows/aux.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Helpers
name: Repo Check
on:
workflow_run:
workflows: ["Pull Request Tests"]
types:
- requested
#workflow_run:
# workflows: ["Pull Request Tests"]
# types:
# - requested
pull_request:
branches:
- develop
env:
app: Accept:application/vnd.github.v3+json
base_url: $GITHUB_API_URL/repos/$GITHUB_REPOSITORY/actions/runs
Expand All @@ -30,24 +33,28 @@ jobs:
steps:
- name: Check up-to-dateness and post comment
run: |
head_sha=${{ github.event.workflow_run.head_sha }}
git clone -q ${{ github.event.workflow_run.head_repository.html_url }} .
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.workflow_run.head_repository.owner.login }}
pr_uid=${{ github.event.pull_request.head.repo.owner.login }}
echo "pr_uid is $pr_uid"
comment="$(./repo_check.sh $pr_uid 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
./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

37 changes: 37 additions & 0 deletions .github/workflows/superlinter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Super-Linter

on:
push: null
pull_request: null

jobs:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Super-Linter
uses: super-linter/[email protected]
env:
LINTER_RULES_PATH: /
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).*
VALIDATE_BASH: true
BASH_SEVERITY: style
#VALIDATE_GITHUB_ACTIONS: true
#VALIDATE_LUA: true
#VALIDATE_MARKDOWN: true
#VALIDATE_PYTHON_PYLINT: true
#VALIDATE_YAML: true
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ tests/fv3_conf/compile_qsub.IN
tests/fv3_conf/fv3_slurm.IN
tests/fv3_conf/fv3_qsub.IN
build*.log*
rocoto_workflow*
fail_compile_*
fail_test_*
tests/run_dir
tests/logs/log_*
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "FV3"]
path = FV3
url = https://github.com/HelinWei-NOAA/fv3atm
branch = nsoil9
branch = nsoilg
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

# Required
version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -18,6 +22,5 @@ formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: doc/UsersGuide/requirements.txt
16 changes: 16 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Global settings for Shellcheck (https://github.com/koalaman/shellcheck)
enable=all

external-sources=true

# Disable variable referenced but not assigned
disable=SC2154

# Disable following non-constant source
disable=SC1090

# Disable non-existent binary
disable=SC1091

# Disable -p -m only applies to deepest directory
disable=SC2174
2 changes: 1 addition & 1 deletion CDEPS-interface/CDEPS
9 changes: 7 additions & 2 deletions CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# CDEPS compiler flags
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace -ffree-line-length-none")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -fbacktrace -ffree-line-length-none")
#Set CPP defintions for the ufs/cdeps_share target library
list(APPEND CDEPS_SHARE_DEFS "CPRGNU")
if(${CMAKE_Fortran_COMPILER_VERSION} VERSION_GREATER_EQUAL 10)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch -fallow-invalid-boz")
endif()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -fcheck=bounds -ffpe-trap=invalid,zero,overflow,underflow" )
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "-g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O -assume realloc_lhs")
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check -check noarg_temp_created -check nopointer -fpe0 -ftrapuv -init=snan,arrays")
#Set CPP defintions for the ufs/cdeps_share target library
list(APPEND CDEPS_SHARE_DEFS "CPRINTEL")
else()
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
endif()
Expand All @@ -23,6 +27,7 @@ add_library(share OBJECT ${cdeps_share_files} ${ufs_cdeps_share_files})
set_target_properties(share PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(share PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/ufs/cdeps_share)
target_include_directories(share PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_compile_definitions(share PRIVATE ${CDEPS_SHARE_DEFS})
target_link_libraries(share PRIVATE esmf)

# CDEPS/streams
Expand Down
Loading