-
Notifications
You must be signed in to change notification settings - Fork 24
AGDC v1.0.0 – Initial Open Source Release Notes
#AGDC v1.0.0 – Initial Open Source Release Notes
The GitHub repository has been renamed from “ga-datacube” to “agdc”, so the new URL is now https://github.com/GeoscienceAustralia/agdc. Note that the old “ga-datacube” URL will still continue to work with no changes.
- All code has been refactored under the Python module “agdc” which is installed using “python setup.py”. This means that the new code is now accessed at the NCI using the command “module load agdc”.
- Import statements for shared modules have all been changed from the private ga-neo-landsat-processor repository to the open-source EO-tools repository (available at https://github.com/GeoscienceAustralia/EO_tools/tree/develop)
- Obsolete, un-used code has been removed (e.g. JR-STACK directory). Other code which may be of interest has been moved to the deprecated directory.
- New ingester code has been refactored into agdc.abstract_ingester and agdc.landsat_ingester directory modules.
- Default configuration file has been changed from datacube.conf to agdc_default.conf
- Example stacker subclass implementations (e.g. ndvi_stacker.py, rgb_stacker.py and index_stacker.py) have been moved to the examples directory
The following dependencies will need to be installed for the agdc module to work:
- EOtools (Available from https://github.com/GeoscienceAustralia/EO_tools/tree/develop)
- psycopg2
- osgeo
- numexpr
##Installation Instructions Once the dependencies have been installed and the repository has been cloned from GitHub, run the following commands:
python setup.py build [sudo] python setup.py install [--prefix=<installation_root>]
For example, the command to install the code to the el8 module directory on raijin was as follows:
python setup.py install --prefix=/projects/el8/opt/modules/modulefiles/agdc/1.0.0
To install to the default Python library directory (i.e. /usr/local/lib/python2.7/dist_packages) on the workshop VM, the command was as follows:
sudo python setup.py install