Closed m-mohr closed 3 years ago
some answers:
from
field basically allows chaining several values (e.g. DN -> TOA radiance -> TOA reflectance)Example:
[
{"value": [0], "summary": "clear"},
{"value": [1,2], "summary": "clouds"}
]
For 7., I am not sure to understand what you propose. From file extension, I understand you describe each layer. Here you can describe several times the same band with different values. For instance, for typical remote sensing optical sensor the pixel can represent either the raw energy (DN), a TOA radiance or even a reflectance. Using what you propose, it would give something like:
"raster:bands": [
{
"values": [
{
"name": "TOA radiance",
"unit": "W⋅sr−1⋅m−2⋅nm−1",
"scale": 0.01,
"offset": 0
},{
"name": "TOA reflectance",
"scale": 0.0000185074513929,
"offset": 0
}]
}]
For 7: I'm just proposing to take over the object schema from file for file:values. But it seems values actually is something different in your case. In your case it describes the values, while in my case it lists the possible values (e.g. for masks).
@m-mohr I changed the values as array, does that look like what you had in mind?
Discussed in meetup and transferred in #10.
Various suggestions copied over from gitter: