Skip to content

Commit

Permalink
Do not use ClimaArtifacts
Browse files Browse the repository at this point in the history
It conflicts with ArtifactWrapper
  • Loading branch information
Sbozzolo committed Apr 30, 2024
1 parent 95df79e commit 9dd5a50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion experiments/standalone/Bucket/global_bucket_staticmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ albedo = PrescribedBaregroundAlbedo{FT}(α_snow, surface_space);
bucket_parameters = BucketModelParameters(FT; albedo, z_0m, z_0b, τc);

# Forcing data
era5_artifact_path = @clima_artifact("era5_land_forcing_data2021", context)
# TODO: Change with era5_artifact_path = @clima_artifact("era5_land_forcing_data2021", context)
era5_artifact_path = "/groups/esm/ClimaArtifacts/artifacts/era5_land_forcing_data2021"

# Below, the preprocess_func argument is used to
# 1. Convert precipitation to be negative (as it is downwards)
# 2. Convert accumulations over an hour to a rate per second
Expand Down
9 changes: 6 additions & 3 deletions experiments/standalone/Soil/richards_runoff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ runoff_model = ClimaLand.Soil.Runoff.TOPMODELRunoff{FT}(;
f_max = f_max,
R_sb = R_sb,
)
soil_params_artifact_path =
@clima_artifact("soil_params_Gupta2020_2022", context)
# TODO: Change with @clima_artifact("soil_params_Gupta2020_2022", context)
soil_params_artifact_path = "/groups/esm/ClimaArtifacts/artifacts/soil_params_Gupta2020_2022"

extrapolation_bc =
(Interpolations.Periodic(), Interpolations.Flat(), Interpolations.Flat())
# We use this mask to set values of these parameters over the ocean, in order
Expand Down Expand Up @@ -150,7 +151,9 @@ soil_params = ClimaLand.Soil.RichardsParameters(;
θ_r = θ_r,
)

era5_artifact_path = @clima_artifact("era5_land_forcing_data2021", context)
# TODO: Change with era5_artifact_path = @clima_artifact("era5_land_forcing_data2021", context)
era5_artifact_path = "/groups/esm/ClimaArtifacts/artifacts/era5_land_forcing_data2021"

# Below, the preprocess_func argument is used to
# 1. Convert precipitation to be negative (as it is downwards)
# 2. Convert accumulations over an hour to a rate per second
Expand Down

0 comments on commit 9dd5a50

Please sign in to comment.