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

rm bycolumn #805

Merged
merged 1 commit into from
Jun 26, 2024
Merged

rm bycolumn #805

merged 1 commit into from
Jun 26, 2024

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented May 20, 2024

Purpose

closes #736

Results

  • SYPD for partitioned turbulent fluxes run increased from ~2.5 to ~3.7 on CPU (not running long enough for consistent SYPD estimates, but definitely increased)
  • partitioned turbulent fluxes now GPU-compatible
  • results are identical to main

Content: bycolumn removed from

  • experiments/ClimaEarth/components/atmosphere/climaatmos_extra_diags.jl
  • src/FluxCalculator.jl.update_turbulent_fluxes (used for partitioned turbulent fluxes)
    • and extended methods for component models
  • get_field, update_field! methods for component models
  • experiments/ClimaEarth/components/ocean/eisenman_seaice.jl solve_eisenman_model

  • I have read and checked the items on the review checklist.

@juliasloan25 juliasloan25 force-pushed the js/bycolumn branch 2 times, most recently from 25d12a9 to 6f571c3 Compare May 21, 2024 05:41
@juliasloan25 juliasloan25 force-pushed the js/bycolumn branch 6 times, most recently from d0d677e to 3730789 Compare June 25, 2024 01:14
src/FluxCalculator.jl Outdated Show resolved Hide resolved
@juliasloan25 juliasloan25 force-pushed the js/bycolumn branch 2 times, most recently from caf579d to 19a90c5 Compare June 25, 2024 06:39
end
function surface_inputs(::MoninObukhovScheme, input_args::NamedTuple)
(; thermo_state_sfc, thermo_state_int, uₕ_int, z_int, z_sfc, scheme_properties) = input_args
(; thermo_state_sfc, thermo_state_int, uₕ_int, z_int, z_sfc, scheme_properties, boundary_space) = input_args
Copy link
Member

Choose a reason for hiding this comment

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

Can we instead grab boundary_space from axes(z_sfc)? Or will that not work?

Copy link
Member Author

Choose a reason for hiding this comment

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

axes(z_sfc) is different from boundary_space so I don't think that's what we want. I tried getting it from axes(beta), but beta is sometimes a scalar so that didn't work either

Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

Looks great!

@juliasloan25 juliasloan25 merged commit 9a9ac73 into main Jun 26, 2024
8 checks passed
@juliasloan25 juliasloan25 deleted the js/bycolumn branch June 26, 2024 17:00
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.

tests on GPU - remove Fields.bycolumn
3 participants