Opened 11 years ago
Closed 10 years ago
#756 closed defect (fixed)
Band names in Petascope
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | major | Milestone: | 9.0.x |
Component: | petascope | Version: | development |
Keywords: | band labels | Cc: | Marcus Sen |
Complexity: | Medium |
Description
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.
Change History (5)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Yes, setting up band names in the underlying rasdaman collections is cumbersome and option 1 seems most flexible.
comment:3 by , 11 years ago
I also add that this relates to WCPS, since WCS correctly checks what petascopedb
says about band names before proceeding.
comment:4 by , 10 years ago
Status: | new → accepted |
---|
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in changeset:a519796 : WCPS now translates range field names (described in petascopedb::range_type_component
) into rasdaman band indexes.
I'm also in favor of the first solution, especially considering #132