Skip to content

Commit 138d48a

Browse files
authored
Merge pull request #1646 from CliMA/zs/cc/surface_flux
update surface fluxes and update dependencies
2 parents 79010a9 + 2889878 commit 138d48a

26 files changed

+899
-742
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ steps:
3131
- "julia --project -e 'using Pkg; Pkg.status()'"
3232

3333
- echo "--- Instantiate ClimaEarth experiments env"
34-
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.develop(path=\".\")'"
3534
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
3635
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add(\"MPI\")'"
3736
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
3837
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
3938

4039
- echo "--- Instantiate ClimaCore experiments env"
41-
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.develop(path=\".\")'"
4240
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
4341
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.add(\"MPI\")'"
4442
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.precompile()'"
@@ -357,6 +355,7 @@ steps:
357355
agents:
358356
slurm_mem: 20GB
359357
slurm_gpus: 1
358+
soft_fail: true
360359

361360
- label: "GPU CMIP: ClimaAtmos + bucket land + Oceananigans + ClimaSeaIce"
362361
key: "gpu_cmip_oceananigans_climaseaice_bucket"
@@ -367,6 +366,7 @@ steps:
367366
agents:
368367
slurm_mem: 20GB
369368
slurm_gpus: 1
369+
soft_fail: true
370370

371371
- label: "GPU CMIP: ClimaAtmos + integrated land + Oceananigans + PrescribedSeaIce"
372372
key: "gpu_cmip_oceananigans_prescrseaice"
@@ -377,6 +377,7 @@ steps:
377377
agents:
378378
slurm_mem: 20GB
379379
slurm_gpus: 1
380+
soft_fail: true
380381

381382
- label: "GPU CMIP: ClimaAtmos + integrated land + Oceananigans + ClimaSeaIce"
382383
key: "gpu_cmip_oceananigans_climaseaice"
@@ -387,6 +388,7 @@ steps:
387388
agents:
388389
slurm_mem: 20GB
389390
slurm_gpus: 1
391+
soft_fail: true
390392

391393
- group: "Calibration experiments"
392394
steps:

NEWS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ ClimaCoupler.jl Release Notes
66

77
### ClimaCoupler features
88

9-
#### Change default simulation output directory PRPR[#1653](https://github.com/CliMA/ClimaCoupler.jl/pull/1653)
9+
#### Update interfaces to surface flux calculator PR[#1646](https://github.com/CliMA/ClimaCoupler.jl/pull/1646)
10+
Uses new interface in SurfaceFluxes v0.15 to calculate surface fluxes. For the bucket model, call the
11+
turbulent_fluxes! function in ClimaLand directly for surface flux calculation.
12+
13+
#### Change default simulation output directory PR[#1653](https://github.com/CliMA/ClimaCoupler.jl/pull/1653)
1014
Changes the default output directory from `experiments/ClimaEarth/output/` to `output`.
1115
The internal structure within the output directory remains the same.
1216

Project.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ ClimaCouplerOceananigansMakieExt = ["CairoMakie", "ClimaCoreMakie", "GeoMakie",
3636

3737
[compat]
3838
ArgParse = "1"
39-
CairoMakie = "0.12"
39+
CairoMakie = "0.15"
4040
ClimaAnalysis = "0.5.10"
41-
ClimaAtmos = "0.33"
41+
ClimaAtmos = "0.34"
4242
ClimaComms = "0.6.2"
43-
ClimaCore = "0.14.25"
43+
ClimaCore = "0.14.46"
4444
ClimaCoreMakie = "0.4"
4545
ClimaDiagnostics = "0.2.6"
4646
ClimaUtilities = "0.1.22"
4747
Dates = "1"
4848
GeoMakie = "0.7"
4949
JLD2 = "0.5, 0.6"
5050
Logging = "1"
51-
Makie = "0.21"
52-
Oceananigans = "0.100"
51+
Makie = "0.24"
52+
Oceananigans = "0.101.3, 0.102, 0.103"
5353
Poppler_jll = "24"
5454
Printf = "1"
5555
SciMLBase = "~2.110, ~2.111, ~2.112"
5656
StaticArrays = "1.9.8"
5757
Statistics = "1"
58-
SurfaceFluxes = "0.12.3, 0.13, 0.14.1"
58+
SurfaceFluxes = "0.15.0"
5959
Thermodynamics = "0.14.1, 0.15"
6060
YAML = "0.4"
6161
julia = "1.10"

docs/src/fluxcalculator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ fluxes and the CoupledSimulation object's fluxes fields.
3737
- the Obukhov length, `L_MO`;
3838
- the buoyancy flux, `buoyancy_flux`;
3939
- the roughness lengths for momentum and buoyancy, `z0m` and `z0b`;
40-
- the evaporation scaling factor, `beta`,
4140
- the frictional velocity `ustar`.
4241

4342
!!! note

docs/src/interfacer.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ overwritten or used as-is. These currently include the following:
279279

280280
| Coupler name | Description | Units | Default value |
281281
|---------------|---------------------------------------------------------------------------|-------|---------------|
282-
| `beta` | factor that scales evaporation based on its estimated level of saturation | | 1 |
283282
| `emissivity` | measure of how much energy a surface radiates | | 1 |
284283
| `height_disp` | displacement height relative to the surface | m | 0 |
285284

@@ -300,7 +299,6 @@ coupler.
300299

301300
```
302301
get_field(sim::AbstractSurfaceStub, ::Val{:area_fraction}) = sim.cache.area_fraction
303-
get_field(sim::AbstractSurfaceStub, ::Val{:beta}) = sim.cache.beta
304302
get_field(sim::AbstractSurfaceStub, ::Val{:roughness_buoyancy}) = sim.cache.z0b
305303
get_field(sim::AbstractSurfaceStub, ::Val{:roughness_momentum}) = sim.cache.z0m
306304
get_field(sim::AbstractSurfaceStub, ::Val{:surface_direct_albedo}) = sim.cache.α_direct

0 commit comments

Comments
 (0)