Skip to content

Conversation

@akshaysridhar
Copy link
Member

@akshaysridhar akshaysridhar commented Nov 18, 2025

No description provided.

@akshaysridhar akshaysridhar force-pushed the as/up-sfcompat branch 5 times, most recently from 0afaea6 to 836d1de Compare November 18, 2025 17:00
Copy link
Member

@juliasloan25 juliasloan25 left a comment

Choose a reason for hiding this comment

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

This looks fine to me, but what is new in SurfaceFluxes v0.14? I see that it can support non-constant roughness lengths now, but it isn't clear to me how one would set that up.

Also, do you know why the ref counter has to change?

@szy21
Copy link
Member

szy21 commented Nov 18, 2025

Also this didn't change SurfaceFluxes in the Manifest - why does it have behavior change?

@akshaysridhar
Copy link
Member Author

Also this didn't change SurfaceFluxes in the Manifest - why does it have behavior change?

I'll double check; I assumed we were not checking in the Manifest.toml at the top-level (which shows, locally, that I'm tracking [49b00bb7] SurfaceFluxes v0.14.0).

@akshaysridhar
Copy link
Member Author

This looks fine to me, but what is new in SurfaceFluxes v0.14? I see that it can support non-constant roughness lengths now, but it isn't clear to me how one would set that up.

Also, do you know why the ref counter has to change?

There is a breaking change to the interfaces in the AbstractSurfaceConditions in SF ; so the current method in CA requires the kwarg separator for the default value to be applied correctly. There are also changes to the solver / iterator structure in v0.14.0 within SF.

      + semicolon separator for kwargs
	modified:   src/surface_conditions/surface_conditions.jl
	modified:   test/coupler_compatibility.jl
	modified:   reproducibility_tests/ref_counter.jl

        Check-in updated Manifest for buildkite env
	modified:   .buildkite/Manifest-v1.11.toml
	modified:   reproducibility_tests/ref_counter.jl
@juliasloan25
Copy link
Member

This looks fine to me, but what is new in SurfaceFluxes v0.14? I see that it can support non-constant roughness lengths now, but it isn't clear to me how one would set that up.
Also, do you know why the ref counter has to change?

There is a breaking change to the interfaces in the AbstractSurfaceConditions in SF ; so the current method in CA requires the kwarg separator for the default value to be applied correctly. There are also changes to the solver / iterator structure in v0.14.0 within SF.

Okay, that makes sense. But if it's only an interface change and restructuring, why did the results change?

@szy21
Copy link
Member

szy21 commented Nov 19, 2025

The allocation increase is quite substantial - do you have any idea why?

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.

4 participants