-
Notifications
You must be signed in to change notification settings - Fork 16
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
add algorithm for scaled reflectance encoding #978
Comments
It would be nice that saving such scaled data does preserve the original data types used. |
With "export algorithm" you mean the "Save raster layer as" / "Translate raster layer" algo? |
Yes. |
Both algos use gdal_translate, which preserves the data type and the scaling factor. |
BUT, if you are using any other algo for processing the data, the data is read by QGIS API, which will scale the data on-the-fly. |
|
No, the data is stored as ints with scaling factors. |
Discussed with @jakimowb.
After importing satellite data into the EnMAP-Box, reflectance data is scaled between 0 and 1. Exporting this data into GTiff or ENVI file, would result in floating-point data.
It is proposed to implement an algorithm for storing a raster using an integer data type using scaled reflectance encoding (e.g. multiply the data by 10000 and cast it to Int16).
The following parameters are describing a scaled reflectance encoding:
The text was updated successfully, but these errors were encountered: