You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After simplifications of copernicusmarine_credentials(), it always displays a register text, even if the user is already logged in. This is slightly inconvenient, since it is called every time a single station is downloaded by dfmt.ssh_retrieve_data():
Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
INFO - 2024-09-18T09:19:51Z - You are already logged in. Skipping login.
INFO - 2024-09-18T09:19:52Z - Dataset version was not specified, the latest one was selected: "202311"
INFO - 2024-09-18T09:19:52Z - Dataset part was not specified, the first one was selected: "latest"
INFO - 2024-09-18T09:19:52Z - You forced selection of service: original-files
INFO - 2024-09-18T09:19:52Z - Downloading using service original-files...
100%|██████████| 4/4 [00:27<00:00, 6.97s/it]
>> reading coastlines: 3.07 sec
retrieving data for 36 cmems-nrt stations: 1 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
INFO - 2024-09-18T09:20:26Z - You are already logged in. Skipping login.
2 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
3 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
4 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
5 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
6 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
7 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
8 Downloading CMEMS data requires a Copernicus Marine username and password, sign up for free at: https://data.marine.copernicus.eu/register.
If copernicusmarine would include a registration link in their login function (mercator-ocean/copernicus-marine-toolbox#139), we could remove the print from dfm_tools. This will be available from copernicusmarine>=2.0.0 onwards.
The text was updated successfully, but these errors were encountered:
veenstrajelmer
changed the title
suppress cmems registering message
suppress cmems registration message
Sep 18, 2024
After simplifications of
copernicusmarine_credentials()
, it always displays a register text, even if the user is already logged in. This is slightly inconvenient, since it is called every time a single station is downloaded bydfmt.ssh_retrieve_data()
:To reproduce:
Prints:
If copernicusmarine would include a registration link in their login function (mercator-ocean/copernicus-marine-toolbox#139), we could remove the print from dfm_tools. This will be available from
copernicusmarine>=2.0.0
onwards.The text was updated successfully, but these errors were encountered: