Skip to content

Commit

Permalink
Document scale_factor and add_offset #1003
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Aug 16, 2020
1 parent ad1e01a commit 4104abf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/about/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ v1.8.3 (???)
- More efficient band alias handling
- More documentation cleanups
- Bug fixes in ``datacube.utils.aws``, credentials handling when ``AWS_UNSIGNED`` is set
- Product definition can now optionally include per-band scaling factors (:pull:`1002`, :issue:`1003`)
- Fix issue where new ``updated`` columns aren't created on a fresh database (:pull:`994`, :issue:`993`)
- Fix bug around adding ``updated`` columns locking up active databases (:pull:`1001`, :issue:`997`)

Expand Down
3 changes: 3 additions & 0 deletions docs/ops/product.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ measurements
nodata
No data value

scale_factor,add_offset (optional)
Mapping from pixel value to real value ``real = scale_factor*pixel_value + add_offset``.

spectral_definition (optional)
Spectral response of the reflectance measurement.

Expand Down

0 comments on commit 4104abf

Please sign in to comment.