Accelerating the use of Lagrangian data for atmospheric, oceanic, and climate sciences
Project description
clouddrift
📦 Distributions
👥 Social
Join the Email Distribution List
📚 Binders and examples
-
: HURDAT2 get started (🌀 cyclone/hurricane trajectories from 1852 - 2022)
-
HYCOM-OceanTrack: A repository with notebook examples using
clouddriftwith a very large , analysis-ready cloud-optimized, Lagrangian dataset hosted in the cloud: HYCOM OceanTrack: Integrated HYCOM Eulerian Fields and Lagrangian Trajectories Dataset.
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:
- Working with contiguous ragged-array data; for example, see the
clouddrift.raggedmodule. - Common scientific analysis of Lagrangian data, oceanographic or otherwise;
for example, see the
clouddrift.kinematics,clouddrift.signal, andclouddrift.waveletmodules. - Processing existing Lagrangian datasets into a common data structure and format;
for example, see the
clouddrift.adapters.mosaicmodule. - Making cloud-optimized ragged-array datasets easily accessible; for example,
see the
clouddrift.datasetsmodule.
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.
- Get the code:
git clone https://github.com/cloud-drift/clouddrift
cd clouddrift/
- Install dependencies and local version of
clouddrift:
pip install .
Conda:
Using conda, you can proceed as follows.
- Get the code:
git clone https://github.com/cloud-drift/clouddrift
cd clouddrift/
- 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
- 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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clouddrift-0.46.0.tar.gz.
File metadata
- Download URL: clouddrift-0.46.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc178e1b5fbb27efe66532c3d1b9db14a29d9908af669805297d5fcb143518e8
|
|
| MD5 |
1bd5341d0e59e78f3c2ba6fb405c6b4c
|
|
| BLAKE2b-256 |
6c870220e851718303ceb7fd7fda74d4013d50d6c6a652a7a52d691c7aee6192
|
Provenance
The following attestation bundles were made for clouddrift-0.46.0.tar.gz:
Publisher:
pypi.yml on Cloud-Drift/clouddrift
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clouddrift-0.46.0.tar.gz -
Subject digest:
dc178e1b5fbb27efe66532c3d1b9db14a29d9908af669805297d5fcb143518e8 - Sigstore transparency entry: 520411906
- Sigstore integration time:
-
Permalink:
Cloud-Drift/clouddrift@33609b5e4c31b0d2723de92a75bbfe80018e83f7 -
Branch / Tag:
refs/tags/v0.46.0 - Owner: https://github.com/Cloud-Drift
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@33609b5e4c31b0d2723de92a75bbfe80018e83f7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file clouddrift-0.46.0-py3-none-any.whl.
File metadata
- Download URL: clouddrift-0.46.0-py3-none-any.whl
- Upload date:
- Size: 119.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07683b153769804de0b465229aee94ca9fdb1efbc975424fdb9fb73d1a0586d4
|
|
| MD5 |
6b34ee199222a49e70de0130aaf83d10
|
|
| BLAKE2b-256 |
584fb359a983fd6c889ce68824103925c36e1f1fdcb46e02fa11afb436b7df90
|
Provenance
The following attestation bundles were made for clouddrift-0.46.0-py3-none-any.whl:
Publisher:
pypi.yml on Cloud-Drift/clouddrift
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clouddrift-0.46.0-py3-none-any.whl -
Subject digest:
07683b153769804de0b465229aee94ca9fdb1efbc975424fdb9fb73d1a0586d4 - Sigstore transparency entry: 520411961
- Sigstore integration time:
-
Permalink:
Cloud-Drift/clouddrift@33609b5e4c31b0d2723de92a75bbfe80018e83f7 -
Branch / Tag:
refs/tags/v0.46.0 - Owner: https://github.com/Cloud-Drift
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@33609b5e4c31b0d2723de92a75bbfe80018e83f7 -
Trigger Event:
release
-
Statement type: