Commit 6bb3154b authored by Willi Rath's avatar Willi Rath
Browse files

Merge branch 'develop' of git.geomar.de:python/conda_environments into develop

parents 31063fba cf409115
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
image: continuumio/miniconda3:latest
image: continuumio/miniconda3:4.3.27

variables:
  DOCKER_DRIVER: overlay
@@ -9,4 +9,4 @@ test:
    - source activate root
    - target_dir=${CONDA_PREFIX}
    - shopt -s extglob
    - ./update_anaconda.sh ${target_dir} envs/!(monitoring_gallery).yml
    - ./update_anaconda.sh ${target_dir}  envs/!(*@(monitoring_gallery|py2_parcels)).yml
+11 −0
Original line number Diff line number Diff line
@@ -42,6 +42,17 @@ source deactivate

(Nesh: `smomw122`; HLRN: `shkifmwr`; Geomar: `wrath`)

## A note on stability

The environments are updated frequently (but irregularly).  This comes with a
catch:  Updating an environment potentially introduces problems that are not
immediately visible when testing the updated installation.  To at least
partially make up for this, the state of the environments _before_ an update is
copied to `<willis_home_dir>/TM/software/miniconda3_previous`.  So if you
suddenly run into problems in an environment that used to work.  Switch to
`miniconda3_previous` and check if this helps.  If you find problems, please
[file an issue here][issues].

## Using the environments on nb.geomar.de

There is an installer which allows for adding kernels using these environments
+2 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ dependencies:
  - numpy
  - pandas
  - seaborn
  - widgetsnbextension=3.1.0
  - xarray
  - pip:
     - "git+https://github.com/willirath/xarray.git@6f5e30f3a2f8ca907f0fd91bcd571e7d98027896#egg=xarray_wrath_allow_ploting_datetime"
     - "git+{git_protocol}git.geomar.de/open-source/cartopy_offlinedata.git@master"
+11 −0
Original line number Diff line number Diff line
name: py2_parcels
channels:
  - {conda-forge}
  - {anaconda}
dependencies:
  - python=2.7
  - basemap
  - basemap-data-hires
  - jupyter
  - widgetsnbextension=3.1.0
  - parcels

_env_templates/py2_pyngl.yml

deleted100644 → 0
+0 −38
Original line number Diff line number Diff line
name: py2_pyngl
channels:
  - {conda-forge}
  - {willirath}
  - {anaconda}
dependencies:
  - python=2.7
  - anaconda-client
  - aospy
  - basemap
  - cartopy
  - cf_units
  - cmocean
  - dask
  - eofs
  - fortran-magic
  - git
  - git-lfs
  - haversine
  - hdf5
  - ipython
  - jupyter
  - line_profiler
  - matplotlib
  - mtspec
  - nco
  - netCDF4=1.2.8
  - numpy
  - pandas
  - pyngl
  - pynio
  - pytables
  - seaborn
  - seawater
  - xarray
  - pip:
      - pymatlab
      - "git+{git_protocol}git.geomar.de/open-source/cartopy_offlinedata.git@master"
Loading