Repository navigation
Expand file tree
/
Copy pathenvironment.yml
More file actions
57 lines (50 loc) · 1.85 KB
/
Copy pathenvironment.yml
File metadata and controls
57 lines (50 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Python environment for Geode's prep/ scripts -- the conda route.
#
# conda env create -f environment.yml
# conda activate geode
#
# The portable baseline is requirements.txt (pip + one system GMT package), which works where
# conda does not: CI runners, agent sandboxes such as a Claude Cowork VM, locked-down machines.
# This file builds the same stack with conda, for anyone who prefers it; keep the two in step.
# Nothing in the repo assumes either one -- scripts run whichever `python` is active.
#
# GMT is the one dependency pip cannot provide (pygmt wraps the C library but does not bundle
# it); here conda supplies it. GMT (through pygmt) is imported
# only by prep_paleogeography.py and prep_pbdb.py; the rest of the pipeline -- including
# prep_model.py and prep_coastlines.py -- and all of gprm's data fetching run without it.
name: geode
channels:
- conda-forge
dependencies:
- python=3.12
# Needs a system library, so it comes from conda rather than pip
- gmt>=6
# Everything below is available on PyPI too, but conda-forge resolves the geospatial
# stack's binary dependencies (GEOS, PROJ, GDAL, netCDF) more reliably.
- numpy
- scipy
- pandas
- geopandas
- shapely
- rasterio
- xarray
- netcdf4
- matplotlib
- cartopy
- pillow
- pooch
- requests
- tqdm
- pyyaml
- openpyxl # dataset loaders read .xlsx compilations
- scikit-image
- astropy-healpix # equal-area point distributions; gprm falls back without it
- pip
- pip:
# pygplates and PlateTectonicTools publish manylinux/macOS/Windows wheels
- pygplates
- PlateTectonicTools
- pygmt
# gprm provides the reconstruction models, the published palaeo-datasets and the
# proximity engine. Pin to a release or commit for a reproducible build.
- gprm @ git+https://github.com/siwill22/GPlatesReconstructionModel