RamiroMF
10/6/2016 - 3:24 PM

example_products.txt

D2300

slope = ( R2530 - R1815 ) / ( W2530 - W1815 )
intercept = R2530 - slope * W2530

slope = (data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)
intercept = data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530

Rc2120 = slope * W2120 + intercept

Rc2290 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)
Rc2320 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)
Rc2330 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)
Rc2120 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)
Rc2170 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)
Rc2210 = ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)

(data.band_197*(data.band_197 != 65535))
(data.band_201*(data.band_201 != 65535))
(data.band_203*(data.band_203 != 65535))
(data.band_171*(data.band_171 != 65535))
(data.band_179*(data.band_179 != 65535))
(data.band_185*(data.band_185 != 65535))


(1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))

(int)( 255 / ( max((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) )) * ( ((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) );

#########################################################

BD2210_2

(int)( 255 / ( max((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) )) * ( ((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) );

##################################

BD1900_2
(int)( 255 / ( max((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) )) * ( ((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) );

###############################QUERY###########################

http://access.planetserver.eu:8080/rasdaman/ows?service=WCS&version=2.0.1&request=ProcessCoverages&query=for data in ( frt000064d9_07_if166l_trr3 ) return encode(
{ red: (int)( 255 / ( max((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) )) * ( ((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) );
green: (int)( 255 / ( max((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) )) * ( ((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) );
blue: (int)( 255 / ( max((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) )) * ( ((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) );
alpha: (data.band_100 != 65535) * 255 },  "png", "nodata=null")";




####################################
BD2500_2

(data.band_226*(data.band_226 != 65535))
(data.band_208*(data.band_208 != 65535))
(data.band_239*(data.band_239 != 65535))

a = (1 - 0.581317073)
b = 0.581317073


(1 - (((data.band_226*(data.band_226 != 65535))) / ( (1 - 0.581317073) * ((data.band_208*(data.band_208 != 65535))) + 0.581317073 * ((data.band_239*(data.band_239 != 65535))))))

(int)( 255 / ( max((1 - (((data.band_226*(data.band_226 != 65535))) / ( (1 - 0.581317073) * ((data.band_208*(data.band_208 != 65535))) + 0.581317073 * ((data.band_239*(data.band_239 != 65535))))))) - min((1 - (((data.band_226*(data.band_226 != 65535))) / ( (1 - 0.581317073) * ((data.band_208*(data.band_208 != 65535))) + 0.581317073 * ((data.band_239*(data.band_239 != 65535))))))) )) * ( ((1 - (((data.band_226*(data.band_226 != 65535))) / ( (1 - 0.581317073) * ((data.band_208*(data.band_208 != 65535))) + 0.581317073 * ((data.band_239*(data.band_239 != 65535))))))) - min((1 - (((data.band_226*(data.band_226 != 65535))) / ( (1 - 0.581317073) * ((data.band_208*(data.band_208 != 65535))) + 0.581317073 * ((data.band_239*(data.band_239 != 65535))))))) );

(int)( 255 / ( max((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) - min((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) )) * ( ((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) - min((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) );

http://access.planetserver.eu:8080/rasdaman/ows?service=WCS&version=2.0.1&request=ProcessCoverages&query=for data in ( frt000064d9_07_if166l_trr3 ) return encode(
{ red: (int)( 255 / ( max((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) - min((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) )) * ( ((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) - min((1 - (data.band_226 / ((1 - (0.581317073)) * data.band_208 + (0.581317073) * data.band_239)))) );
green: (int)( 255 / ( max((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) )) * ( ((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) - min((1 - (data.band_185 / ((1 - (0.538461538)) * data.band_178 + (0.538461538) * data.band_191)))) );
blue: (int)( 255 / ( max((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) )) * ( ((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) );
alpha: (data.band_100 != 65535) * 255 },  "png", "nodata=null")";

###################################################################

MIN2200

r2165 = data.band_178
r2120 = data.band_171
r2350 = data.band_206
b = 0.199835775
a = 1 - 0.199835775

(1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))

(int)( 255 / ( max((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) - min((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) )) * ( ((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) - min((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) );


##################################################################
BD2355
r2355 = data.band_207
r2300 = data.band_199
r2450 = data.band_221

b = 0.363505254
a = (1 - 0.363505254)

(data.band_207*(data.band_207 != 65535))
(data.band_199*(data.band_199 != 65535))
(data.band_221*(data.band_221 != 65535))

(1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))

( 255 / ( max((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) - min((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) )) * ( ((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) - min((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) )

#########CHLORITE/PREHNITE AND K-MICA####################
http://access.planetserver.eu:8080/rasdaman/ows?service=WCS&version=2.0.1&request=ProcessCoverages&query=for data in ( frt000064d9_07_if166l_trr3 ) return encode(
{ red: (int)( 255 / ( max((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) - min((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) )) * ( ((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) - min((1 - ((data.band_207*(data.band_207 != 65535))/((1 - 0.363505254) * (data.band_199*(data.band_199 != 65535)) + (0.363505254) * (data.band_221*(data.band_221 != 65535)))))) );
green: (int)( 255 / ( max((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) )) * ( ((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) );
blue: (int)( 255 / ( max((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) - min((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) )) * ( ((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) - min((1 - ((data.band_178)/((1 - 0.199835775) * (data.band_171) + (0.199835775) * (data.band_206))))) );
alpha: (data.band_100 != 65535) * 255 },  "png", "nodata=null")";

########STRONGER KAOLINITE SIGNAL#########
http://access.planetserver.eu:8080/rasdaman/ows?service=WCS&version=2.0.1&request=ProcessCoverages&query=for data in ( frt000064d9_07_if166l_trr3 ) return encode(
{ red: (int)( 255 / ( max((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) )) * ( ((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) - min((0.5 * (1 - ((data.band_142*(data.band_142 != 65535)) / ((1 - (0.36346516)) * data.band_130*(data.band_130 != 65535) + (0.36346516) * data.band_163*(data.band_163 != 65535)))) * 0.5 * (1 - ((data.band_151*(data.band_151 != 65535)) / ((1 - (0.636167379)) * data.band_130*(data.band_130 != 65535) + (0.636167379) * data.band_163*(data.band_163 != 65535)))))) );
green: (int)( 255 / ( max((1 - ((data.band_178*(data.band_178 != 65535))/((1 - 0.199835775) * (data.band_171*(data.band_171 != 65535)) + (0.199835775) * (data.band_206*(data.band_206 != 65535)))))) - min((1 - ((data.band_178*(data.band_178 != 65535))/((1 - 0.199835775) * (data.band_171*(data.band_171 != 65535)) + (0.199835775) * (data.band_206*(data.band_206 != 65535)))))) )) * ( ((1 - ((data.band_178*(data.band_178 != 65535))/((1 - 0.199835775) * (data.band_171*(data.band_171 != 65535)) + (0.199835775) * (data.band_206*(data.band_206 != 65535)))))) - min((1 - ((data.band_178*(data.band_178 != 65535))/((1 - 0.199835775) * (data.band_171*(data.band_171 != 65535)) + (0.199835775) * (data.band_206*(data.band_206 != 65535)))))) );
blue: (int)( 255 / ( max((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) )) * ( ((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) - min((1 - ((((data.band_197*(data.band_197 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.290 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_201*(data.band_201 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.320 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_203*(data.band_203 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.330 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530))) / (((data.band_171*(data.band_171 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.120 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_179*(data.band_179 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.170 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)) + ((data.band_185*(data.band_185 != 65535))/((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.210 + (data.band_233*(data.band_233 != 65535) - ((data.band_233*(data.band_233 != 65535) - data.band_125*(data.band_125 != 65535))/(2.530 - 1.815)) * 2.530)))))) );
alpha: (data.band_100 != 65535) * 255 },  "png", "nodata=null")";