-
Notifications
You must be signed in to change notification settings - Fork 14
Update underway #360
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
Merged
Merged
Update underway #360
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
16437aa
first changes; Parcels v4 API
j-atkins d7a5d58
move to using field.eval for UV sampling, plus call to custom write-t…
j-atkins fa178c2
custom write-to-parquet for underway instruments
j-atkins a14a4f2
instrument type property, conditional windowed arrays
j-atkins 5db5ae1
Merge branch 'conditional-windowed-arrays' into update-underway
j-atkins 9251cca
tidy up
j-atkins e0183e2
Merge branch 'migrate-v4' into update-underway
j-atkins 610da5f
sample individual U and V fields for m s-1 units
j-atkins 436d4f3
fix u, v sampling to use correct sampling and conversions
j-atkins b711981
new intermediate UnderwayInstrument base class (parquet writing moved…
j-atkins a356282
fix intermediate class logic so that sensor_kernels check is only tri…
j-atkins 1614a7c
remove support for depth as None
j-atkins 40784c8
use coords for adcp 'kernel'
j-atkins 0b7c0de
add validtion to UnderwayCoordinates class, rename func
j-atkins 2c32b9c
migrate UnderwaterST instrument to new underway instrument logic
j-atkins 511d06b
fix func name
j-atkins c86c78a
add new tests and refine for intermediate UnderwayInstrument class
j-atkins 701ad04
update ADCP tests
j-atkins 763636a
tidy up comments
j-atkins 96d474d
update UnderwaterST tests
j-atkins 2149ef1
use fieldset.time_interval.left / right for fieldset start / end times
j-atkins 2e5b5b0
particle_id is constant for underway instruments
j-atkins 79f0a0c
dt and state are unnecessary for public facing output
j-atkins ccd0ae3
add test for monitoring for schema drift vs. parcels, plus some refac…
j-atkins 7af935d
Update tests/instruments/test_base.py
j-atkins 9675963
remove dev spinner bypass option
j-atkins eb276a2
parcels simulation only needs one write step
j-atkins 930c54c
Merge branch 'update-underway' of github.com:OceanParcels/virtualship…
j-atkins 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.
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.
Would it make sense to also open a parcels.ParticleFile object to check if the schemes are the same - and error out if they are not? In that way, we can spot when the schemas start to deviate
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 have now added a new unit test for this (in ccd0ae3). The scheme is not in the public API for
parcels.PartileFileso I have done it by executing a simple Parcels simulation and comparing the scheme of the resultant output against theUnderwayInstrumentoutput.