Skip to content

Commit

Permalink
chore: refactor to stop using the cache (#95)
Browse files Browse the repository at this point in the history
Not using any cache anymore
Always get the data on the fly
  • Loading branch information
renaudjester committed Aug 20, 2024
1 parent ed29bf8 commit 1ceef2c
Show file tree
Hide file tree
Showing 34 changed files with 2,241 additions and 1,815 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ ignore =

# Unused imports - pb with import_and_args.py
# F401
per-file-ignores =
# __init__ files
dataset_product_mapping.py: E501
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ python -m pip install copernicusmarine --upgrade

For more comprehensive details on how to use the `copernicusmarine` Toolbox, please refer to our [Help Center](https://help.marine.copernicus.eu/en/collections/9080063-copernicus-marine-toolbox). It ensures a smooth migration for existing users of legacy services such as MOTU, OPeNDAP or FTP.

### General configuration

#### Cache Usage

Cachier library is used for caching part of the requests (as result of `describe` or `login`). By default, the cache will be located in the home folder. If you need to change the location of the cache, you can set the environment variable `COPERNICUSMARINE_CACHE_DIRECTORY` to point to the desired directory:

- on **UNIX** platforms: `export COPERNICUSMARINE_CACHE_DIRECTORY=<PATH>`
- on **Windows** platforms: `set COPERNICUSMARINE_CACHE_DIRECTORY=<PATH>`

### Network configuration

#### Disable SSL
Expand Down Expand Up @@ -543,10 +534,8 @@ copernicusmarine subset --request-file template_subset_data_request.json
"force_download": false,
"log_level": "INFO",
"no_directories": false,
"no_metadata_cache": false,
"output_directory": "./data/",
"overwrite_output_data": false,
"overwrite_metadata_cache": false,
"show_outputnames": true
}
```
Expand Down
Loading

0 comments on commit 1ceef2c

Please sign in to comment.