Skip to content

Commit

Permalink
Copernics credentials issue (#145)
Browse files Browse the repository at this point in the history
* Open PR

* fix permissions

* Update copernicusmarine.xml

---------

Co-authored-by: Björn Grüning <[email protected]>
  • Loading branch information
Marie59 and bgruening authored Nov 18, 2024
1 parent 519beac commit fa49586
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tools/ocean/copernicusmarine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<description>retrieve marine data</description>
<macros>
<token name="@TOOL_VERSION@">1.3.3</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">1</token>
</macros>
<requirements>
<requirement type="package" version="@TOOL_VERSION@">copernicusmarine</requirement>
</requirements>
<command detect_errors="exit_code"><![CDATA[
#import re
#set $cmems_username = $__user__.extra_preferences.get('cmems_username', "")
#set $cmems_password = $__user__.extra_preferences.get('cmems_password', "")
#set $cmems_username = $__user__.extra_preferences.get('cmems_account|cmems_username', "")
#set $cmems_password = $__user__.extra_preferences.get('cmems_account|cmems_password', "")
#if $cmems_username == "" or $cmems_password == ""
#set $cmems_username = os.getenv('CMEMS_USERNAME', '')
Expand Down Expand Up @@ -77,6 +77,7 @@ Copernicus Marine Data Store
============================
** Context **
This tool is a wrapper to retrieve data from the Copernicus Marine Environment Monitoring Service (CMEMS).
- It allows to retrieve data from the Copernicus Marine Service.
Expand All @@ -95,9 +96,11 @@ This tool is a wrapper to retrieve data from the Copernicus Marine Environment M
For more information on the Command-Line Interface (CLI) go on `Copernicus Marine Toolbox CLI - Subset <https://help.marine.copernicus.eu/en/articles/7972861-copernicus-marine-toolbox-cli-subset>`
** Input **
Command line from the Copernicus marine services copy paste as a text.
** Output **
A netcdf file containing the the data chose by the user from the Copernicus Marine Data Store.
]]></help>
Expand Down

0 comments on commit fa49586

Please sign in to comment.