Packaging, metadata and provenance libraries for GA EO datasets. See LICENSE for license details.
python ./setup.py install
Python 2.7+ and 3.4+ are supported. A GDAL installation is required to use most packaging commands. Modis packaging requires pdsinfo to be on the path.
Run tests using pytest.
py.test eodatasets tests
Integration tests will not run by default (and are not included in reported
test coverage). Include the --runslow
parameter to run all tests.
py.test --runslow eodatasets tests
eod-package
: Package a dataset from the commandline.
$ eod-package --help
Usage: package.py [OPTIONS] TYPE [DATASET]... DESTINATION
Package the given imagery folders.
Options:
--parent PATH Path of the parent dataset (that these datasets were derived
from.)
--debug Enable debug logging
--hard-link Hard-link output files if possible (faster than copying)
--help Show this message and exit.
$
Create a series of ortho packages with provenance linked to a (parent) raw dataset:
$ eod-package level1 --parent /data/packages/LS8_OLITIRS_STD-MD_P00... \
lpgs_out/* \
/data/packages/