Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to atmos v0.20, land v0.7, etc #598

Merged
merged 8 commits into from
Feb 7, 2024
Merged

update to atmos v0.20, land v0.7, etc #598

merged 8 commits into from
Feb 7, 2024

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented Feb 3, 2024

Purpose

update to latest dependencies

note: ClimaLSM v0.7.0 moves almost all bucket functions dispatching on CoupledAtmosphere into ClimaLSM so we can remove them here. However, two functions still need to be defined in ClimaCoupler. I've documented them here: #601

note 2: this update causes functions using the allskywithclear radiation option to be unstable. See #602 for more info.

closes #593

@juliasloan25 juliasloan25 changed the title Js/atmosv0200 update to atmos v0.20, land v0.7, etc Feb 3, 2024
@@ -32,6 +32,9 @@ docs/src/generated/
!experiments/ClimaCore/**/Manifest.toml
!perf/Manifest.toml

# Output
output/
Copy link
Member Author

@juliasloan25 juliasloan25 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before we checked in output/ so we didn't need this (output dir removed in #588)

@juliasloan25 juliasloan25 force-pushed the js/atmosv0200 branch 2 times, most recently from 4f8d5fa to 0411393 Compare February 5, 2024 20:22
Copy link
Collaborator

@LenkaNovak LenkaNovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you, @juliasloan25 ! It's great to see some of the parameter simplifications! I just had a comment on energy flux passing.

@LenkaNovak
Copy link
Collaborator

I'm also seeing some of the conservation checks failed... looking into it now

end
function update_field!(sim::BucketSimulation, ::Val{:turbulent_moisture_flux}, field)
ρ_liq = (LSMP.ρ_cloud_liq(sim.model.parameters.earth_param_set))
parent(sim.integrator.p.bucket.evaporation) .= parent(field ./ ρ_liq) # TODO: account for sublimation
parent(sim.integrator.p.bucket.turbulent_fluxes.vapor_flux) .= parent(field ./ ρ_liq) # TODO: account for sublimation
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re conservation, does ClimaLand still use m / s for sim.integrator.p.bucket.turbulent_fluxes.vapor_flux or is it now kg / m2 / s ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is still m/s...that is the last thing we need to do (across all land models) to be consistent with the flux conventions we agreed on with MIT.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. There's no huge rush on it, but pls let us know when it changes. Thank you for confirming! :)

@juliasloan25 juliasloan25 force-pushed the js/atmosv0200 branch 2 times, most recently from 70ba922 to ff73a54 Compare February 6, 2024 21:24
Copy link
Collaborator

@LenkaNovak LenkaNovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@juliasloan25 juliasloan25 merged commit f788189 into main Feb 7, 2024
9 checks passed
@juliasloan25 juliasloan25 deleted the js/atmosv0200 branch February 7, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dependency updates
4 participants