New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set units metadata #23
Comments
@perrygeo it's with rasterio.open(output, 'w', **profile) as dst:
for bidx in dst.indexes:
dst.set_units(bidx, 'degK')
dst.set_description(bidx, "TOA brightness temperature") |
Units on the TOA products would be "Reflectance" but only if we use raw units or provide a scaling factor to covert back. |
Note, let's also set the scaling factor in the metadata tags |
Looking at this more closely, One temporary workaround: reopen the dataset in |
With support for recording per-band units and descriptions in Rasterio (see rasterio/rasterio#854) we should record the units for the outputs.
ex:
The text was updated successfully, but these errors were encountered: