-
Notifications
You must be signed in to change notification settings - Fork 168
Implementing convert.nemo_to_sgrid()
#2460
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
Open
VeckoTheGecko
wants to merge
32
commits into
Parcels-code:v4-dev
Choose a base branch
from
VeckoTheGecko:fieldset_from_nemo-nick
base: v4-dev
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.
+670
−446
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
18bd8b4
First implementation of fieldset.from_nemo
erikvansebille 57d4a54
Setting vector_interp_method only when vector fields available
erikvansebille d47400b
Add error when pset.execute has neither runtime nor endtime
erikvansebille a60c911
Adding support for NEMO 3D
erikvansebille 6769a2c
Fixing negating vertical velocity code
erikvansebille d9f7a52
Adding docstring for from_nemo
erikvansebille 1fa20b5
Support for NEMO fields without depth
erikvansebille c0f5d3e
Simplifying nemo dataset creation in tutorial
erikvansebille c5ad537
Using glamf, gphif and depth as dimensions in from_nemo
erikvansebille 60e2f38
Using xgcm coordinates for cgrid interpolation selection
erikvansebille d36cf82
Reordering corner_data in CGrid_Velocity
erikvansebille 0f91c23
Separating U and V interpolation in CGrid_Velocity
erikvansebille 17c9d4e
Cleaning up CGrid_Velocity code
erikvansebille 79b4c37
Fixing bug in CGrid_Tracer interpolation
erikvansebille 7343a43
Using offsets in CGrid_Tracer
erikvansebille 24de000
Move from_nemo body into parcels.convert
VeckoTheGecko 26c6d55
Move selection of vector interpolator to from_sgrid_conventions
VeckoTheGecko c8800a2
Fix from_nemo
VeckoTheGecko ba7a953
Refactor test_nemo_3D_curvilinear_fieldset
VeckoTheGecko 914e5ee
Remove setting of fieldset.V.units in from_nemo
VeckoTheGecko 5dc0a5f
Add discovery of `mesh` from convention metadata
VeckoTheGecko ea4e993
Fix xfail mark
VeckoTheGecko fd699f2
Add helpers get_value_by_id
VeckoTheGecko 875fe70
Add test_convert.test_nemo_to_sgrid
VeckoTheGecko 31c63dd
Fix param naming to obey pep8
VeckoTheGecko 24357bf
Update API for convert.nemo_to_sgrid
VeckoTheGecko 3670dd5
Remove FieldSet.from_nemo
VeckoTheGecko 0b9c787
Fix from_sgrid_conventions
VeckoTheGecko 1926f6a
Update src/parcels/_core/utils/sgrid.py
VeckoTheGecko 8f76e85
Update src/parcels/convert.py
VeckoTheGecko 4ff5f10
Update src/parcels/_core/utils/sgrid.py
VeckoTheGecko 6e133c9
Update docs/user_guide/index.md
erikvansebille 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 hidden or 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 hidden or 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 hidden or 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.
This and other tutorials still need to be updated to use the new
convertworkflow? Do you want me to do that? Could be a good test-case how user-friendly the convert functions areUh oh!
There was an error while loading. Please reload this page.
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.
Yes, they would need to be updated.
That would be great!
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.
I've tried to change the netcdf ingestion in the Nemo3D-tutorial, but get the error below
Can you check what's going on, @VeckoTheGecko?