-
Notifications
You must be signed in to change notification settings - Fork 176
Add vector_fields parameter to FieldSet creation methods
#2715
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
base: main
Are you sure you want to change the base?
Changes from all commits
7b186f7
9ec09f3
9e3c37f
2fd533a
925e017
8002c41
4cf7c28
cfaaba2
284dcdb
be87ede
80451c8
872fe66
a40ab20
8043eec
3dbd950
a6de0ca
3fba058
dfb9044
3f160ea
61c8c6a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,11 +1,15 @@ | ||||||||
| # Generic Python helpers | ||||||||
| import enum | ||||||||
| import inspect | ||||||||
| from collections.abc import Callable, Mapping | ||||||||
| from typing import TypeVar | ||||||||
|
|
||||||||
| K = TypeVar("K") | ||||||||
| V = TypeVar("V") | ||||||||
|
|
||||||||
| NotSetType = enum.Enum("NotSetType", "VALUE") | ||||||||
| NOTSET = NotSetType.VALUE | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not for this PR, but would there be a benefit in also using this Parcels/src/parcels/_core/particleset.py Lines 89 to 91 in 32a7f2a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not quite sure what you mean by this. Do you mean to use |
||||||||
|
|
||||||||
|
|
||||||||
| def isinstance_noimport(obj, class_or_tuple): | ||||||||
| """A version of isinstance that does not require importing the class. | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.