Skip to content

Commit

Permalink
fix RC in land albedo
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed Oct 18, 2023
1 parent f83c2fb commit ca49a41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions experiments/AMIP/modular/components/land/bucket_init.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ function bucket_init(
α_snow = FT(0.8) # snow albedo
if albedo_type == "map_static" # Read in albedo from static data file (default type)
# By default, this uses a file containing bareground albedo without a time component. Snow albedo is specified separately.
if ClimaComms.iamroot(comms_ctx)
albedo = BulkAlbedoStatic{FT}(regrid_dirpath, α_snow = α_snow, comms = comms_ctx)
end
ClimaComms.barrier(comms_ctx)
albedo = BulkAlbedoStatic{FT}(regrid_dirpath, α_snow = α_snow, comms = comms_ctx)
elseif albedo_type == "map_temporal" # Read in albedo from data file containing data over time
# By default, this uses a file containing linearly-interpolated monthly data of total albedo, generated by CESM2's land model (CLM).
Expand Down

0 comments on commit ca49a41

Please sign in to comment.