Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

OpenDrift/opendrift-conda-packages

Repository files navigation

OpenDrift conda packages

Use

  1. Set up miniconda3.
  2. Create environment:
$ conda create opendrift --name opendrift python=3
$ conda activate opendrift
  1. Add channels and install:
$ conda config --add channels NOAA-ORR-ERD
$ conda config --add channels conda-forge
$ conda config --add channels OpenDrift
$ conda install opendrift

For maintainers

Uploading new versions

Make sure you have conda-forge and noaa-orr-erd in your channels, with conda-forge higher priority.

  1. Update version-numbers and make sure URLs point to new versions in meta.yml for each package.
  2. Run ./build-all.sh to build packages into packages/.
  3. Activate conda environment: conda activate opendrift_packages.
  4. Login using anaconda login
  5. Upload each package using
$ anaconda upload -u OpenDrift -i packages/.../noarch/...tar.bz2