52e4a1b285
* environment: Free pyproj from version constraint (fixes #119) proj was constrained to 1.9.6, since cartopy was incompatible with recent proj versions. * build_renewable_profiles: Import gdal and geokit after forking GDAL sets up a shared context on module import which seems to contain a handle to the PROJ database for coordinate reference systems. By forking these handles seem to become invalidated or at least are not usable in parallel anymore. Instead importing gdal only after setting up the different processes fixes the database disk image is malformed proj error.
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
name: pypsa-eur
|
|
channels:
|
|
- conda-forge
|
|
- bioconda
|
|
dependencies:
|
|
- python
|
|
- pip
|
|
|
|
- pypsa>=0.16
|
|
- atlite
|
|
|
|
# Dependencies of the workflow itself
|
|
- xlrd
|
|
- scikit-learn
|
|
- pycountry
|
|
- seaborn
|
|
- snakemake-minimal
|
|
- memory_profiler
|
|
- yaml
|
|
- pytables
|
|
- powerplantmatching>=0.4.3
|
|
|
|
# Second order dependencies which should really be deps of atlite
|
|
- xarray
|
|
- netcdf4
|
|
- bottleneck
|
|
- toolz
|
|
- dask
|
|
- progressbar2
|
|
- pyyaml>=5.1.0
|
|
|
|
# Include ipython so that one does not inadvertently drop out of the conda
|
|
# environment by calling ipython
|
|
- ipython
|
|
|
|
# GIS dependencies have to come all from conda-forge
|
|
- conda-forge::cartopy
|
|
- conda-forge::fiona
|
|
- conda-forge::proj
|
|
- conda-forge::pyshp
|
|
- conda-forge::geopandas
|
|
- conda-forge::rasterio
|
|
- conda-forge::shapely
|
|
- conda-forge::libgdal
|
|
|
|
- pip:
|
|
- git+https://github.com/FRESNA/vresutils.git#egg=vresutils
|
|
- git+https://github.com/PyPSA/glaes.git#egg=glaes
|
|
- git+https://github.com/PyPSA/geokit.git#egg=geokit
|
|
- cdsapi
|