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 issue #82 #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix issue #82 #83

wants to merge 1 commit into from

Conversation

evteevakb
Copy link

Closes #82.

The patch ensures that the logging behavior aligns with the value of the quiet parameter, as expected:

QUIET: True

QUIET: False
2023-10-05 16:58:52,034 INFO Welcome to the CDS
2023-10-05 16:58:52,034 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-land
2023-10-05 16:58:52,162 INFO Request is queued
2023-10-05 16:58:53,251 INFO Request is completed
2023-10-05 16:58:53,251 INFO Downloading https://download-0012-clone.copernicus-climate.eu/cache-compute-0012/cache/data0/adaptor.mars.internal-1696501013.798142-21806-11-09e10a51-2661-43a7-9100-13c4f5256cca.nc to ./cds_test.nc (27K)
2023-10-05 16:58:53,393 INFO Download rate 190.7K/s

QUIET: True

QUIET: False
2023-10-05 16:58:55,035 INFO Welcome to the CDS
2023-10-05 16:58:55,035 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-land
2023-10-05 16:58:55,124 INFO Request is queued
2023-10-05 16:58:56,212 INFO Request is completed
2023-10-05 16:58:56,212 INFO Downloading https://download-0012-clone.copernicus-climate.eu/cache-compute-0012/cache/data0/adaptor.mars.internal-1696501013.798142-21806-11-09e10a51-2661-43a7-9100-13c4f5256cca.nc to ./cds_test.nc (27K)
2023-10-05 16:58:56,357 INFO Download rate 186.4K/s

@FussyDuck
Copy link

FussyDuck commented Oct 5, 2023

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

Logging persists when 'quiet' parameter is reverted from True to False in Client class
2 participants