Sign inSign up

scl3/task_hii_osm_ingest

By scl3

•Updated over 4 years ago

Image
Languages & frameworks
Data science
Databases & storage
0

219

scl3/task_hii_osm_ingest repository overview

⁠HII OSM Ingest

⁠What does this task do?

  1. Import split images from Google Storage into Earth Engine
  2. Import roads from Google Storage into Earth Engine
  3. Group bands from imported images into a single image
  4. Clean split images

⁠Environment Variables

SERVICE_ACCOUNT_KEY=<GOOGLE SERVICE ACCOUNT KEY>
DEFAULT_BUCKET = os.environ.get("HII_OSM_BUCKET", "hii-osm")
ee_osm_root = "osm"
project_id = "hii3-246517"

⁠Usage

All parameters may be specified in the environment as well as the command line.

/app # python task.py --help
usage: task.py [-h] [-d TASKDATE] [-m METADATA] [--overwrite] [--skip_cleanup] [--output_image OUTPUT_IMAGE]

optional arguments:
  -h, --help            show this help message and exit
  -d TASKDATE, --taskdate TASKDATE
  -m METADATA, --metadata METADATA
                        Google cloud storage uri for multi-band image json metadata file. (default: None)
  --overwrite           overwrite existing outputs instead of incrementing (default: False)
  --skip_cleanup        Skip cleaning up temporary task files (default: False)
  --output_image OUTPUT_IMAGE
                        Custom output EE image name (default: None)
⁠License

Copyright (C) 2022 Wildlife Conservation Society The files in this repository are part of the task framework for calculating Human Impact Index and Species Conservation Landscapes (https://github.com/SpeciesConservationLandscapes⁠) and are released under the GPL license: https://www.gnu.org/licenses/#GPL⁠ See LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

Size

97.9 MB

Last updated

over 4 years ago

docker pull scl3/task_hii_osm_ingest