Skip to content

Commit 3df56b6

Browse files
committed
merge top and snicar_nonspheric
2 parents 36df5fd + 43ef337 commit 3df56b6

File tree

12 files changed

+721
-45
lines changed

12 files changed

+721
-45
lines changed

components/elm/bld/namelist_files/namelist_defaults.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,10 @@ this mask will have smb calculated over the entire global land surface
556556
<fsnowoptics >lnd/clm2/snicardata/snicar_optics_5bnd_mam_c160322.nc</fsnowoptics>
557557
<fsnowaging >lnd/clm2/snicardata/snicar_drdt_bst_fit_60_c070416.nc</fsnowaging>
558558
<use_snicar_ad>.true.</use_snicar_ad>
559+
<snow_shape_defined>1</snow_shape_defined>
560+
<is_dust_internal_mixing>.false.</is_dust_internal_mixing>
561+
<is_BC_internal_mixing>.false.</is_BC_internal_mixing>
562+
<snicar_atm_type>0</snicar_atm_type>
559563

560564
<!-- Nitrogen deposition streams namelist defaults -->
561565
<stream_year_first_ndep use_cn=".true." sim_year="2000" >2000</stream_year_first_ndep>

components/elm/bld/namelist_files/namelist_definition.xml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ Per tape series history write frequency.
511511
</entry>
512512

513513
<entry id="metdata_biases" type="char*400" category="datasets"
514-
group="elm_inparm" valid_values="">
514+
group="elm_inparm" valid_values="">
515515
</entry>
516516

517517
<entry id="co2_file" type="char*400" category="datasets"
@@ -645,6 +645,27 @@ The same snow shortwave algorithm can be turned on for sea-ice simulation
645645
with config_use_snicar_ad in mpas-seaice namelist
646646
</entry>
647647

648+
<entry id="snow_shape_defined" type="integer" category="physics"
649+
group="elm_inparm" valid_values="" value="1">
650+
snow shape: 1=sphere (original assumption in SNICAR)
651+
2=spheroid; 3=hexagonal plate; 4=koch snowflake
652+
</entry>
653+
654+
<entry id="is_dust_internal_mixing" type="logical" category="physics"
655+
group="elm_inparm" valid_values="" value=".false.">
656+
is_dust_internal_mixing
657+
</entry>
658+
659+
<entry id="is_BC_internal_mixing" type="logical" category="physics"
660+
group="elm_inparm" valid_values="" value=".false.">
661+
is_BC_internal_mixing
662+
</entry>
663+
664+
<entry id="snicar_atm_type" type="integer" category="physics"
665+
group="elm_inparm" valid_values="" value="0">
666+
atmospheric types for snicar
667+
</entry>
668+
648669
<entry id="use_extrasnowlayers" type="logical" category="physics"
649670
group="elm_inparm" valid_values="" value=".false.">
650671
Toggle to use 16 snow layers instead of 5. This option enables more realistic

components/elm/src/biogeophys/AerosolType.F90

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,39 @@ subroutine InitHistory(this, bounds)
231231
avgflag='A', long_name='mass of dust in top snow layer', &
232232
ptr_col=this%mss_dst_top_col, set_urb=spval)
233233

234+
! add ouput of mass of aerosols
235+
this%mss_cnc_bcphi_col(begc:endc,:) = spval
236+
call hist_addfld2d (fname='mss_cnc_bcphi_col', units='kg/kg', type2d='levsno', &
237+
avgflag='A', long_name='mss_cnc_bcphi_col', &
238+
ptr_col=this%mss_cnc_bcphi_col, no_snow_behavior=no_snow_normal, default='inactive')
239+
240+
this%mss_cnc_bcpho_col(begc:endc,:) = spval
241+
call hist_addfld2d (fname='mss_cnc_bcpho_col', units='kg/kg', type2d='levsno', &
242+
avgflag='A', long_name='mss_cnc_bcpho_col', &
243+
ptr_col=this%mss_cnc_bcpho_col, no_snow_behavior=no_snow_normal, default='inactive')
244+
245+
this%mss_cnc_dst1_col(begc:endc,:) = spval
246+
call hist_addfld2d (fname='mss_cnc_dst1_col', units='kg/kg', type2d='levsno', &
247+
avgflag='A', long_name='mss_cnc_dst1_col', &
248+
ptr_col=this%mss_cnc_dst1_col, no_snow_behavior=no_snow_normal, default='inactive')
249+
250+
this%mss_cnc_dst2_col(begc:endc,:) = spval
251+
call hist_addfld2d (fname='mss_cnc_dst2_col', units='kg/kg', type2d='levsno', &
252+
avgflag='A', long_name='mss_cnc_dst2_col', &
253+
ptr_col=this%mss_cnc_dst2_col, no_snow_behavior=no_snow_normal, default='inactive')
254+
255+
this%mss_cnc_dst3_col(begc:endc,:) = spval
256+
call hist_addfld2d (fname='mss_cnc_dst3_col', units='kg/kg', type2d='levsno', &
257+
avgflag='A', long_name='mss_cnc_dst3_col', &
258+
ptr_col=this%mss_cnc_dst3_col, no_snow_behavior=no_snow_normal, default='inactive')
259+
260+
this%mss_cnc_dst4_col(begc:endc,:) = spval
261+
call hist_addfld2d (fname='mss_cnc_dst4_col', units='kg/kg', type2d='levsno', &
262+
avgflag='A', long_name='mss_cnc_dst4_col', &
263+
ptr_col=this%mss_cnc_dst4_col, no_snow_behavior=no_snow_normal, default='inactive')
264+
265+
266+
234267
end subroutine InitHistory
235268

236269
!-----------------------------------------------------------------------

0 commit comments

Comments
 (0)