Skip to content

Commit c249297

Browse files
committed
remove deprecated function and update news
1 parent 9d1376b commit c249297

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

.buildkite/pipeline.yml

Lines changed: 0 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()'"

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

src/FluxCalculator.jl

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import Thermodynamics.Parameters as TDP
1414
import ClimaCore as CC
1515
import ..Interfacer, ..Utilities
1616

17-
export extrapolate_ρ_to_sfc,
18-
turbulent_fluxes!,
17+
export turbulent_fluxes!,
1918
get_surface_params,
2019
update_turbulent_fluxes!,
2120
compute_surface_fluxes!,
@@ -76,19 +75,6 @@ function turbulent_fluxes!(csf, model_sims, thermo_params)
7675
return nothing
7776
end
7877

79-
# TODO: remove this deprecated function
80-
"""
81-
extrapolate_ρ_to_sfc(thermo_params, ts_int, T_sfc)
82-
83-
Uses the ideal gas law and hydrostatic balance to extrapolate for surface density.
84-
"""
85-
function extrapolate_ρ_to_sfc(thermo_params, ts_in, T_sfc)
86-
T_int = TD.air_temperature(thermo_params, ts_in)
87-
Rm_int = TD.gas_constant_air(thermo_params, ts_in)
88-
ρ_air = TD.air_density(thermo_params, ts_in)
89-
return ρ_air * (T_sfc / T_int)^(TD.cv_m(thermo_params, ts_in) / Rm_int)
90-
end
91-
9278
"""
9379
get_surface_fluxes(inputs, surface_params::SF.Parameters.SurfaceFluxesParameters)
9480

0 commit comments

Comments
 (0)