Relabel legacy `collection=` parameter in `calculate_bandindices`
eefaye opened this issue · 0 comments
eefaye commented
calculate_bandindices
currently requires the collection=
parameter which must be specified as either c2
or s2
.
c2
refers to "Collection 2" for Landsat but DEAfrica no longer indexes Collection 1 data so this association is unintuitive.
s2
refers to "Sentinel-2", which is not a "collection" in the Landsat sense but a different sensor altogether.
Proposed actions
- Rename
c2
tols
- Rename
collection=
tosensor=
or similar - Edit all notebooks where
bandindices
is used and make note of the change where appropriate
https://github.com/digitalearthafrica/deafrica-sandbox-notebooks/search?q=collection&type=code