Improve Conda-forge recipe for TauDEM so it installs more updated dependencies.
The current conda-forge recipe for TauDEM, limits to an old version of GDAL. This has a few negative implications:
- When
rasterio
is installed viapip install fcpgtools
it includes a new version of GDAL in it's wheel. The new GDAL is placed in a different location within the virtual environment, but uses the existing PROJ. This causes a version warning for PROJ to be displayed on the consol when functions accessing CRS are used. - When incrementally adding new geospatial packages to an environment with TauDEM and
fcpgtools
it is possible that issues are encountered when the library attempts to access PROJ or GDAL, depending how the specific library is installed. I have experimented with this, and successfully installed many geospatial libraries, however I encountered an import issue withpyNHD
regarding GDAL pathing.
The seemingly possible workaround is to use an older version of rasterio
, however this depends on an older version of numpy, which cascaded into numba
, and leaves pysheds
without numba
which significantly decreases performance. Therefore getting the harmless PROJ warning was favorable to deteriorating performance substantially.
Solution: Update the TauDEM
conda-forge recipe such that it installs a newer version of GDAL by default.