Repository navigation
Ingest sea depth from MFP export #412
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
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
a8a1e0a
move verify methods up to Expedition model; give method names reflect…
j-atkins 8d35fc7
move sensor_kernels check to register_instrument rather than __init__…
j-atkins 69d429a
add deceleration and acceleration times to ship config
j-atkins 2ba6f9e
add option and use bathymetry data (accessed in simulation) instead o…
j-atkins f5f59ec
enforce each instrument has an abstract deployment_time method (CTD d…
j-atkins 136304a
warn when using bathymetry would break and otherwise valid schedule
j-atkins 952ce82
move stationkeeping_time to Expedition model; use new model of statio…
j-atkins 71eb591
use MFP export sea depth in expedition.yaml on `virtualship init`
j-atkins 45b9ed5
remove now redundant INSTRUMENT_CONFIG_MAP
j-atkins 280970f
add ship deceleration and acceleration times in the plan tool
j-atkins d1aad15
remove stationkeeping_time fields from instrument configs
j-atkins 1405d71
update docs to reflect changes
j-atkins 9e0b3ff
update docs to reflect new stationkeeping_time model + information on…
j-atkins ef9d445
use _field_validators helper
j-atkins 6051b8b
update test for updated stationkeeping time calcs
j-atkins 295e26f
enhance explanation about sea depth in config
j-atkins df4a9c2
remove unnecessary messaging and remove references to now deleted
j-atkins d068d61
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins a2b708e
remove bathymetry vs planned depth warning (does not break simulation…
j-atkins a197993
improve docs wording
j-atkins 9b9d755
add ship deceleration and acceleration times to the plan tool
j-atkins 78e1ca6
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins dc3a576
handle MFP export format, e.g. ~ symbols
j-atkins 49b301f
revert plan tool changes, need to consider how want to present this t…
j-atkins a36fafa
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins 8cdcb14
add deceleration and acceleration fields to plan TUI
j-atkins c106f9a
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins 28e8a21
Apply suggestion from @erikvansebille
j-atkins 171de72
explicit about default times for slow down and speed up
j-atkins e7174b3
"deceleration"/"acceleration" -> "slow-down"/"speed-up" times
j-atkins 677f905
"station" -> "waypoint"
j-atkins 4f794b2
new class attribute allowing specify whether ship needs to slow down …
j-atkins 149e623
Merge branch 'depth-dependent-stationkeeping' of github.com:OceanParc…
j-atkins 15ade71
make docstring more consistent with rest of codebase lingo
j-atkins 801b4cf
add more docs info on times stationkeeping time per instrument
j-atkins a0e6b07
Merge remote-tracking branch 'origin/main' into depth-dependent-stati…
j-atkins 4883e28
typos and make differences between ctd and xbt timings clearer
j-atkins 81f11ff
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins 741e040
revert changes not relevant to this PR
j-atkins 857ff61
clarify comment
j-atkins fd79829
revert to previous explanation of sea depth field, with a few enhance…
j-atkins cdae68f
minimise docstring
j-atkins 20210d2
fix duplication mistake
j-atkins ec2cc4a
Merge branch 'depth-dependent-stationkeeping' into mfp-sea-depth
j-atkins bf92d29
default to not having sea_depth_meter in expedition.yaml when not usi…
j-atkins c23ed58
Merge branch 'main' into mfp-sea-depth
j-atkins d06d9e6
"left out" -> "left empty"
j-atkins 2e76183
avoid redundant None when popping
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
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.
I guess there's no way to also test 'live' export from MFP (in case they change something on their portal)?
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.
Hmm from a bit of scoping out, this would be quite an involved feature with quite a lot of custom logic for scraping the right things (which will be very fragile to changes on the MFP site itself). In that sense I do think it's out of scope of this PR and would also require quite a lot of maintenance.
The tests I've added for now should at least flag that something is wrong if the export changes.