Skip to main content

Accelerating the use of Lagrangian data for atmospheric, oceanic, and climate sciences

Project description

clouddrift

CI Documentation Status codecov Checked with mypy Ruff NSF-2126413 Zenodo DOI JOSS DOI View count

📦 Distributions

Available on conda-forge Available on pypi

👥 Social

Join the Email Distribution List

Bluesky Twitter/X

📚 Binders and examples

clouddrift is a Python package that accelerates the use of Lagrangian data for atmospheric, oceanic, and climate sciences. It is funded by NSF EarthCube through the EarthCube Capabilities Grant No. 2126413.

Read the documentation.

Using clouddrift

Start by reading the documentation.

Example Jupyter notebooks that showcase the library, as well as scripts to process various Lagrangian datasets, can be found in gdp-get-started, mosaic-get-started, hurdat2-get-started, or a demo for the EarthCube community workshop 2023.

Contributing and scope

We welcome and invite contributions from the community in any shape or form! Please visit our Contributing Guide to get Started 😃

The scope of clouddrift includes:

If you have an idea that does not fit into the scope of clouddrift but you think it should, please open an issue to discuss it.

Getting started

Install clouddrift

You can install the latest release of clouddrift using pip or conda.

Latest official release:

pip:

In your virtual environment, type:

pip install clouddrift

To install optional dependencies needed by the clouddrift.plotting module, type:

pip install clouddrift[plotting]
Conda:

First add conda-forge to your channels in your Conda configuration (~/.condarc):

conda config --add channels conda-forge
conda config --set channel_priority strict

then install clouddrift:

conda install clouddrift

To install optional dependencies needed by the clouddrift.plotting module, type:

conda install matplotlib cartopy

Development branch:

If you need the latest development version, you can install it directly from this GitHub repository.

pip:

In your existing virtual environment, you can use pip as follows.

  1. Get the code:
git clone https://github.com/cloud-drift/clouddrift
cd clouddrift/
  1. Install dependencies and local version of clouddrift:
pip install .
Conda:

Using conda, you can proceed as follows.

  1. Get the code:
git clone https://github.com/cloud-drift/clouddrift
cd clouddrift/
  1. Create an environment as specified in the yml file with the required library dependencies:
conda env create -f environment.yml # creates a new env with the dependencies

2a. Make sure you created the environment by activating it:

conda activate clouddrift
  1. Finally, install the local version of clouddrift:
pip install .

Installing clouddrift on unsupported platforms

One or more dependencies of clouddrift may not have pre-built wheels for platforms like IBM Power9 or Raspberry Pi. If you are using pip to install clouddrift and are getting errors during the installation step, try installing clouddrift using Conda. If you still have issues installing clouddrift, you may need to install system dependencies first. Please let us know by opening an issue and we will do our best to help you.

Found an issue or need help?

Please create a new issue here and provide as much detail as possible about your problem or question.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clouddrift-0.48.0.tar.gz (114.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clouddrift-0.48.0-py3-none-any.whl (133.5 kB view details)

Uploaded Python 3

File details

Details for the file clouddrift-0.48.0.tar.gz.

File metadata

  • Download URL: clouddrift-0.48.0.tar.gz
  • Upload date:
  • Size: 114.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clouddrift-0.48.0.tar.gz
Algorithm Hash digest
SHA256 1fb2bc04a0cb94f532285b90c1c58b1de2fb00862b579060f0157699c51d0bf8
MD5 f55fe7e9ca048e016cc8c73c8739efe2
BLAKE2b-256 8f6b55f12fd9272af286a9f3a250ac5bd9315ea81873084d0015c60aa9a847a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrift-0.48.0.tar.gz:

Publisher: pypi.yml on Cloud-Drift/clouddrift

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clouddrift-0.48.0-py3-none-any.whl.

File metadata

  • Download URL: clouddrift-0.48.0-py3-none-any.whl
  • Upload date:
  • Size: 133.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clouddrift-0.48.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b502cb8ef579ab60326cff155538f117a0bcf1aa61dc2c0b2a4c163c84d0bd5f
MD5 f9702a3e4a8623877671a5b6e78593b0
BLAKE2b-256 cc51b519c3df49065812809735843585e1ffec49497a7c2c2348211fdb74f50e

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrift-0.48.0-py3-none-any.whl:

Publisher: pypi.yml on Cloud-Drift/clouddrift

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page