-
Notifications
You must be signed in to change notification settings - Fork 315
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
SNICAR snow albedo scheme updates #1861
Changes from 64 commits
a625eac
759ef18
e3c5459
314c7d3
3e9299f
e006dc5
43e52bf
7dc18ab
9d5fee6
a6e168e
7191233
83991f7
b4a30d6
a6422a2
32ca5ec
725f527
5f8d50d
3164bc6
230e3fc
4ab6738
21b607d
604968e
9cd7a55
a0cd959
0e6f1df
55e91e4
992ef0f
5ddaa34
d47da29
afbe2d6
9808d1a
5ad655a
40bcf15
98f229a
2ee70af
2a4159d
5709993
a5e8c7c
093e54c
f0b6d60
ab5b8f4
557e664
d4be616
1b0f7a2
27f3237
0129068
05ea928
8cf2c70
ffc8eae
55ad199
33c8524
eb10335
3f0fe62
00493ef
ed2a177
eddb844
d6b92ec
99ee926
94846be
b892252
20ce1ea
f952e50
eeba54f
67bf624
3838ceb
3a4ffdc
6adba3d
a2370a0
f0260cf
1890865
44d128e
82a335a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,54 @@ specify spatially variable soil thickness. If not present, use bottom | |
of soil column (nlevsoi). | ||
</entry> | ||
|
||
<entry id="snicar_numrad_snw" type="integer" category="clm_physics" | ||
group="clm_inparm" valid_values="5,480" value="5" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's make an issue as a cleanup to move all of these into a snicar READ-Namelist subroutine and snicar's own namelist. This makes it more modular and able to be seperable from the rest of the code. Also the clm_inparm list is huge and hard to manage. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This could go into #2177 or it's own issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. linking new issue #2204 |
||
number of wavelength bands used in SNICAR snow albedo calculation | ||
(snicar_numrad_snw=5 is the only supported option; others are EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_solarspec" type="char*25" category="clm_physics" | ||
group="clm_inparm" valid_values="mid_latitude_winter,mid_latitude_summer,sub_arctic_winter,sub_arctic_summer,summit_greenland_summer,high_mountain_summer" value="mid_latitude_winter" > | ||
type of downward solar radiation spectrum for SNICAR snow albedo calculation | ||
(snicar_solarspec='mid_latitude_winter' is the only supported option; others are EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_dust_optics" type="char*25" category="clm_physics" | ||
group="clm_inparm" valid_values="sahara,san_juan_mtns_colorado,greenland" value="sahara" > | ||
dust optics type for SNICAR snow albedo calculation | ||
(snicar_dust_optics='sahara' is the only supported option; others are EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_snw_shape" type="char*25" category="clm_physics" | ||
group="clm_inparm" valid_values="sphere,spheroid,hexagonal_plate,koch_snowflake" value="hexagonal_plate" > | ||
snow grain shape used in SNICAR snow albedo calculation | ||
(snicar_dust_optics='hexagonal_plate' is supported in ctsm5.1 and 'sphere' in older model versions; others are EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_use_aerosol" type="logical" category="clm_physics" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's make an issue to make these logical variables start with the CTSM "use_" prefix convention so you can readily see they are logical's. This is good for usability. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. linking new issue #2205 |
||
group="clm_inparm" value=".true."> | ||
Toggle to turn on/off aerosol deposition flux in snow in SNICAR | ||
(snicar_use_aerosol='.false.' is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_snobc_intmix" type="logical" category="clm_physics" | ||
group="clm_inparm" value=".false." > | ||
option to activate BC-snow internal mixing in SNICAR snow albedo calculation | ||
(snicar_snobc_intmix='.true.' is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="snicar_snodst_intmix" type="logical" category="clm_physics" | ||
group="clm_inparm" value=".false." > | ||
option to activate dust-snow internal mixing in SNICAR snow albedo calculation | ||
(snicar_snodst_intmix='.true.' is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="do_sno_oc" type="logical" category="clm_physics" | ||
group="clm_inparm" value=".false." > | ||
option to activate organic carbon (OC) in SNICAR snow albedo calculation | ||
(do_sno_oc='.true.' is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="rooting_profile_method_water" type="integer" category="clm_physics" | ||
group="rooting_profile_inparm" valid_values="0,1,2" > | ||
Index of rooting profile for water | ||
|
@@ -1065,13 +1113,13 @@ Maximum nitrification rate constant (1/s) | |
<entry id="use_extralakelayers" type="logical" category="physics" | ||
group="clm_inparm" valid_values="" value=".false."> | ||
Toggle to use 25 lake layers instead of 10 | ||
(extralaklayers=".true." is EXPERIMENTAL NOT SUPPORTED! Nor is it Tested!) | ||
(extralaklayers=".true." is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="use_vichydro" type="logical" category="physics" | ||
group="clm_inparm" valid_values="" value=".false."> | ||
Toggle to turn on the VIC hydrologic parameterizations | ||
(vichydro=".true." is EXPERIMENTAL NOT SUPPORTED!) | ||
(vichydro=".true." is EXPERIMENTAL, UNSUPPORTED!) | ||
</entry> | ||
|
||
<entry id="use_crop" type="logical" category="physics" | ||
|
@@ -1150,10 +1198,9 @@ DependsOnLatAndVeg - Arctic vegetation depends on latitude as above, but tempera | |
(only used when CN is on) | ||
</entry> | ||
|
||
<entry id="use_snicar_frc" type="logical" category="physics" | ||
group="clm_inparm" valid_values="" value=".false."> | ||
Toggle to turn on calculation of SNow and Ice Aerosol Radiation model (SNICAR) radiative forcing | ||
(snicar_frc=".true." is EXPERIMENTAL NOT SUPPORTED!) | ||
<entry id="snicar_aerforc_diag" type="logical" category="physics" | ||
group="clm_inparm" value=".false."> | ||
Toggle to turn on calculation of SNow and Ice Aerosol Radiation model (SNICAR) albedo forcing diagnostics for each aerosol species | ||
</entry> | ||
|
||
<entry id="use_noio" type="logical" category="default_settings" | ||
|
@@ -1722,7 +1769,7 @@ to hydrologic variables (either TWS or ZWT) | |
<!-- Prescribed soil moisture --> | ||
<entry id="use_soil_moisture_streams" type="logical" category="physics" | ||
group="clm_inparm" valid_values="" value=".false."> | ||
Toggle to turn on use of input prescribed soil moisture streams rather than have CLM prognose it (EXPERIMENTAL) | ||
Toggle to turn on use of input prescribed soil moisture streams rather than have CLM prognose it (EXPERIMENTAL, UNSUPPORTED!) | ||
slevis-lmwg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</entry> | ||
|
||
<entry id="stream_year_first_soilm" type="integer" category="datasets" | ||
|
@@ -1771,7 +1818,7 @@ prescribed data. | |
<entry id="use_lai_streams" type="logical" category="physics" | ||
group="clm_inparm" valid_values="" value=".false."> | ||
Toggle to turn on use of LAI streams in place of the LAI on the surface dataset when using Satellite Phenology mode. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="stream_year_first_lai" type="integer" category="datasets" | ||
|
@@ -2224,7 +2271,7 @@ Profile over which to distribute C and N coming from surface pools (leaves, stem | |
<entry id="no_frozen_nitrif_denitrif" type="logical" category="clm_vertcn" | ||
group="clm_inparm" valid_values="" > | ||
If true, no denitrification or nitrification in frozen soil layers. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="nfix_timeconst" type="real" category="clm_vertcn" | ||
|
@@ -2303,13 +2350,13 @@ tests. This namelist flag bypasses this error-check. | |
group="clm_inparm" valid_values="" > | ||
If TRUE, weight btran (vegetation soil moisture availability) by unfrozen layers only, assuming that vegetation | ||
will allocate roots preferentially to the active layer. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="perchroot_alt" type="logical" category="clm_permafrost" | ||
group="clm_inparm" valid_values="" > | ||
If TRUE, weight btran (vegetation soil moisture availability) by the active layer, as defined by the greatest thaw depth over the current and prior years. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<!-- stress deciduous onset trigger --> | ||
|
@@ -2345,7 +2392,7 @@ How much Carbon to initialize vegetation pools (leafc/frootc and storage) to whe | |
<entry id="CNratio_floating" type="logical" category="clm_nitrogen" | ||
group="clm_nitrogen" value=".false."> | ||
Flexible CN ratio used for Phenology | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="reduce_dayl_factor" type="logical" category="clm_nitrogen" | ||
|
@@ -2357,21 +2404,21 @@ How much Carbon to initialize vegetation pools (leafc/frootc and storage) to whe | |
<entry id="vcmax_opt" type="integer" category="clm_nitrogen" | ||
group="clm_nitrogen" valid_values="0,3,4"> | ||
Vcmax calculation for Photosynthesis | ||
vcmax_opt = 4 As for vcmax_opt=0, but using leafN, and exponential if tree (EXPERIMENTAL NOT TESTED!) | ||
vcmax_opt = 4 As for vcmax_opt=0, but using leafN, and exponential if tree (EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
vcmax_opt = 3 Based on leafN and VCAD (used with Luna for crop and C4 vegetation) | ||
vcmax_opt = 0 Based on canopy top and foilage Nitrogen limitation factor from params file (clm4.5) | ||
</entry> | ||
|
||
<entry id="CN_evergreen_phenology_opt" type="integer" category="clm_nitrogen" | ||
group="clm_nitrogen" valid_values="0,1"> | ||
Evergreen phenology option for CNPhenology | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="carbon_resp_opt" type="integer" category="clm_nitrogen" | ||
group="clm_nitrogen" valid_values="0,1"> | ||
Carbon respiration option to burn off carbon when CN ratio is too high (do NOT use when FUN is on) | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
|
||
|
@@ -2429,7 +2476,7 @@ then don't fix aere (see ch4Mod.F90). | |
<entry id="allowlakeprod" type="logical" category="clm_methane" | ||
group="ch4par_in" valid_values="" > | ||
If TRUE, turn on methane biogeochemistry model for lake columns, using a simplified version of the CH4 submodel. | ||
(EXPERIMENTAL) | ||
(EXPERIMENTAL, UNSUPPORTED!) | ||
</entry> | ||
|
||
<entry id="usephfact" type="logical" category="clm_methane" | ||
|
@@ -2448,7 +2495,7 @@ If TRUE, maintain constant soil carbon under lakes, and use the methane submodel | |
CO2 (via biological assimilation, decomposition, and methanogenesis) to CH4. If FALSE, transiently decompose initial | ||
soil carbon stock based on soil carbon dataset. NOTE: if FALSE, a new transient source of C is added to the climate system, | ||
so the coupled system will NOT conserve carbon in this mode if the methane model is coupled to the atmosphere. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="finundation_method" type="char*50" category="clm_methane" | ||
|
@@ -2461,22 +2508,22 @@ ZWT_inversion ---- Use inversion of Prigent Satellite data to model ZWT | |
TWS_inversion ---- Use inversion of Prigent Satellite data to model TWS | ||
|
||
Inversion options require additional data on fsurdat or use of stream_fldfilename_ch4finundated files. | ||
(h2osfc option is EXPERIMENTAL and NOT tested) | ||
(h2osfc option is EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="usefrootc" type="logical" category="clm_methane" | ||
group="ch4par_in" valid_values="" > | ||
If TRUE, use the fine root carbon predicted by CN when calculating the aerenchyma area, rather than the parametrization | ||
based on annual NPP, aboveground NPP fraction, and LAI. | ||
(EXPERIMENTAL and NOT tested) | ||
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!) | ||
</entry> | ||
|
||
<entry id="ch4offline" type="logical" category="clm_methane" | ||
group="ch4par_in" valid_values="" > | ||
If TRUE, run the methane submodel decoupled from the atmosphere. The atmospheric methane concentration is prescribed by | ||
atmch4, the methane flux is not passed to the atmosphere, and the CO2 flux to the atmosphere is not adjusted for | ||
net methane production. NOTE: Currently this must be TRUE. | ||
(EXPERIMENTAL and NOT functional) | ||
(EXPERIMENTAL, UNSUPPORTED, and NOT functional!) | ||
</entry> | ||
|
||
<!-- ======================================================================================== --> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
use_snicar_frc = .true. | ||
snicar_aerforc_diag = .true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@slevis-lmwg and I talked about this and we'd like to change this into a loop for maintainability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@slevis-lmwg there's an example of a warning inside a loop in check_megan_spec the subroutine.
An example of a dictionary in perl is the %opts hash. You then use the keys function inside a foreach loop
so something like...