Skip to content

Phase 1 of rk_stratiform CCPPization; CCPPize cldfrc; RK interstitials #219

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

Merged
merged 43 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a496892
Initial commit (will be continuously force-pushed)
jimmielin Jan 14, 2025
f95ea51
Sketch out cloud_particle_sedimentation
jimmielin Jan 17, 2025
28e941b
Sketch out metadata; revert some to precip units
jimmielin Jan 22, 2025
9db8829
Sketch out suite
jimmielin Jan 22, 2025
4d261ac
Further sketch out suite; update cloud_particle_sedimentation
jimmielin Jan 23, 2025
13db10c
Updates to suite and further rk_stratiform_ ccppization
jimmielin Jan 24, 2025
a2cd407
Sketch out some more standard names; finish cloud_particle_sedimentation
jimmielin Jan 24, 2025
564b792
Cleanup cloud_optical_properties; prognostic_cloud_water; rk
jimmielin Feb 4, 2025
c425129
Sketch out convective_cloud_cover split out from cloud_fraction
jimmielin Feb 6, 2025
5c489e2
Sketch cloud_fraction
jimmielin Feb 11, 2025
986d385
Merge branch 'development' into hplin/rk_stratiform
jimmielin Feb 28, 2025
03f81d0
Merge branch 'development' into hplin/rk_stratiform
jimmielin Feb 28, 2025
ad8c894
Cleanup compute_cloud_fraction; sketch out perturbation code
jimmielin Mar 1, 2025
59314ae
Further sketch out RK parts near prognostic_cloud_water
jimmielin Mar 1, 2025
75026a1
Update relative importance variables out from prognostic_cloud_water …
jimmielin Mar 3, 2025
4e54ff2
Fix bit-for-bitness in rk_stratiform_external_forcings_run
jimmielin Mar 7, 2025
e1d05c2
Populate rk_stratiform metadata
jimmielin Mar 10, 2025
408adb2
Update metadata for build.
jimmielin Mar 10, 2025
7151664
Update repartht intent
jimmielin Mar 10, 2025
e264d2f
Attempt to remove cwat in prognostic_cloud_water for bit-for-bitness
jimmielin Mar 10, 2025
ddcc9e5
Merge branch 'development' into hplin/rk_stratiform
jimmielin Mar 10, 2025
38cd282
Sketch out the rest of optical properties, save/init q, t, lcwat
jimmielin Mar 11, 2025
261d077
Fix build
jimmielin Mar 11, 2025
c62eb0b
Add missing dependency flag; fix namelist definition
jimmielin Mar 13, 2025
396983a
Update correct units for prognostic_cloud_water; cleanup compute_clou…
jimmielin Mar 17, 2025
74a3f9e
Update SDF; cldwat initialization
jimmielin Mar 19, 2025
b433d2b
Remove unused rlat in prognostic_cloud_water
jimmielin Mar 21, 2025
c67c21f
Update schemes/cloud_fraction/compute_cloud_fraction.F90
jimmielin Mar 24, 2025
9c23a1e
Update schemes/cloud_fraction/compute_cloud_fraction.F90
jimmielin Mar 24, 2025
5e47894
Fix failing MUSICA docker test
jimmielin Mar 24, 2025
b2d57f4
Fix typo
jimmielin Mar 24, 2025
9fc886a
Address review comments
jimmielin Mar 24, 2025
f06c388
Update namelist defaults
jimmielin Mar 24, 2025
db67087
Fix build
jimmielin Mar 24, 2025
70d56e9
Change standard names check script to ccpp_meta_stdname_check.py
jimmielin Mar 26, 2025
6fb8225
Address review comments
jimmielin Mar 26, 2025
eeb41e5
Remove cam6 namelist default from ZM
jimmielin Mar 26, 2025
03ffcff
Remove not ccpp compliant comment and improve clarity of comment for …
jimmielin Mar 26, 2025
e99b92b
Remove comment on ccpp compliance
jimmielin Apr 4, 2025
4402392
Merge branch 'development' into hplin/rk_stratiform
jimmielin Apr 10, 2025
aa2dd1a
Address review comments
jimmielin Apr 10, 2025
134a6a2
Remove license header on to_be_ccppized file
jimmielin Apr 10, 2025
891d552
Remove license headers from Hack_shallow
jimmielin Apr 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
576 changes: 576 additions & 0 deletions schemes/cloud_fraction/compute_cloud_fraction.F90

Large diffs are not rendered by default.

310 changes: 310 additions & 0 deletions schemes/cloud_fraction/compute_cloud_fraction.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
[ccpp-table-properties]
name = compute_cloud_fraction
type = scheme
dependencies = ../../to_be_ccppized/wv_saturation.F90

