This repository has been archived by the owner on Jan 3, 2022. It is now read-only.
forked from NOAA-ORR-ERD/OilLibrary
-
Notifications
You must be signed in to change notification settings - Fork 4
oil-lib: alias oils for api compatability #6
Open
gauteh
wants to merge
1
commit into
OpenDrift:master
Choose a base branch
from
gauteh:alias-oils
base: master
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.
Conversation
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
Did you duplicate an oil, so that there are two lines with identical data and ID's, but different names? Does that work in practice? |
Hm, yeah, have to change the ID as well!
tor. 16. sep. 2021 kl. 10:55 skrev Knut-Frode Dagestad <
***@***.***>:
… Did you duplicate an oil, so that there are two lines with identical data
and ID's, but different names? Does that work in practice?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAN364S4CO3OSJVKP54NQLUCGWJ5ANCNFSM5EEHY72Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sounds dangerous! Could be the start of the end of the world. As we know it. |
Instead of fixing this in ADIOS, I could make a mapping in OpenOil: OldOilNames -> CorrespondingNewOilNames |
Yes, I am also doing this in the new version: https://github.com/OpenDrift/opendrift/pull/685/files#diff-bd0f1c9292901469fefb1fccf0f9d0b5e8a99e07c6d422218688032ea9c5e8dbR27 -- the main reason for not doing that now is:
otherwise: I agree it is a better solution ! -- gaute |
Ok, so the mapping from GENERIC -> "some specific oil" will be in OpenOil, and not in ADIOS itself? |
Yes, and it will be easy to add our own new oils in opendrift, before
they are included or updated upstream.
tor. 16. sep. 2021 kl. 11:09 skrev Knut-Frode Dagestad
***@***.***>:
…
Ok, so the mapping from GENERIC -> "some specific oil" will be in OpenOil, and not in ADIOS itself?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.