Band names in Petascope
|Reported by:||pcampalani||Owned by:||pcampalani|
Originated from here
Currently, band names are streamlined to RasQL queries without any intervention.
This raises the question: why band names are stored in petascopedb then?
This can be misleading when petascopedb (in ps_range_type_component table) declared labels which differ from the labels in RASBASE.
Thus, Petascope should either:
- translate any band label to its numerical index (eg .red to .0);
- drop this info in petascopedb and read band labels via RasQL
I personally recommend the first solution, for better flexibility and performance.