[ccpp-arg-table]
name = compute_cloud_fraction_init
type = scheme
[ amIRoot ]
standard_name = flag_for_mpi_root
units = flag
type = logical
dimensions = ()
intent = in
[ iulog ]
standard_name = log_output_unit
units = 1
type = integer
dimensions = ()
intent = in
[ pver ]
standard_name = vertical_layer_dimension
units = count
type = integer
dimensions = ()
intent = in
[ pref_mid ]
standard_name = reference_pressure_in_atmosphere_layer
units = Pa
type = real | kind = kind_phys
dimensions = (vertical_layer_dimension)
intent = in
[ inversion_cld_off_in ]
standard_name = do_no_stratification_based_cloud_fraction
units = flag
type = logical
dimensions = ()
intent = in
[ cldfrc_freeze_dry_in ]
standard_name = do_vavrus_freeze_dry_adjustment_for_cloud_fraction
units = flag
type = logical
dimensions = ()
intent = in
[ cldfrc_ice_in ]
standard_name = do_ice_cloud_fraction_for_cloud_fraction
units = flag
type = logical
dimensions = ()
intent = in
[ iceopt_in ]
standard_name = control_for_ice_cloud_fraction
units = 1
type = integer
dimensions = ()
intent = in
[ rhminl_in ]
standard_name = tunable_parameter_for_minimum_relative_humidity_for_low_stable_clouds_for_cloud_fraction
units = 1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ rhminl_adj_land_in ]
standard_name = tunable_parameter_for_adjustment_to_minimum_relative_humidity_for_low_stable_clouds_for_land_without_snow_cover_for_cloud_fraction
units = 1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ rhminh_in ]
standard_name = tunable_parameter_for_minimum_relative_humidity_for_high_stable_clouds_for_cloud_fraction
units = 1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ premit_in ]
standard_name = tunable_parameter_for_top_pressure_bound_for_mid_level_clouds_for_cloud_fraction
units = Pa
type = real | kind = kind_phys
dimensions = ()
intent = in
[ premib_in ]
standard_name = tunable_parameter_for_bottom_pressure_bound_for_mid_level_liquid_stratus_for_cloud_fraction
units = Pa
type = real | kind = kind_phys
dimensions = ()
intent = in
[ icecrit_in ]
standard_name = tunable_parameter_for_critical_relative_humidity_for_ice_clouds_for_cloud_fraction_using_wilson_and_ballard_scheme
units = 1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ errmsg ]
standard_name = ccpp_error_message
units = none
type = character | kind = len=512
dimensions = ()
intent = out
[ errflg ]
standard_name = ccpp_error_code
units = 1
type = integer
dimensions = ()
intent = out

[ccpp-arg-table]
name = compute_cloud_fraction_timestep_init
type = scheme
[ rhpert_flag ]
standard_name = do_relative_humidity_perturbation_for_cloud_fraction
units = flag
type = logical
dimensions = ()
intent = out
[ errmsg ]
standard_name = ccpp_error_message
units = none
type = character | kind = len=512
dimensions = ()
intent = out
[ errflg ]
standard_name = ccpp_error_code
units = 1
type = integer
dimensions = ()
intent = out

[ccpp-arg-table]
name = compute_cloud_fraction_run
type = scheme
[ ncol ]
standard_name = horizontal_loop_extent
units = count
type = integer
dimensions = ()
intent = in
[ pver ]
standard_name = vertical_layer_dimension
units = count
type = integer
dimensions = ()
intent = in
[ cappa ]
standard_name = ratio_of_dry_air_gas_constant_to_specific_heat_of_dry_air_at_constant_pressure
units = 1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ gravit ]
standard_name = standard_gravitational_acceleration
units = m s-2
type = real | kind = kind_phys
dimensions = ()
intent = in
[ rair ]
standard_name = gas_constant_of_dry_air
units = J kg-1 K-1
type = real | kind = kind_phys
dimensions = ()
intent = in
[ tmelt ]
standard_name = freezing_point_of_water
units = K
type = real | kind = kind_phys
dimensions = ()
intent = in
[ top_lev_cloudphys ]
standard_name = vertical_layer_index_of_cloud_fraction_top
units = index
type = integer
dimensions = ()
intent = in
[ pmid ]
standard_name = air_pressure
units = Pa
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ ps ]
standard_name = surface_air_pressure
units = Pa
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ temp ]
standard_name = air_temperature
units = K
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ sst ]
standard_name = sea_surface_temperature
units = K
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ q ]
standard_name = water_vapor_mixing_ratio_wrt_moist_air_and_condensed_water
units = kg kg-1
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ cldice ]
standard_name = cloud_ice_mixing_ratio_wrt_moist_air_and_condensed_water
units = kg kg-1
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ phis ]
standard_name = surface_geopotential
units = m2 s-2
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ shallowcu ]
standard_name = shallow_convective_cloud_area_fraction_tbd
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ deepcu ]
standard_name = deep_convective_cloud_area_fraction_tbd
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ concld ]
standard_name = convective_cloud_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = in
[ landfrac ]
standard_name = land_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ ocnfrac ]
standard_name = ocean_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ snowh ]
standard_name = lwe_surface_snow_depth_over_land
units = m
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent)
intent = in
[ rhpert_flag ]
standard_name = do_relative_humidity_perturbation_for_cloud_fraction
units = flag
type = logical
dimensions = ()
intent = in
[ cloud ]
standard_name = cloud_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ rhcloud ]
standard_name = cloud_area_fraction_from_relative_humidity_method_tbd
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ cldst ]
standard_name = stratiform_cloud_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ rhu00 ]
standard_name = relative_humidity_threshold_for_prognostic_cloud_water_tbd
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ icecldf ]
standard_name = stratiform_cloud_ice_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ liqcldf ]
standard_name = stratiform_cloud_liquid_area_fraction
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ relhum ]
standard_name = relative_humidity_for_prognostic_cloud_water_tbd
units = fraction
type = real | kind = kind_phys
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
intent = out
[ errmsg ]
standard_name = ccpp_error_message
units = none
type = character | kind = len=512
dimensions = ()
intent = out
[ errflg ]
standard_name = ccpp_error_code
units = 1
type = integer
dimensions = ()
intent = out
Loading