GeoscienceAustralia / ga_sar_workflow

InSAR processing workflow used by Geoscience Australia
Apache License 2.0
3 stars 0 forks source link

Added env creation feature to build thirdparty native dependencies ourselves #359

Closed mwheeler closed 2 years ago

mwheeler commented 2 years ago

This PR just adds the steps to manually download/compile/install our native thirdparty dependencies directly, so users no longer need their host environment to provide these deps (eg: on NCI we used dea-env modules, on Docker we relied on gdal base images, etc).

This gives us full control over our environment / what versions of PROJ/FFTW/GEOS/GDAL/etc that we use - which is critical for us supporting different versions of GAMMA (which have different GDAL/FFTW version requirements).

This also severs our last real dependency on NCI / no more dea-env dependence.

This addresses #358

mwheeler commented 2 years ago

Looks fine to me. Is this the setup you used for your local environment?

Yup! I used these for testing the installs of the support for newer GAMMA versions (2021 versions) which required newer versions that the DEA env stuff didn't support (properly... there were some DEA envs that had them, but their GDAL build was very broken / crashed randomly opening tif files - it had some serious issues - so it was easier for us to kill two birds w/ one stone by just building our own tiny env with a GDAL build that wasn't borked)