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

Cleaner syntax for ECCOFieldTimeSeries and ECCORestoring #284

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

glwagner
Copy link
Member

@glwagner glwagner commented Dec 2, 2024

Closes #231

@glwagner
Copy link
Member Author

glwagner commented Dec 2, 2024

It's still kind of confusing how ECCORestoring takes both an arch and grid to me

@navidcy
Copy link
Collaborator

navidcy commented Dec 2, 2024

It's still kind of confusing how ECCORestoring takes both an arch and grid to me

Agree 👍🏼
#231

@glwagner
Copy link
Member Author

glwagner commented Dec 2, 2024

Ok, I will clean up ECCORestoring here as well

@glwagner glwagner changed the title Cleaner syntax for ECCOFieldTimeSeries Cleaner syntax for ECCOFieldTimeSeries and ECCORestoring Dec 2, 2024
@glwagner
Copy link
Member Author

glwagner commented Dec 2, 2024

Still TODO here is to clean up the constructor for ECCORestoring, but I plan to do this along the same lines as the one for ECCOFieldTimeSeries

@@ -248,7 +249,7 @@ Build a forcing term that restores to values stored in an ECCO field time series
The restoring is applied as a forcing on the right hand side of the evolution equations calculated as

```math
Fψ = μ r (ψ_ECCO - ψ)
Fψ = r μ (ψ_ECCO - ψ)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
= r μ (ψ_ECCO - ψ)
= r μ (ψ_{ECCO} - ψ)

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.

ECCORestoring method accepts architecture and grid; validation required?
3 participants