davidfrantz / force-udf

User-Defined Functions for FORCE
GNU General Public License v3.0
13 stars 8 forks source link

No documentation on bands order in UDF module #14

Open vudongpham opened 2 months ago

vudongpham commented 2 months ago

I can only find one document that shows the bands order here: https://force-eo.readthedocs.io/en/latest/components/higher-level/tsa/format.html

But in TSA module, the bands order (S2L) are actually: ['BLUE', 'GREEN', 'RED', 'REDEDGE1', 'REDEDGE2', 'REDEDGE3', 'BROADNIR', 'NIR', 'SWIR1', 'SWIR2']****

I suggest put this information in the default UDF prm file!

Best, Dong

davidfrantz commented 2 months ago

Dear Dong,

I don't understand...

The indices in the TSA documentation do not follow any order since the TSA processing is independent for each index.

I guess you refer to the designated UDF module, which gives you access to all bands. However, the available bands are dependent on the sensor (combinations) you use....

Best, David

vudongpham commented 2 months ago

Oh sorry David,

Yes, I meant the UDF. Say Sentinel-2 sensors are used, there are 10 bands in the array, but users do not know which bands are which

Best, Dong