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

Argo decoder tool #105

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Argo decoder tool #105

wants to merge 10 commits into from

Conversation

Marie59
Copy link
Collaborator

@Marie59 Marie59 commented Mar 22, 2024

So, this is a batch tool using a docker image as a requirement.
To work properly we will need to add a line there : https://github.com/usegalaxy-eu/infrastructure-playbook/blob/master/files/galaxy/tpv/interactive_tools.yml#L52 to change the user.

The docker image is heavy so we'll see if it's possible to use it.
The image once build is publicly accessible there ghcr.io/euroargodev/coriolis-data-processing-chain-for-argo-floats:061a-galaxy
For now the docker file is on a private gitlab but will soon be on a public github thanks to @leobr29.

I am starting this PR to see what needs to be improve and see the best ways to make this new tool work. This is a 1st version to make a demo for the Argo community in April. The aim is then to improve the tool (for instance remove all the zip and make more readable inputs and outputs) and create a workflow where we can access the argo data, decode them, and then visualize and analyze them with scoop-argo, ODV and DIVAnd.

I am not sure I'm making the PR in the right place. I put it with the other argo related tool.
Thoughts ?? Comments ??

Plus, I don't know how to make planemo test work (or if it's even possible) with a docker as a dependence

tools/ocean/argo_decoder.xml Outdated Show resolved Hide resolved
tools/ocean/argo_decoder.xml Outdated Show resolved Hide resolved
tools/ocean/argo_decoder.xml Outdated Show resolved Hide resolved
tools/ocean/argo_decoder.xml Outdated Show resolved Hide resolved
tools/ocean/argo_decoder.xml Show resolved Hide resolved
@Marie59
Copy link
Collaborator Author

Marie59 commented Apr 9, 2024

@bgruening Is the tool good enough for a 1st try to deploy it or not ?

<test expect_num_outputs="1">
<param name="raw_data" value="data_input_20240319.zip"/>
<param name="float_wmo" value="6903014"/>
<output name="outputs_data" value="argo-decoder-outputs.zip"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about using https://docs.galaxyproject.org/en/latest/dev/schema.html#assertions-for-archives-zip-tar

To assert certain files in this archive, this would also enable us to remove this file.

tools/ocean/argo_decoder.xml Outdated Show resolved Hide resolved
]]>
</command>
<inputs>
<param name="raw_data" type="data" format="zip" label="Archived input argo raw data"/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The label is a bit confusing to me. Where is this data coming from? Why is it archived?

Comment on lines +67 to +73
<citation type="bibtex">
@Manual{,
title = {Coriolis data processing chain for Argo floats},
author = {Ifremer},
year = {2024},
note = {https://github.com/euroargodev/Coriolis-data-processing-chain-for-Argo-floats}
</citation>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<citation type="bibtex">
@Manual{,
title = {Coriolis data processing chain for Argo floats},
author = {Ifremer},
year = {2024},
note = {https://github.com/euroargodev/Coriolis-data-processing-chain-for-Argo-floats}
</citation>

The DOI is maybe enough?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this smaller?

Marie59 and others added 3 commits April 11, 2024 09:00
Co-authored-by: Björn Grüning <bjoern@gruenings.eu>
Co-authored-by: Björn Grüning <bjoern@gruenings.eu>
@bgruening
Copy link
Collaborator

.shed.yml is missing I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants