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

RRTMGP for prototype 8 #65

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
5f5735e
Prepare for SRW App release (update develop from NCAR dtc/develop 202…
climbfuji Jul 23, 2020
cdc7915
Update CMakeLists.txt files to use imported targets (#146)
DusanJovic-NOAA Jul 28, 2020
e66fc3d
Remove cheyenne.intel-impi and supermuc_phase2.intel build targets (#…
climbfuji Jul 30, 2020
aada773
Make stochastic physics independent of fv3atm and its submodules (#145)
climbfuji Aug 6, 2020
1959bde
RRTMGP improvements (#151)
dustinswales Aug 7, 2020
0e83a92
Update to the two-way WW3 atmosphere coupling. Fractional grid update…
SMoorthi-emc Aug 13, 2020
5dbea25
Diagnostic 3D instantaneous cloud fractions added (#154)
ericaligo-NOAA Aug 20, 2020
0975bb6
Esmf810bs21 (#160)
junwang-noaa Aug 25, 2020
0b2d3ec
Updated land perturbation scheme (#148)
ClaraDraper-NOAA Aug 31, 2020
53fadef
Fix submodule pointer for ccpp-framework (#164)
climbfuji Sep 1, 2020
223f092
Add dependencies to CCPP metadata (#153)
climbfuji Sep 2, 2020
3bceaff
Python 3 bugfix in ccpp-framework (update submodule pointer only) (#…
climbfuji Sep 15, 2020
6bc61df
support one step s2s cold start (#168)
junwang-noaa Sep 16, 2020
9e1ba7c
RRTMG cloud overlap method update (#157)
climbfuji Sep 26, 2020
ab0e5ae
CCPP tendencies bugfixes, global restart reproducibility, halo bounda…
climbfuji Sep 30, 2020
2fa7a44
Preparation for S2S cmake (#183)
aerorahul Oct 7, 2020
90bc1a4
Merge NCAR feature/transition-to-capgen-1 (prepare for cap_gen.py, st…
climbfuji Oct 9, 2020
b955f81
update dynamic core submodule with hord=-5 (#185)
XiaqiongZhou-NOAA Oct 19, 2020
6e2421c
add parallel netcdf for regional applications (#175)
junwang-noaa Nov 2, 2020
5530a85
Add/update HWRF physics (#188)
climbfuji Nov 5, 2020
3bd9665
Infrastructure improvements for radiation (#193)
dustinswales Nov 13, 2020
4fdf7c6
Bring GFS.v16 features back to develop branch (#196)
junwang-noaa Nov 17, 2020
b6957d8
Fix to allow quilting with non-factors for layout (#192)
chan-hoo Nov 23, 2020
fd668c4
Update develop from gsd/develop 2020/11/20: Unified gravity wave drag…
climbfuji Nov 25, 2020
a898cca
Fix for updating stochastic physics on separate time-step. (#199)
pjpegion Nov 30, 2020
d10e450
Bug fixes in (1) running with frac_grid=T and GFDL MP and (2) restart…
ShanSunNOAA Dec 2, 2020
babf6dc
jedi-ufs with ccpp-physics submodule update (contains #201) (#211)
climbfuji Dec 11, 2020
3aad398
Final-final GFS v16 updates / restart reproducibility bugfixes (#212)
climbfuji Dec 14, 2020
f5a6d1a
RRTMGP coupling to Thompson MP in ccpp-physics (#208)
dustinswales Dec 17, 2020
377c7e5
Minor bug fixes to CCPP UGWP (update submodule pointer for ccpp-physi…
climbfuji Dec 18, 2020
846d257
Remove IPD (step 1) (#215)
climbfuji Dec 29, 2020
9c73d96
Update submodule pointers for ccpp-framework (ccpp_prebuild bugfix) a…
climbfuji Dec 30, 2020
45618a9
Remove unnecessary SIMD instruction sets from ccpp/CMakeLists.txt (#220)
climbfuji Jan 7, 2021
ae4c8bf
Implementation of CCPP timestep_init and timestep_final phases (#217)
climbfuji Jan 8, 2021
c697af2
add radiation_clouds_thompson_dependency in ccpp physics (#225)
junwang-noaa Jan 12, 2021
e763de0
Remove IPD steps 3 and 5 (#224)
climbfuji Jan 14, 2021
a4cf6db
Add CCPP rrtmgp fix (#237)
junwang-noaa Jan 20, 2021
34c326c
Update develop from NOAA-GSL: RUC ice, MYNN sfclay, stochastic land p…
climbfuji Jan 22, 2021
307f001
Dycore change to add an option to zero-gradient BC for height advecti…
XiaqiongZhou-NOAA Jan 25, 2021
c2fc3de
Remove gnumake build remnants, change v16beta to v16 (#234)
climbfuji Jan 29, 2021
9412b85
Move LSM vegetation lookup tables into CCPP, clean up RUC snow cover …
climbfuji Feb 6, 2021
d235fb8
UGWP v0 v1 combined (#241)
climbfuji Feb 16, 2021
70e55f2
SDF for GFSv16 with Thompson (#238)
XiaSun-Atmos Feb 19, 2021
4908898
Hotfix for RRTMGP using multiple threads (#247)
dustinswales Feb 24, 2021
ddb56fe
Move Noah MP init to CCPP and add new variables for Noah MP (#249)
climbfuji Mar 3, 2021
1c6d8fe
Regional inlinepost (#229)
junwang-noaa Mar 11, 2021
579abd4
Add missing OpenMP dependency to ccpp/data/CMakeLists.txt and ccpp/dr…
climbfuji Mar 16, 2021
dbaff1c
Update to RAS in CCPP, update submodule pointer for ccpp-framework (C…
climbfuji Mar 17, 2021
07b00a9
Cld perts (#233)
pjpegion Mar 21, 2021
597fe91
upgrade OPAC aerosol with more advanced MERRA2 aerosol (#254)
AnningCheng-NOAA Mar 26, 2021
972d662
To update dycore to the GFDL dev/emc (the FV3 202101 version ) (#262)
XiaqiongZhou-NOAA Mar 30, 2021
ebccc53
Update Thompson MP and RUC LSM from develop, bug fixes in ccpp-framew…
climbfuji Mar 31, 2021
c206462
Update to esmf bs47; add export field openwater_frac_in_atm (#266)
DeniseWorthen Apr 5, 2021
2a18aa5
Feature/ufs nst (#255)
XuLi-NOAA Apr 8, 2021
96ae478
Fix submodule pointer for ccpp-physics (#274)
climbfuji Apr 8, 2021
ec291d1
Bug fix for reading namelist section atmos_model_nml for nests (#263)
climbfuji Apr 12, 2021
0dde422
Wrapper PR for #261, #271, #268: zorl interstitial, ocn -> wat, merra…
climbfuji Apr 15, 2021
794a610
Bring in ccpp/physics changes (yihua flake changes) (#287)
BrianCurtis-NOAA Apr 19, 2021
71adf2a
fix lam post uninitialied fields (#272)
junwang-noaa Apr 20, 2021
70b442e
Add new PBL diagnostic variables dkt and dku (#269)
BinLiu-NOAA Apr 21, 2021
bfb8da5
Use OPENMP instead of OpenMP_Fortran_FOUND, cleanup compiler flags (#…
DusanJovic-NOAA Apr 22, 2021
6c529fa
Updates from v2.0.0 (#280)
llpcarson Apr 26, 2021
28888f0
Various CCPP PRs: change vertical dimension and long name of dku/dkt,…
climbfuji Apr 28, 2021
0fb68de
Accumulation of changes to RRTMGP (#275)
dustinswales Apr 30, 2021
ce81602
Use assumed-size arrays in CCPP, Fortran/metadata consistency fixes i…
climbfuji Apr 30, 2021
880921b
CCPP cmake cleanup (#292)
DusanJovic-NOAA May 9, 2021
345915a
Update to latest (#297)
chan-hoo May 12, 2021
0215d0f
ensure exported zbot field is non-negative for coupling (#294)
DeniseWorthen May 13, 2021
4279a1f
Rename CCPP branches from master to main, several small changes in cc…
climbfuji May 18, 2021
e911a8e
Ensure consistency between model namelist and CCPP suite definition f…
climbfuji May 19, 2021
dc5476d
Add import/export fields for fv3-jedi coupling (#301)
DusanJovic-NOAA May 21, 2021
ba7943e
Move sfc emis alb calculation to its own scheme and make z0 composite…
climbfuji May 28, 2021
116d701
inline post restart issue with gnu compiler (#321)
junwang-noaa Jun 2, 2021
8384673
Move IO related configuration from fv3_cap to write grid component. A…
DusanJovic-NOAA Jun 8, 2021
6a1e4f2
Thompson subcycling for develop, remove legacy print statements from …
climbfuji Jun 10, 2021
0a47bd1
Update to cellular automaton stochastic convective organization schem…
lisa-bengtsson Jun 14, 2021
e4eb2ba
Add hourly maximum precipitation rate (#327)
ericaligo-NOAA Jun 16, 2021
ad7bddc
Enable GOCART integration in UFS (#310)
rmontuoro Jul 1, 2021
20883ed
Add extended diagnostic output from Thompson MP, includes "Add option…
climbfuji Jul 12, 2021
d4addde
Sm may182021 (#303)
SMoorthi-emc Jul 14, 2021
56366c5
Physics update in cumulus convection, PBL & surface layer for UFS_P7 …
JongilHan66 Jul 16, 2021
0d92858
Add a README (#313)
edwardhartnett Jul 16, 2021
33c1a9c
Use nuopc labels in fv3cap. Refactor ModelAdvance in fv3cap. (#330)
DusanJovic-NOAA Jul 16, 2021
e6d2c46
tracer tendency diagnostics and wrf-like per-timestep diagnostic (#332)
SamuelTrahanNOAA Jul 21, 2021
9326cec
Wrapper PR for: Thompson inner loop, Thompson subcycling bugfix, remo…
climbfuji Jul 23, 2021
9af6d59
Remove nemsio dependency (#339)
DusanJovic-NOAA Jul 26, 2021
f8732ff
Flexible output hour for history files (#345)
junwang-noaa Jul 27, 2021
fca8282
Wrapper PR for "Update CCPP standard names for consistency (#337)" (#…
climbfuji Jul 29, 2021
c52bb0b
Merge HAFS coupling (#355)
BinLiu-NOAA Aug 5, 2021
c332ede
fix the grid definition for inline post lambert conformal (#365)
junwang-noaa Aug 6, 2021
29787d5
Sm jul272021 cice alb (#359)
SMoorthi-emc Aug 10, 2021
949656b
Cleanup grandfathered-in constants in CCPP - round 1 (#360)
climbfuji Aug 12, 2021
83aa1ee
Enable UFS-Aerosols in P7 configurations (#362)
rmontuoro Aug 13, 2021
6bad820
Wrapper PR for #366 (remove redundant surface variables) and #363 (se…
climbfuji Aug 17, 2021
16a51fc
CCPP framework update and metadata bug fixes (#367)
climbfuji Aug 18, 2021
862fe80
Fix stochastic physics restart runs, remove rayleigh damping from all…
climbfuji Aug 19, 2021
2dc03c1
Updates to use FMS 2021.03 (#374)
bensonr Aug 25, 2021
7a97256
brings in latest release candidate for the FV3 dycore (#377)
bensonr Aug 27, 2021
2fe2998
sfcsub.F land-mask bug fix in ccpp-physics (#378)
climbfuji Sep 3, 2021
967b84b
Add a cplocn2atm namelist option to turn on/off ocean model component…
BinLiu-NOAA Sep 7, 2021
e5dfdd5
CCPP metadata bugfixes in GFS_typedefs.meta, update fv3 files with fm…
climbfuji Sep 10, 2021
85c2648
Cleanup CCPP cmake build (#383)
climbfuji Sep 15, 2021
026138b
cmake in the FV3 dycore (#389)
aerorahul Sep 23, 2021
d77f748
add NoahMP restart fix and a standalone fv3 P7 CCPP suite file (#391)
junwang-noaa Sep 24, 2021
06e9b35
update ccpp with decomposition fix (#397)
junwang-noaa Sep 27, 2021
931f8a3
CCPP updates: UGWPv1 decomp bug fixes, remove Julie from CODEOWNERS (…
climbfuji Sep 29, 2021
376d374
updates associated with CA restart and PE decomposition bugs (#396)
pjpegion Sep 30, 2021
799b157
fix the output file name and diag time (#404)
junwang-noaa Oct 1, 2021
b811a6c
Convert real(kind_phys) vegetation, slope and soil type arrays into i…
climbfuji Oct 4, 2021
95ff1ca
Properly import coupling fields when running with separate run phases…
rmontuoro Oct 5, 2021
f7ed0e0
Changes to FV3 for RRTMGP in ccpp-physics (#392)
dustinswales Oct 7, 2021
3772829
updating atmos_cubed_sphere to 02c3bac on 20211015 (#412)
bensonr Oct 19, 2021
43c0982
Remove interstitial variables for land and ice emissivity and update …
SMoorthi-emc Oct 22, 2021
b96f38d
Debug array alloc ccpp caps (#407)
climbfuji Oct 25, 2021
1b6b705
Add a WAM regression test with the MULTI_GASES and MOLECULAR_DIFFUSIO…
XiaqiongZhou-NOAA Oct 27, 2021
b27507a
Thompson semi lag rain (#382)
RuiyuSun Oct 28, 2021
4214e6d
Remove Noah-WRFv4, contains "reduce memory required by MERRA2 data" (…
climbfuji Oct 29, 2021
bb55c2c
Enable running regional telescopic nesting configuration under ufs-we…
BinLiu-NOAA Nov 2, 2021
c8140b2
Wrapper PR for "Remove optional arguments from CCPP metadata, remove …
climbfuji Nov 4, 2021
699d1e2
Support implementation of TVD methods in PBL and cumulus convective s…
rmontuoro Nov 9, 2021
b5bdf4c
Namelist updates associated with new CA scales (#414)
lisa-bengtsson Nov 10, 2021
720d4a0
Register diagnostics from stochastic physics only if allocated, fix d…
climbfuji Nov 12, 2021
08b710b
Decrease the memory usage by MERRA2 for 6 times (#423)
AnningCheng-NOAA Nov 18, 2021
bc55483
Use upp as a submodule (#421)
DusanJovic-NOAA Nov 22, 2021
9df46a8
add semi-lagrangian sedimentation of graupel and update the namelist …
RuiyuSun Nov 23, 2021
c72ba60
Update several units in CCPP metadata following CCPP framework update…
climbfuji Nov 23, 2021
7e2724d
Modified 2 ugwp metadata files to fix ufs-community/ufs-weather-model…
mdtoy Dec 1, 2021
cf1547f
Noah MP updates for Prototype 8 (GFSv17) (#387)
HelinWei-NOAA Dec 2, 2021
4545b4d
Make surface emissivity over water a persistent variable (#434)
climbfuji Dec 6, 2021
86d4bb3
Changes to FV3 for ccpp-physics #782 (#428)
dustinswales Dec 9, 2021
283bd50
New Thompson cloud fraction (updated subroutine cal_cldfra3) (#432)
climbfuji Dec 10, 2021
e7687f4
Merge NOAA-GSL gsl/develop into develop, update CCPP SDFs (#435)
climbfuji Dec 13, 2021
a1b0f33
Major cleanup of CCPP cmake build config (#436)
climbfuji Dec 14, 2021
eb463bc
Feature/ccpp codeowners (#442)
SamuelTrahanNOAA Dec 16, 2021
6c27fdb
Code cleanup. Remove used code/variables. Fix minor inconsistencies. …
DusanJovic-NOAA Dec 17, 2021
71f27b2
CCPP cloud cover change for Thompson MP associated with Xu Randall (#…
climbfuji Dec 20, 2021
85b1a90
Wrapper for ccpp-physics #806, #807, #813 (#447)
grantfirl Dec 21, 2021
8afe51e
Wrapper for ccpp-physics #808 and 816 (roughness length over ice and …
grantfirl Dec 23, 2021
96a2554
Use 'model set run clock' routine in FV3 NUOPC cap. (#450)
DusanJovic-NOAA Dec 27, 2021
42dd808
Clean up iovr=4 (exponential cloud overlapping method) in RRTMG (#445)
mzhangw Dec 28, 2021
9ab2847
Bug fix for dimensions of eta level variables and WAM variables in Fo…
climbfuji Dec 30, 2021
edcdfc5
Update inline post with latest UPP release upp_v10.0.11 (#449)
WenMeng-NOAA Jan 3, 2022
8198cee
Wrapper for ccpp-physics #812 (#453)
grantfirl Jan 5, 2022
7eb0ee2
MYNN sfclay (RAP suite) restart reproducibility, P8 suite definition …
climbfuji Jan 7, 2022
c2f06d5
Fixes on initializing snow depth over ice and changes z0ice (#461)
SMoorthi-emc Jan 10, 2022
9038ef7
Radar-derived microphysics temperature tendencies similar to operatio…
SamuelTrahanNOAA Jan 11, 2022
7362f7d
fixing snod bug in atmos_model.F90 (#465)
SMoorthi-emc Jan 13, 2022
500ceaa
Thompson MP cloud tuning (#463)
grantfirl Jan 18, 2022
f1a35e1
Feature/hwrf legacy (#459)
ChunxiZhang-NOAA Jan 19, 2022
12a5441
CCPP: Update consistency checks and effective radii calculation for T…
climbfuji Jan 20, 2022
83ea4a2
Unified write_netcdf, add single file 'cubed_sphere_grid' output (#466)
DusanJovic-NOAA Jan 25, 2022
a9e7909
Change standard name and unit of CCPP error flag variable in CCPP fra…
climbfuji Jan 26, 2022
4e43229
Add code to enable ESMF managed threading (#469)
junwang-noaa Jan 27, 2022
23b7dd3
Revisions to repair iovr=5 cloud overlap option (#471)
grantfirl Jan 31, 2022
6901981
Add 2d decomposition on the write grid comp (#470)
junwang-noaa Feb 2, 2022
e19a77c
4DIAU bug when iau_filter_increments=T (#458)
jswhit Feb 4, 2022
33efbc9
Add lsm_cold_start variable for RUC LSM SCM support and gwdps bugfix …
grantfirl Feb 8, 2022
91836a8
add lon info in the write group (#476)
junwang-noaa Feb 10, 2022
9929dcd
Multiple output grids (#480)
DusanJovic-NOAA Feb 15, 2022
277517d
GPU-enabled version of Grell-Freitas convection in ccpp-physics (#479)
DomHeinzeller Feb 16, 2022
b3f98fe
Enable Thompson MP when coupling with UFS-Aerosols (#484)
rmontuoro Feb 22, 2022
bc562d7
Add support for Stochastically Perturbed Parameterizations (SPP) in F…
JeffBeck-NOAA Feb 23, 2022
67ff011
Initial commit
dustinswales Feb 25, 2022
cc05f46
Updated .gitmodules.
dustinswales Feb 25, 2022
ae438f7
lateral boundary fix for regional runs (#482)
MatthewPyle-NOAA Feb 25, 2022
c2f6700
Add explict treatment of convective cloud to RRTMGP.
dustinswales Feb 25, 2022
46d4a42
Some cleanup and bug fixes from previous commit. working now with Tho…
dustinswales Feb 25, 2022
f78c863
Updated physics. New interstitials.
dustinswales Mar 3, 2022
47d391c
Feature: NSSL Microphysics support (#472)
MicroTed Mar 4, 2022
a71dc8f
Added explicit MYNN-EDMF cloud coupling to RRTMGP.
dustinswales Mar 5, 2022
22dda63
Updated .gitmodules
dustinswales Mar 5, 2022
3d46ba4
Added switches for sgs clouds in GP.
dustinswales Mar 8, 2022
d7bc9c3
Replaced cld_mynn_ naming convention with cld_pbl_
dustinswales Mar 9, 2022
5eb3d66
Fixed inconsistency between G/GP in Thompson MP.
dustinswales Mar 9, 2022
8fc9dae
Housekeeping
dustinswales Mar 9, 2022
5095518
Some more cleanup of cloud-fraction...
dustinswales Mar 9, 2022
3bcba51
Add p8b SDF (#491)
JessicaMeixner-NOAA Mar 10, 2022
b2272de
Split CCPP finalize into physics_finalize and (framework) finalize; m…
climbfuji Mar 11, 2022
8732669
Pulled in Qingfu's changes to ccpp-physics
dustinswales Mar 11, 2022
45491e7
Synced physics with main
dustinswales Mar 11, 2022
f2f3add
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into enh…
dustinswales Mar 11, 2022
2cecc3a
Update submodules.
dustinswales Mar 11, 2022
d76d5cd
Updated physics.
dustinswales Mar 11, 2022
d2cb6c2
Revert change from previous commits (sampling of different cloud type…
dustinswales Mar 15, 2022
8c582f7
Add 'valid time' variable using ISO string format (#492)
DusanJovic-NOAA Mar 17, 2022
1cebcf1
Fix Lambert Conformal Conic mapping in the write component on the sou…
DusanJovic-NOAA Mar 18, 2022
769f957
Changed arguments to implied shape.
dustinswales Mar 21, 2022
2b988fe
Rectify total number of Thompson MP species for PBL mixing (#509)
rmontuoro Mar 22, 2022
d83c02d
Renamed scheme file in SDF. Now common to both RRTMG and RRTMGP SDFs
dustinswales Mar 22, 2022
cc1452e
Synced ccpp/physics with origin/main
dustinswales Mar 22, 2022
11cea82
Merge branch 'develop' of https://github.com/NOAA-EMC/fv3atm into enh…
dustinswales Mar 22, 2022
13942f8
Updated upp submodule.
dustinswales Mar 22, 2022
c41c3da
Syntax error in ccpp-physics
dustinswales Mar 22, 2022
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.
# Order is important; the last matching pattern takes the most
# precedence.

# The components are owned by their respective teams
/FV3/ @noaa-emc/fv3atm-team
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: Bug report
about: Create a report to fix bugs
title: ''
labels: bug
assignees: ''

---

## Description
Provide a clear and concise description of what the bug is.
Also give a description of how to fix the bug.


### To Reproduce:
What compilers/machines are you seeing this with?
Give explicit steps to reproduce the behavior.
1. do this
2. then that
3. then, oops, look at the bug


## Additional context
Add any other context about the problem here.
Directly reference any issues or PRs in this or other repositories that this is related to, and describe how they are related. Example:
- needs to be fixed also in noaa-emc/nems/issues/<issue_number>
- needed for noaa-emc/fv3atm/pull/<pr_number>


## Output

**Screenshots**
If applicable, drag and drop screenshots to help explain your problem.

**output logs**
If applicable, include relevant output logs.
Either drag and drop the entire log file here (if a long log) or

```
paste the code here (if a short section of log)
```

## Testing:

1. Have you tested the code changes? On what platforms?

2. Have you run regression test in ufs-weather-model or ufs-s2s-model with code changes?
- Will the baseline results change?
- If the baseline results change, is it expected? Please give brief explanation.

## Dependent PRs:

Directly reference any issues or PRs in this or other repositories that this is related to, and describe how they are related. Example:
- required to support noaa-emc/GFDL_atmos_cubed_sphere/issues/<issue_number>
- ncar/ccpp-physics/pull/<pr_number>
- associated ufs-weather-model/pull/<pr_number>
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

## Description
Provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Solution
Add a clear and concise description of what solution you provide.

## Alternatives
If applicable, add a description of any alternative solutions or features you've considered.

## Testing:

1. Have you tested the code changes? On what platforms?
2. Have you run regression test in ufs-weather-model or ufs-s2s-model with code changes?
- Will the baseline results change?
- If yes, please give brief explanation of your code updates on the regression test.

## Dependent PRs:

Directly reference any issues or PRs in this or other repositories that this is related to, and describe how they are related. Example:
- required to support noaa-emc/GFDL_atmos_cubed_sphere/issues/<issue_number>
- ncar/ccpp-physics/pull/<pr_number>
- associated ufs-weather-model/pull/<pr_number>

37 changes: 37 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Description

(Instructions: this, and all subsequent sections of text should be removed and filled in as appropriate.)
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?



### Issue(s) addressed

Link the issues to be closed with this PR, whether in this repository, or in another repository.
(Remember, issues should always be created before starting work on a PR branch!)
- fixes #<issue_number>
- fixes noaa-emc/fv3atm/issues/<issue_number>



## Testing

How were these changes tested?
What compilers / HPCs was it tested with?
Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
Have the ufs-weather-model regression test been run? On what platform?
- Will the code updates change regression test baseline? If yes, why? Please show the baseline directory below.
- Please commit the regression test log files in your ufs-weather-model branch


## Dependencies

If testing this branch requires non-default branches in other repositories, list them.
Those branches should have matching names (ideally)

Do PRs in upstream repositories need to be merged first?
If so add the "waiting for other repos" label and list the upstream PRs
- waiting on noaa-emc/nems/pull/<pr_number>
- waiting on noaa-emc/fv3atm/pull/<pr_number>
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
*.o
*.[aox]
*.mod
*.a
*.pyc

*.sw[a-p]
~

build/
install/

22 changes: 13 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[submodule "atmos_cubed_sphere"]
path = atmos_cubed_sphere
url = https://github.com/NOAA-EMC/GFDL_atmos_cubed_sphere
branch = dev/emc
path = atmos_cubed_sphere
url = https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
branch = dev/emc
[submodule "ccpp/framework"]
path = ccpp/framework
url = https://github.com/NCAR/ccpp-framework
branch = master
path = ccpp/framework
url = https://github.com/NCAR/ccpp-framework
branch = main
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/NCAR/ccpp-physics
branch = master
path = ccpp/physics
url = https://github.com/dustinswales/ccpp-physics
branch = enhanced_GP2cld_coupling_tight
[submodule "upp"]
path = upp
url = https://github.com/NOAA-EMC/UPP
branch = develop
184 changes: 81 additions & 103 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,120 +1,98 @@
if(CCPP)
add_definitions(-DCCPP)
endif()

add_subdirectory(cpl)
add_subdirectory(gfsphysics)
add_subdirectory(ipd)
add_subdirectory(io)
###############################################################################
### CCPP
###############################################################################

add_subdirectory(ccpp)

# fv3core library
###############################################################################
### fv3 dynamical core
###############################################################################

# These ifdefs need to be turned ON in the dycore.
set(use_WRTCOMP ON)
set(GFS_PHYS ON)
set(GFS_TYPES ON)
set(USE_GFSL63 ON)
add_subdirectory(atmos_cubed_sphere)

###############################################################################
### fv3atm
###############################################################################
if(INLINE_POST)
set(BUILD_POSTEXEC OFF)
add_subdirectory(upp)
set(POST_SRC io/inline_post.F90 io/post_nems_routines.F90 io/post_gfs.F90 io/post_regional.F90)
else()
set(POST_SRC io/inline_post_stub.F90)
list(APPEND _fv3atm_defs_private NO_INLINE_POST)
endif()

if(NOT CCPP)
set(FAST_PHYSICS_SRCS_F90 atmos_cubed_sphere/model/fv_cmp.F90)
if(NOT PARALLEL_NETCDF)
list(APPEND _fv3atm_defs_private NO_PARALLEL_NETCDF)
endif()

add_library(
fv3core

atmos_cubed_sphere/model/a2b_edge.F90
atmos_cubed_sphere/model/multi_gases.F90
atmos_cubed_sphere/model/boundary.F90
atmos_cubed_sphere/model/dyn_core.F90
atmos_cubed_sphere/model/fv_arrays.F90
${FAST_PHYSICS_SRCS_F90}
atmos_cubed_sphere/model/fv_control.F90
atmos_cubed_sphere/model/fv_dynamics.F90
atmos_cubed_sphere/model/fv_fill.F90
atmos_cubed_sphere/model/fv_grid_utils.F90
atmos_cubed_sphere/model/fv_mapz.F90
atmos_cubed_sphere/model/fv_nesting.F90
atmos_cubed_sphere/model/fv_regional_bc.F90
atmos_cubed_sphere/model/fv_sg.F90
atmos_cubed_sphere/model/fv_tracer2d.F90
atmos_cubed_sphere/model/fv_update_phys.F90
atmos_cubed_sphere/model/sw_core.F90
atmos_cubed_sphere/model/tp_core.F90
atmos_cubed_sphere/model/nh_core.F90
atmos_cubed_sphere/model/nh_utils.F90
atmos_cubed_sphere/tools/external_ic.F90
atmos_cubed_sphere/tools/external_sst.F90
atmos_cubed_sphere/tools/fv_diagnostics.F90
atmos_cubed_sphere/tools/fv_eta.F90
atmos_cubed_sphere/tools/fv_grid_tools.F90
atmos_cubed_sphere/tools/fv_io.F90
atmos_cubed_sphere/tools/fv_mp_mod.F90
atmos_cubed_sphere/tools/fv_nudge.F90
atmos_cubed_sphere/tools/fv_treat_da_inc.F90
atmos_cubed_sphere/tools/fv_iau_mod.F90
atmos_cubed_sphere/tools/fv_restart.F90
atmos_cubed_sphere/tools/fv_surf_map.F90
atmos_cubed_sphere/tools/fv_timing.F90
atmos_cubed_sphere//tools/init_hydro.F90
atmos_cubed_sphere/tools/sim_nc_mod.F90
atmos_cubed_sphere/tools/sorted_index.F90
atmos_cubed_sphere/tools/test_cases.F90
atmos_cubed_sphere/driver/fvGFS/DYCORE_typedefs.F90
atmos_cubed_sphere/driver/fvGFS/fv_nggps_diag.F90
atmos_cubed_sphere/driver/fvGFS/atmosphere.F90
add_library(fv3atm
atmos_model.F90
fv3_cap.F90
module_fv3_config.F90
module_fcst_grid_comp.F90
stochastic_physics/stochastic_physics_wrapper.F90
cpl/module_block_data.F90
cpl/module_cplfields.F90
cpl/module_cap_cpl.F90
io/FV3GFS_io.F90
io/module_write_netcdf.F90
io/module_fv3_io_def.F90
io/module_write_internal_state.F90
io/module_wrt_grid_comp.F90
${POST_SRC}
)

set_property(SOURCE atmos_cubed_sphere/model/nh_utils.F90 APPEND_STRING PROPERTY COMPILE_FLAGS "${FAST}")
set_property(SOURCE atmos_cubed_sphere/model/fv_mapz.F90 APPEND_STRING PROPERTY COMPILE_FLAGS "${FAST}")
add_dependencies(fv3atm fv3 fv3ccpp stochastic_physics)

target_link_libraries(fv3core PRIVATE fms)
target_link_libraries(fv3core PRIVATE gfsphysics)
target_link_libraries(fv3core PRIVATE ipd)
list(APPEND _fv3atm_defs_private GFS_PHYS
INTERNAL_FILE_NML
use_WRTCOMP)

target_include_directories(fv3core PRIVATE atmos_cubed_sphere ${ESMF_MOD})
target_compile_definitions(fv3atm PRIVATE "${_fv3atm_defs_private}")

# end of fv3core
set_target_properties(fv3atm PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(fv3atm INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)

###############################################################################
### ccpp
###############################################################################
if(CCPP)
add_subdirectory(ccpp)
add_subdirectory(ccpp/driver)
add_dependencies(gfsphysics ccpp ccppphys)
add_dependencies(ccppdriver ccpp ccppphys)
add_dependencies(ccppphys ccpp)

target_include_directories(fv3core PRIVATE ${CMAKE_BINARY_DIR}/FV3/ccpp/framework/src)
target_include_directories(fv3core PRIVATE ${CMAKE_BINARY_DIR}/FV3/ccpp/driver)
if(MULTI_GASES)
list(APPEND _fv3atm_defs_private MULTI_GASES)
endif()

set_target_properties(fv3core PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(fv3core PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/mod)

# When specifying an out-of-tree source a binary directory must be explicitly specified.
#add_subdirectory(../stochastic_physics stochastic_physics)
add_subdirectory(stochastic_physics)
target_link_libraries(fv3atm PUBLIC fv3
fv3ccpp
stochastic_physics
fms)

add_library(
fv3cap
target_link_libraries(fv3atm PUBLIC w3nco::w3nco_d
sp::sp_d
bacio::bacio_4
esmf)

atmos_model.F90
fv3_cap.F90
module_fv3_config.F90
module_fcst_grid_comp.F90
time_utils.F90
)
if(INLINE_POST)
target_link_libraries(fv3atm PUBLIC upp::upp)
endif()

if(CCPP)
target_include_directories(fv3cap PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/ccpp/driver/mod)
add_dependencies(fv3cap ccppdriver ccppphys)
if(OPENMP)
target_link_libraries(fv3atm PUBLIC OpenMP::OpenMP_Fortran)
endif()
target_include_directories(fv3cap PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/stochastic_physics)
target_compile_definitions(fv3cap PRIVATE -DESMF_VERSION_MAJOR=${ESMF_VERSION_MAJOR})
target_include_directories(fv3cap PRIVATE ${ESMF_MOD})

target_link_libraries(fv3cap PRIVATE fms)
target_link_libraries(fv3cap PRIVATE fv3cpl)
target_link_libraries(fv3cap PRIVATE gfsphysics)
target_link_libraries(fv3cap PRIVATE ipd)
target_link_libraries(fv3cap PRIVATE io)
target_link_libraries(fv3cap PRIVATE fv3core)
target_link_libraries(fv3cap PRIVATE stochastic_physics)

set_target_properties(fv3cap PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(fv3cap PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/mod)

###############################################################################
### Install
###############################################################################
install(
TARGETS fv3atm
EXPORT fv3atm-config
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod DESTINATION ${CMAKE_INSTALL_PREFIX})

install(EXPORT fv3atm-config
DESTINATION lib/cmake)
Loading