No project description provided
Project description
Copernicus Marine Service Toolbox (CLI & Python)
IMPORTANT: This is a pre-release that can be used for testing purposes. The behavior and some features might change in a near futur.
Features
The Copernicus Marine toolbox offers capabilities through both Command Line Interface (CLI) and Python API:
- Metadata Information: List and retrieve metadata information on all products, datasets, variables.
- Subset Datasets: Subset datasets to extract only the parts of interest, in preferred format, such as Analysis-Ready Cloud-Optimized (ARCO) Zarr or NetCDF file format.
- Advanced Filters: Apply simple or advanced filters to get multiple files, in original formats like NetCDF/GeoTIFF, via direct Marine Data Store connections.
- No Quotas: Enjoy no quotas, neither on volume size nor bandwidth.
Documentation
The full documentation of the toolbox is available here: Copernicusmarine Documentation. Please refer to it for the more exhaustive and up to date documentation.
You might also find more comprehensive details on how to use the copernicusmarine
Toolbox, please refer to our Help Center. It ensures a smooth migration for existing users of legacy services such as MOTU, OPeNDAP or FTP.
Installation
For installation, multiple options are available depending on your setup:
Mamba | Conda
mamba install conda-forge::copernicusmarine --yes
or conda:
conda install -c conda-forge copernicusmarine
Docker
docker pull copernicusmarine/copernicusmarine:latest
Pip
python -m pip install copernicusmarine
Dependencies
Note that the use of xarray<2024.7.0
with numpy>=2.0.0
leads to inconsistent results. See this issue: xarray issue.
Command Line Interface (CLI)
The --help
option
To discover commands and their available options, consider appending --help
on any command line.
Example:
copernicusmarine --help
Returns:
Usage: copernicusmarine [OPTIONS] COMMAND [ARGS]...
Options:
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
describe Print Copernicus Marine catalogue as JSON.
get Download originally produced data files.
login Create a configuration file with your Copernicus Marine credentials.
subset Download subsets of datasets as NetCDF files or Zarr stores.
Python package (API)
The copernicusmarine
exposes a Python interface to allow you to call commands as functions.
Version management
We are using semantic versioning X.Y.Z → MAJOR.MINOR.PATCH → for example 1.0.2. We follow the SEMVER principles:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes
- MINOR version when you add functionality in a backward compatible manner
- PATCH version when you make backward compatible bug fixes
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
Contribution
We welcome contributions from the community to enhance this package. If you find any issues or have suggestions for improvements, please check out our Report Template.
You are welcome to submit issues to the GitHub repository or create a pull request; however, please be advised that we may not respond to your request or may provide a negative response.
Future improvements & Roadmap
To keep up to date with the most recent and planned advancements, including revisions, corrections, and feature requests generated from users' feedback, please refer to our Roadmap.
Join the community
Get in touch!
- Create your Copernicus Marine Account
- Log in and chat with us (bottom right corner of Copernicus Marine Service)
- Join our training workshops
- Network y/our Copernicus Stories
- Watch our videos
Licence
Licensed under the EUPL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file copernicusmarine-2.0.0a4.tar.gz
.
File metadata
- Download URL: copernicusmarine-2.0.0a4.tar.gz
- Upload date:
- Size: 73.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.0 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae615f8569bf930a3067d4175dcf8b74d0db4ded6c8e8d399b96d972486a990a |
|
MD5 | 066570e645fc890b16e40c4a3a229f6e |
|
BLAKE2b-256 | b0256f8f5951ffdad7bd75b5d25e67b5092d703fa13db79ab048d877c4f76793 |
File details
Details for the file copernicusmarine-2.0.0a4-py3-none-any.whl
.
File metadata
- Download URL: copernicusmarine-2.0.0a4-py3-none-any.whl
- Upload date:
- Size: 95.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.0 Linux/5.15.0-122-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb9bfb086e1f2bcc26025d52b07ef11aad27411598dd116ce331c59d9e73d79c |
|
MD5 | bf6e79baa4654f6a0dc12ce45b52bd05 |
|
BLAKE2b-256 | f2c375e72b5189852eea0e08171acb4aaee6c25540098a4aa777e6d2bbc05766 |