Skip to content
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

Fix unknown profiler error from Ref table 8 #421

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Conversation

gmaze
Copy link
Member

@gmaze gmaze commented Dec 16, 2024

argopy reads the profiler ID from the skos:altLabel property of the NVS json output.

This fails here because the COPEX has an empty skos:altLabel. Although the COPEX float has an ID reported

This PR implements a more robust approach for Argopy to extract the ID value from the @id field that looks like this:
https://vocab.nerc.ac.uk/collection/R08/current/871/

Closes #420

- relates.load_dict now return sorted keys
- update assets
@gmaze gmaze linked an issue Dec 16, 2024 that may be closed by this pull request
@gmaze gmaze self-assigned this Dec 16, 2024
@gmaze gmaze added the internals Internal machinery label Dec 16, 2024
@gmaze gmaze merged commit 3581d91 into master Dec 16, 2024
10 checks passed
@gmaze gmaze deleted the 420-unknown-profiler branch December 16, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Internal machinery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unknown profiler got from ArgoIndex(index_file='bgc-s').load()
1 participant