Skip to main content

Copernicus Marine Service Toolbox (CLI & Python)

PyPI Supported Versions Supported Platforms Docker Documentation Code Style Licence PyPI Downloads

Copernicus Marine Service and Mercator Ocean international logos

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

For detailed and up-to-date information, please refer to the Copernicus Marine Toolbox Documentation. It includes exhaustive guides, API specifications, and tutorials, automatically versioned.

For additional documentation and smooth transition for users of legacy services such as MOTU, OPeNDAP, or FTP, visit our Help Center.

Installation

The Copernicus Marine Toolbox can be installed and utilized in various ways to suit different user preferences and system configurations. For detailed guidance, refer to the installation page of the toolbox documentation.

Mamba | Conda

mamba install conda-forge::copernicusmarine --yes

or conda:

conda install -c conda-forge copernicusmarine

Pip

python -m pip install copernicusmarine

Binaries (no-installation)

These binaries require no installation and run independently on the user system. Simply download (from release page or check the installation page of the toolbox documentation) and run the binary for instant access to the toolbox Command Line Interface functionalities.

Docker

docker pull copernicusmarine/copernicusmarine:latest

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!

Licence

Licensed under the EUPL

Metadata

Release files for copernicusmarine 2.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for copernicusmarine 2.5.1
File Size Uploaded Provenance Actions
copernicusmarine-2.5.1.tar.gz 103.9 kB Without provenance Details for copernicusmarine-2.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for copernicusmarine 2.5.1
File Interpreter ABI Platform Actions
copernicusmarine-2.5.1-py3-none-any.whl Python 3 none any Details for copernicusmarine-2.5.1-py3-none-any.whl

Total release size: 240.3 kB

Release files / copernicusmarine-2.5.1.tar.gz

Download URL copernicusmarine-2.5.1.tar.gz
Size 103.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0089e5c4b76f09d8307dbd0ec53b801f64029b5fa8d75c25e0e63c2d749c45b4
BLAKE2b-256 checksum
How to use checksums
3def9d4c28a318f38c7d1e5ed4e72b86d70dd348e3525d40e6989289900d0b74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.0 Linux/7.0.0-1017-azure

Release files / copernicusmarine-2.5.1-py3-none-any.whl

Download URL copernicusmarine-2.5.1-py3-none-any.whl
Size 136.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d82458df6a3b1b99c623ff8218cc38a3449a04f28eb22240ffb0bd3777219788
BLAKE2b-256 checksum
How to use checksums
1fdfacac7f845d49272617d8b6c470237fad8f48d4cd4baf971d6a6a4db7dd4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.0 Linux/7.0.0-1017-azure

Security for copernicusmarine 2.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.5.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page