-
Notifications
You must be signed in to change notification settings - Fork 203
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
(0.95.7) Correctly account for field names in ContinuousBoundaryFunctions
#4008
Open
simone-silvestri
wants to merge
31
commits into
main
Choose a base branch
from
ss/correct-continuous-boundary-functions
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
193efb7
add masking
simone-silvestri 1c20a5b
also xy fields
simone-silvestri d1b83b4
improvements
simone-silvestri ad802d9
add bump
simone-silvestri 7b7639d
Merge branch 'main' into ss/correct-continuous-boundary-functions
simone-silvestri 999b195
bump
simone-silvestri a861a37
comment
simone-silvestri 0e7dc4a
small correction
simone-silvestri 1d02b9b
couple of corrections
simone-silvestri d61187e
better comment
simone-silvestri 44fdd9f
correct model_fields
simone-silvestri 1b90451
using field names
simone-silvestri 13d6d57
bugfix
simone-silvestri fd90c83
validate closure
simone-silvestri 6ae4a6d
whoops not here
simone-silvestri 5a26ecf
not here
simone-silvestri 6f28d5f
add new design
simone-silvestri b591b45
add tests
simone-silvestri 6ab2279
correction
simone-silvestri 6861ae5
Merge branch 'main' into ss/correct-continuous-boundary-functions
simone-silvestri b511529
correct
simone-silvestri 39bcdca
some corrections
simone-silvestri c2da5ee
this should work now
simone-silvestri 19ad053
probably we need to inline
simone-silvestri f975fc0
bump
simone-silvestri d9c3177
Merge branch 'main' into ss/correct-continuous-boundary-functions
simone-silvestri 7644409
just do an issue
simone-silvestri 52c248a
Merge branch 'ss/correct-continuous-boundary-functions' of github.com…
simone-silvestri ddfdab0
Merge branch 'main' into ss/correct-continuous-boundary-functions
navidcy e4d3867
Merge branch 'main' into ss/correct-continuous-boundary-functions
navidcy d9fd965
bump patch release
navidcy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want this for the test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that I^{PAR} is repeated in fields. So, indeed, it looks like the
bialogical_auxiliary_fields
are added to the model's auxiliary fields upon model construction here:which leads to having repeated I^{PAR} here
So I think we have a decision to make
(1) leave the biogeochemical fields only in the
model.biogeochemistry
(2) copy them in
model.auxiliary_fields
but modify thefields
functionI guess from previous comments, the intended behavior is option (1), so I will remove the merging of the biogeochemical auxiliaries to the model auxiliaries at model construction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required_biogeochemical_auxiliary_fields
are themodel.auxiliary_fields
. Then there are alsobiogeochemical_auxiliary_fields(model.biogeochemistry)
, which are distinct? Notice thatmodel.auxiliary_fields
are not accessible frombiogeochemical_auxiliary_fields(model.biogeochemistry)
. So it seems like there are two different kinds of auxiliary fields with bgc.We can change the design.