-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Active Physics Schemes to Config (#44)
* initial commit, need to adapt and run tests * revising scheme name * tests pass * update history * linting * changing typehints for physics schemes to enum instead of str * driver now works with physics config enum, tests pass * fixed tests * missed one
- Loading branch information
Showing
21 changed files
with
192 additions
and
47 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
98 changes: 98 additions & 0 deletions
98
driver/examples/configs/baroclinic_c12_explicit_physics.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
stencil_config: | ||
compilation_config: | ||
backend: numpy | ||
rebuild: false | ||
validate_args: true | ||
format_source: false | ||
device_sync: false | ||
initialization: | ||
type: analytic | ||
config: | ||
case: baroclinic | ||
performance_config: | ||
collect_performance: true | ||
experiment_name: c12_baroclinic | ||
nx_tile: 12 | ||
nz: 79 | ||
dt_atmos: 225 | ||
minutes: 15 | ||
layout: | ||
- 1 | ||
- 1 | ||
diagnostics_config: | ||
path: output | ||
output_format: netcdf | ||
names: | ||
- u | ||
- v | ||
- ua | ||
- va | ||
- pt | ||
- delp | ||
- qvapor | ||
- qliquid | ||
- qice | ||
- qrain | ||
- qsnow | ||
- qgraupel | ||
z_select: | ||
- level: 65 | ||
names: | ||
- pt | ||
dycore_config: | ||
a_imp: 1.0 | ||
beta: 0. | ||
consv_te: 0. | ||
d2_bg: 0. | ||
d2_bg_k1: 0.2 | ||
d2_bg_k2: 0.1 | ||
d4_bg: 0.15 | ||
d_con: 1.0 | ||
d_ext: 0.0 | ||
dddmp: 0.5 | ||
delt_max: 0.002 | ||
do_sat_adj: true | ||
do_vort_damp: true | ||
fill: true | ||
hord_dp: 6 | ||
hord_mt: 6 | ||
hord_tm: 6 | ||
hord_tr: 8 | ||
hord_vt: 6 | ||
hydrostatic: false | ||
k_split: 1 | ||
ke_bg: 0. | ||
kord_mt: 9 | ||
kord_tm: -9 | ||
kord_tr: 9 | ||
kord_wz: 9 | ||
n_split: 1 | ||
nord: 3 | ||
nwat: 6 | ||
p_fac: 0.05 | ||
rf_cutoff: 3000. | ||
rf_fast: true | ||
tau: 10. | ||
vtdm4: 0.06 | ||
z_tracer: true | ||
do_qa: true | ||
tau_i2s: 1000. | ||
tau_g2v: 1200. | ||
ql_gen: 0.001 | ||
ql_mlt: 0.002 | ||
qs_mlt: 0.000001 | ||
qi_lim: 1.0 | ||
dw_ocean: 0.1 | ||
dw_land: 0.15 | ||
icloud_f: 0 | ||
tau_l2v: 300. | ||
tau_v2l: 90. | ||
fv_sg_adj: 0 | ||
n_sponge: 48 | ||
|
||
physics_config: | ||
hydrostatic: false | ||
nwat: 6 | ||
do_qa: true | ||
schemes: | ||
- GFS_microphysics |
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
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
Oops, something went wrong.