Skip to content

Commit 75872f8

Browse files
authored
Merge pull request #738 from CliMA/js/atmosv023
up Atmos, Land
2 parents c5dfb63 + ee934d1 commit 75872f8

File tree

8 files changed

+603
-1151
lines changed

8 files changed

+603
-1151
lines changed

experiments/AMIP/Manifest.toml

Lines changed: 288 additions & 583 deletions
Large diffs are not rendered by default.

experiments/AMIP/Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ClimaParams = "5c42b081-d73a-476f-9059-fd94b934656c"
1616
ClimaTimeSteppers = "595c0a79-7f3d-439a-bc5a-b232dc3bde79"
1717
CloudMicrophysics = "6a9e3e04-43cd-43ba-94b9-e8782df3c71b"
1818
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
19+
CommonDataModel = "1fbeeb36-5f17-413c-809b-666fb144f157"
1920
Dierckx = "39dd38d3-220a-591b-8e3c-4c3a8c710a94"
2021
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
2122
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -52,12 +53,13 @@ ArgParse = "1.1"
5253
ArtifactWrappers = "0.2"
5354
AtmosphericProfilesLibrary = "0.1"
5455
ClimaAnalysis = "0.5"
55-
ClimaAtmos = "0.22"
56+
ClimaAtmos = "0.23"
5657
ClimaCorePlots = "0.2"
5758
ClimaLand = "0.11"
5859
ClimaParams = "0.10"
5960
ClimaTimeSteppers = "0.7"
6061
Colors = "0.12"
62+
CommonDataModel = "=0.3.5"
6163
Dierckx = "0.5"
6264
ForwardDiff = "0.10"
6365
Glob = "1"

experiments/AMIP/components/land/climaland_bucket.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ function bucket_init(
7272
α_snow = FT(0.8) # snow albedo
7373
if albedo_type == "map_static" # Read in albedo from static data file (default type)
7474
# By default, this uses a file containing bareground albedo without a time component. Snow albedo is specified separately.
75-
albedo = CL.Bucket.PrescribedBaregroundAlbedo{FT}(α_snow, regrid_dirpath, space)
75+
albedo = CL.Bucket.PrescribedBaregroundAlbedo{FT}(α_snow, space)
7676
elseif albedo_type == "map_temporal" # Read in albedo from data file containing data over time
7777
# By default, this uses a file containing linearly-interpolated monthly data of total albedo, generated by CESM2's land model (CLM).
78-
albedo = CL.Bucket.PrescribedSurfaceAlbedo{FT}(regrid_dirpath, date_ref, t_start, space)
78+
albedo = CL.Bucket.PrescribedSurfaceAlbedo{FT}(date_ref, t_start, space)
7979
elseif albedo_type == "function" # Use prescribed function of lat/lon for surface albedo
8080
function α_bareground(coordinate_point)
8181
(; lat, long) = coordinate_point

experiments/AMIP/coupler_driver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ if ClimaComms.iamroot(comms_ctx)
943943
if config_dict["ci_plots"]
944944
@info "Generating CI plots"
945945
include("user_io/ci_plots.jl")
946-
make_plots(Val(:general_ci_plots), [joinpath(dir_paths.output, "clima_atmos")], dir_paths.artifacts)
946+
make_plots(Val(:general_ci_plots), [atmos_sim.integrator.p.output_dir], dir_paths.artifacts)
947947
end
948948

949949
## plot all model states and coupler fields (useful for debugging) TODO: make MPI & GPU compatible

0 commit comments

Comments
 (0)