GeoscienceAustralia / agdc

Repository for Australian Geoscience Data Cube (AGDC) code
BSD 3-Clause "New" or "Revised" License
29 stars 24 forks source link

Enhance the Retrieve Dataset Stack tool with the ability to apply a vector mask #44

Closed simonoldfield closed 9 years ago

simonoldfield commented 9 years ago

For example, to mask out all pixels outside a given area of interest polygon.

simonoldfield commented 9 years ago

Implemented in 0.1.0-b20150507 (aka 0.1.0 2015-05-07 snapshot).

See the Retrieve Dataset Stack section of the API Command Line Tools documentation.

The Retrieve Dataset Stack tool now takes a --mask-vector-apply command line argument.

Also see the datacube.api.utils.get_mask_vector_for_cell() function in the API Python Function Reference.