A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

plasticparcels

A python package for simulating the transport and dispersion of plastics in the ocean.
https://github.com/oceanparcels/plasticparcels

Category: Industrial Ecology
Sub Category: Circular Economy and Waste

Keywords from Contributors

particles lagrangian-ocean-modelling ocean-circulation-models energy-system-model

Last synced: about 18 hours ago
JSON representation

Repository metadata

Repository for PlasticParcels tool

README.md

plasticparcels

plasticparcels is a python package for simulating the transport and dispersion of plastics in the ocean.

The tool is based on the Parcels computational Lagrangian ocean analysis framework (@Lange2017 and @Delandmeter2019), providing a modular and customisable collection of methods, notebooks, and tutorials for advecting virtual plastic particles with a wide range of physical properties. A peer reviewed paper describing plasticparcels can be found here: DOI.

plasticparcels

Installation

plasticparcels can be installed using conda from the conda-forge channel with the following command:

conda install conda-forge::plasticparcels

Required data

plasticparcels has been developed for use with data from the Copernicus Marine Service, and requires the following data to run:

For downloading the wind and wave data, we recommend using the CDS API.

To run most of the examples, you will need to update the data directories in the relevant settings .json file.

Just like the parcels framework, plasticparcels can be adapted to use other hydrodynamic, biogeochemical, wave, and atmospheric models. If you require assistance, please contact us through the plasticparcels discussions page.

Community contributions and support

Contributing code

We welcome contributions to plasticparcels, especially example workbooks and analyses for our public examples page. To contribute to the project, please submit a pull request.

Requesting features and reporting issues/bugs

If you want to request a new feature, or if you find an issue or bug in the code, please open an issue in the plasticparcels issue tracker.

Seeking support?

If you would like support using plasticparcels, or are have any questions about your plasticparcels simulations, please start a discussion in the plasticparcels discussion page.

Further information

For more information and documentation, see the plasticparcels documentation.

DOI
unit-tests
Anaconda-release
Anaconda-date
Zenodo


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 343
Total Committers: 4
Avg Commits per committer: 85.75
Development Distribution Score (DDS): 0.289

Commits in past year: 289
Committers in past year: 4
Avg Commits per committer in past year: 72.25
Development Distribution Score (DDS) in past year: 0.315

Name Email Commits
michaeldenes m****s@g****m 244
Erik van Sebille e****e@g****m 77
pre-commit-ci[bot] 6****] 12
Vecko 3****o 10

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 16
Total pull requests: 53
Average time to close issues: about 2 months
Average time to close pull requests: 4 days
Total issue authors: 5
Total pull request authors: 4
Average comments per issue: 1.19
Average comments per pull request: 1.15
Merged pull request: 49
Bot issues: 0
Bot pull requests: 5

Past year issues: 12
Past year pull requests: 52
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 4 days
Past year issue authors: 5
Past year pull request authors: 4
Past year average comments per issue: 1.25
Past year average comments per pull request: 1.17
Past year merged pull request: 48
Past year bot issues: 0
Past year bot pull requests: 5

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/oceanparcels/plasticparcels

Top Issue Authors

  • erikvansebille (10)
  • michaeldenes (3)
  • philippemiron (1)
  • martoconnh (1)
  • zhenwu0728 (1)

Top Pull Request Authors

  • michaeldenes (33)
  • erikvansebille (13)
  • pre-commit-ci[bot] (5)
  • VeckoTheGecko (2)

Top Issue Labels

Top Pull Request Labels


Dependencies

environment.yml conda
  • coverage
  • geopandas
  • parcels >=3.0.2
  • pytest
  • shapely
.github/workflows/draft-pdf.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v1 composite
  • openjournals/openjournals-draft-action master composite
.github/actions/install-plasticparcels/action.yml actions
  • mamba-org/setup-micromamba v1 composite
.github/workflows/linting.yml actions
  • actions/checkout master composite
.github/workflows/unit_tests.yml actions
  • ./.github/actions/install-plasticparcels * composite
  • actions/checkout v3 composite
pyproject.toml pypi
  • parcels >= 3.0.2, < 4
  • pytest *

Score: 3.951243718581427