Built-up binary classifier mask

//VERSION=3

// Author: Matic Peńćovnik, Sinergise

function setup() {
    return {
        input: [
            {
              bands: ["B01","B02","B03","B04","B05","B06","B07","B08","B11","B12"],
              units: "DN"
            },
        ],
        output: [
            {
              bands: 3,
              sampleType: "AUTO"
            }
        ]
    }
 }
 
 let factor = 3.5
 function evaluatePixel(sample) {  
 
    let NDVI = (sample.B08 - sample.B04)/(sample.B08 + sample.B04)
    let NDVI_RE1 = (sample.B08 - sample.B05)/(sample.B08 + sample.B05)
    let NDVI_RE2 = (sample.B08 - sample.B06)/(sample.B08 + sample.B06)
    let NDVI_GREEN = (sample.B08 - sample.B03)/(sample.B08 + sample.B03)
    let NBSI = (sample.B11 + sample.B04 - (sample.B08 + sample.B02))/(sample.B11 + sample.B04 + (sample.B08 + sample.B02))
    let CL_GREEN = sample.B07/sample.B03 - 1
    let NDWI = (sample.B03 - sample.B08)/(sample.B03 + sample.B08)
    let STI = sample.B11 / sample.B12
 
    let BLDG_PROBA = predict(sample.B01/1.e4,sample.B02/1.e4,sample.B03/1.e4,sample.B04/1.e4,NDVI,NDWI,NDVI_GREEN,NDVI_RE1,NDVI_RE2,NBSI,CL_GREEN,STI)
 
    if (BLDG_PROBA > 0.8) {
        return [sample.B04/1.e4, sample.B03/1.e4, 0.75 + sample.B02/1.e4]
    }
    return [factor*sample.B04/1.e4, factor*sample.B03/1.e4, factor*sample.B02/1.e4];
 }
 
 
 function pt0(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.3601498007774355)?((STI<=1.2322033047676089)?((NDVI_RE2<=0.02484106365591288)?((NDVI_GREEN<=-0.09261362254619597)?-1.1692:((NBSI<=-0.04929843731224536)?-0.9165:((STI<=1.159477770328522)?-0.7941:((NDVI_GREEN<=0.019943750463426117)?-0.9837:((NDVI_RE2<=0.009643310680985452)?-0.8028:((B02<=0.12602672725915912)?((NDVI_RE1<=0.1255515664815903)?((B04<=0.1565690413117409)?((B01<=0.06353016197681428)?-0.9758:-0.8336):-1.0496):-0.8131):-0.8056)))))):((B02<=0.1136087253689766)?((B03<=0.13456431776285174)?((STI<=1.1425675153732302)?((NBSI<=0.006308300886303187)?-0.9992:((CL_GREEN<=0.8622690439224244)?((B02<=0.09706594422459604)?((B03<=0.1166234314441681)?-0.8673:-1.1095):-0.8067):-0.8047)):((NDVI_RE1<=0.1425707042217255)?((B01<=0.0674421973526478)?((B02<=0.09584409743547441)?((CL_GREEN<=1.1074029207229616)?((B04<=0.11872766539454462)?((B02<=0.0720585808157921)?-1.1161:-0.8596):-1.1929):-0.9015):-0.8339):-0.8864):((B04<=0.05812593176960946)?-1.0414:((NDVI_RE1<=0.18034848570823672)?((NDWI<=-0.290214255452156)?((CL_GREEN<=1.224775016307831)?((B01<=0.06404463946819307)?-1.064:-0.9056):-0.8331):-0.841):((NBSI<=-0.038366064429283135)?-0.978:-0.8309))))):((NDVI_GREEN<=0.32538090646266943)?((B02<=0.10841339081525804)?-1.2128:-1.0931):-0.9961)):((NDWI<=-0.2277099937200546)?((B04<=0.188202939927578)?-0.8235:((B02<=0.1362387537956238)?((B03<=0.16402678191661837)?-0.9039:-1.1909):-0.8819)):-0.7982))):((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.019943750463426117)?-1.1819:((NDVI_RE2<=-0.001616503926925361)?((NBSI<=-0.008820996154099701)?-0.9396:((NDVI_GREEN<=0.1486560553312302)?((B02<=0.07892440259456636)?-1.0714:-0.8331):-0.8163)):((B02<=0.09961602836847307)?((CL_GREEN<=1.2911222577095034)?((B02<=0.07532335445284845)?-1.0993:((B04<=0.12815856933593753)?-0.8856:-1.1317)):((B04<=0.06577199324965478)?-0.9847:-0.8367)):-0.8352))):((B02<=0.10236771032214166)?((NDVI_RE1<=0.20935487747192386)?((CL_GREEN<=1.4598762989044192)?((B01<=0.062002498656511314)?((B02<=0.08043431490659715)?((B03<=0.09817888587713243)?((B02<=0.06857759505510332)?-1.1795:-1.0272):-1.2184):((B04<=0.13480222225189212)?-0.9199:-1.1999)):((B03<=0.12400087714195253)?((STI<=1.2877417206764223)?-0.985:-1.0955):-1.1999)):((B04<=0.0922255963087082)?-1.0956:-0.8783)):((STI<=1.3073941469192507)?((B04<=0.05812593176960946)?-1.1104:((B03<=0.12268121913075448)?((NDVI_RE2<=0.057870605960488326)?-0.8553:((NDVI<=0.30394615232944494)?-0.8428:((NDVI_RE1<=0.248970702290535)?-1.039:-0.9205))):-1.1055)):((NDVI_RE2<=0.060275439172983176)?((B03<=0.12130896002054216)?-0.9482:-1.1675):((B02<=0.07269713282585145)?-1.1427:((B04<=0.12326770648360254)?-0.9805:-1.1275))))):((NDVI_GREEN<=0.2616051137447358)?((NBSI<=-0.09295503050088881)?-1.0107:((B02<=0.12374580651521684)?((NDVI_RE1<=0.1449263691902161)?-0.9667:-0.825):-0.8164)):((B04<=0.17341081053018573)?((B01<=0.10361535474658014)?((B02<=0.11180123314261438)?((B04<=0.14968333393335345)?-0.8459:-1.1211):-0.8259):((NDVI_RE2<=0.05946547910571099)?-0.9186:-1.0721)):((B02<=0.12826388329267505)?-1.1742:((B01<=0.1268444731831551)?-0.8801:-1.0788))))))):((STI<=1.4536319971084597)?((NDVI_RE2<=0.027828369289636615)?((NDVI_GREEN<=0.05895834974944592)?-1.1945:((NDVI_RE2<=-0.018062793649733063)?((B04<=0.061308072879910476)?((CL_GREEN<=1.708404362201691)?-1.0609:-0.8769):-0.8451):((B02<=0.07820178568363191)?((CL_GREEN<=1.8162279129028323)?((NDVI_RE1<=0.20675697922706607)?-1.1559:-1.0443):((B02<=0.03755078092217446)?-1.0828:-0.8721)):((NDVI_RE1<=0.21733164042234424)?((B02<=0.09961602836847307)?((B03<=0.10954647883772851)?-0.948:-1.1124):-0.8991):-0.8563)))):((B02<=0.10236771032214166)?((NBSI<=0.04863115213811398)?((B02<=0.07397386431694032)?-1.1747:((B04<=0.12448374927043916)?((B01<=0.06353016197681428)?((B02<=0.08825982362031938)?((B04<=0.10823859646916391)?-0.999:-1.1514):-0.8952):-1.1191):-1.1742)):-1.2105):((NDVI<=0.14527748525142672)?-0.8454:((B01<=0.08758090808987619)?((NBSI<=0.06770746782422067)?((NDVI_RE1<=0.18821440637111667)?-1.0343:((NDVI_GREEN<=0.366509422659874)?-0.8518:-0.9727)):-1.151):-1.0956)))):((B03<=0.19680999219417575)?((NDVI_RE2<=-0.027574169449508187)?((B04<=0.0632508732378483)?((NDVI_RE2<=-0.10487622022628783)?((STI<=1.6799213886260989)?-0.9619:-1.1628):((STI<=1.6698968410491946)?((CL_GREEN<=2.2291829586029057)?-1.1903:-1.0107):-1.2165)):((NDVI_GREEN<=0.15430385619401935)?-1.1971:((STI<=1.6698968410491946)?-0.8895:-1.0747))):((B02<=0.0863718129694462)?((NDVI_RE2<=0.04520156234502793)?((B04<=0.07252973318099977)?((STI<=1.5878992080688479)?((NDVI_RE1<=0.24357885867357257)?-1.2095:-1.1343):-1.2232):((CL_GREEN<=2.396497488021851)?-1.1743:((STI<=1.5836724638938906)?-0.9063:-1.166))):-1.2259):((NDVI_RE2<=0.035440331324934966)?((NBSI<=-0.08500478416681288)?-1.1654:((NDVI_RE1<=0.22271386533975604)?-1.0893:-0.9143)):((B01<=0.06102052703499795)?((B02<=0.10680788010358812)?-1.1656:-1.0363):((CL_GREEN<=0.582307130098343)?-1.0933:-1.2054))))):((CL_GREEN<=0.66087344288826)?((B04<=0.26974999904632574)?-0.9668:-0.8237):-1.1266)));
 }
 
 
 function pt1(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.371174991130829)?((STI<=1.25934773683548)?((NDVI_RE2<=0.0259086424484849)?((NDVI_GREEN<=-0.09261362254619597)?-0.0554:((STI<=1.1937267780303957)?0.254:((NDVI_GREEN<=0.019943750463426117)?0.0763:((NDVI_RE2<=0.008335400372743608)?0.2461:((B02<=0.11945968493819238)?((NDVI_RE1<=0.13042353838682177)?((NDVI_GREEN<=0.3078820854425431)?((B04<=0.14490713924169543)?((B02<=0.08126428350806238)?0.0349:0.2073):-0.0218):0.2216):0.2304):0.2428))))):((B02<=0.10841339081525804)?((B03<=0.1282046735286713)?((STI<=1.1723291873931887)?((B04<=0.05104723386466504)?0.0452:((CL_GREEN<=0.9756962060928346)?((B02<=0.08729497343301774)?((B03<=0.10613397508859636)?((STI<=1.102627217769623)?0.2335:((B04<=0.116525836288929)?0.1872:0.0692)):-0.0213):0.2361):0.2499)):((NDVI_RE1<=0.15733867138624194)?((B02<=0.08923896774649621)?((CL_GREEN<=1.2069053053855898)?((B04<=0.11872766539454462)?((B02<=0.06695322692394258)?((B01<=0.046301562339067466)?-0.0475:0.0652):0.1574):-0.0721):0.1851):0.1902):((B04<=0.06683370843529703)?0.0653:((NDVI_RE1<=0.196164645254612)?((B02<=0.09242625162005426)?((B03<=0.11042871326208116)?((CL_GREEN<=1.3586125373840334)?((NDWI<=-0.323121428489685)?((B01<=0.05076291598379613)?0.0173:0.1611):0.2057):0.2394):-0.0275):0.2362):0.2217)))):((NDVI_GREEN<=0.3529722094535828)?((B04<=0.1530156880617142)?0.1035:-0.0784):0.1325)):((NDWI<=-0.21915302425622937)?((B04<=0.18158413469791415)?((B01<=0.11804364994168283)?0.2428:0.1721):((B02<=0.1362387537956238)?((B03<=0.15280444175004962)?0.2231:((NDVI_RE2<=0.05032836832106114)?-0.0695:0.0537)):0.2103)):0.2545))):((NDVI_RE2<=0.026892334222793583)?((NDVI_GREEN<=0.03403227590024472)?((B02<=0.10100125148892404)?-0.0858:0.0519):((NDVI_RE2<=-0.01029687514528632)?((B04<=0.06474910676479341)?((NDVI_GREEN<=0.21753862500190738)?0.088:0.2125):0.2411):((B02<=0.0863718129694462)?((CL_GREEN<=1.425178647041321)?((B03<=0.10696838796138765)?((B02<=0.07145178690552713)?0.0104:0.1622):-0.0746):((B04<=0.06577199324965478)?0.114:0.2322)):((B02<=0.1136087253689766)?((B03<=0.13456431776285174)?0.2193:-0.0373):0.238)))):((B02<=0.09706594422459604)?((NDVI_RE1<=0.23560624569654467)?((CL_GREEN<=1.5666325092315676)?((B01<=0.06250178441405298)?((B02<=0.07397386431694032)?-0.0627:((B04<=0.12448374927043916)?0.1302:-0.077)):((B03<=0.1166234314441681)?((STI<=1.3073941469192507)?0.0926:0.0031):-0.058)):((B04<=0.09305108711123468)?-0.0044:0.1934)):((NDVI_RE2<=0.0674010254442692)?((B03<=0.11554257199168207)?((NBSI<=-0.0574966799467802)?0.051:0.1982):-0.0114):((NDVI<=0.33705575764179235)?0.196:((B03<=0.05445785820484162)?-0.0593:((NDVI_RE1<=0.2794806510210038)?((NDWI<=-0.41659614443778986)?-0.0484:0.0711):((NBSI<=-0.11416723579168318)?-0.0264:((NDWI<=-0.44912043213844294)?0.0783:0.2092))))))):((NBSI<=-0.12181713804602622)?-0.0067:((B02<=0.11945968493819238)?((B04<=0.1565690413117409)?((B01<=0.0818055532872677)?0.223:0.1184):((B03<=0.1437979191541672)?0.0323:-0.0816)):((B01<=0.11804364994168283)?((B02<=0.13886794447898868)?((B04<=0.17601270228624347)?0.2287:0.0514):0.2516):((NDVI<=0.15876333415508273)?0.2409:0.0816))))))):((STI<=1.4737354516983034)?((NDVI_RE2<=0.03264746069908143)?((NDVI_GREEN<=0.048014063388109214)?-0.0836:((NDVI_RE2<=-0.012130713090300558)?((B04<=0.06953524425625802)?((NDVI_RE2<=-0.0669133812189102)?0.2159:((NDVI_RE1<=0.1425707042217255)?-0.0079:0.1392)):0.219):((NDVI_RE1<=0.21733164042234424)?((B02<=0.08729497343301774)?((CL_GREEN<=1.5842652916908266)?-0.0482:((B02<=0.044335504993796356)?-0.0368:0.1396)):0.1375):((B02<=0.08923896774649621)?((CL_GREEN<=1.9693871736526491)?0.0799:0.1914):0.2197)))):((B02<=0.09706594422459604)?((NBSI<=0.053852295503020293)?((B02<=0.0767515152692795)?-0.0616:((B03<=0.12130896002054216)?((B01<=0.06353016197681428)?((NDVI_RE1<=0.28695434331893926)?0.0191:0.1494):-0.0262):-0.0831)):-0.0945):((CL_GREEN<=0.4053166508674622)?0.2108:((B01<=0.07691055163741113)?((NBSI<=0.05208730511367322)?((NDVI_RE1<=0.21479062736034396)?0.0658:0.1959):-0.0374):((NDVI_RE2<=0.06818032264709474)?0.0598:-0.0283))))):((B03<=0.189938098192215)?((NDVI_RE2<=-0.03932661190629005)?((B04<=0.056875931099057205)?((NDVI_RE2<=-0.12277998030185698)?0.0593:-0.0698):((NDVI_GREEN<=0.18531713634729388)?-0.0719:((STI<=1.6748912930488589)?0.1966:0.0403))):((B02<=0.08462265878915788)?((NDVI_RE2<=0.03171547874808312)?((B04<=0.07192642986774446)?((STI<=1.613278150558472)?((NDVI_RE1<=0.26976308226585394)?-0.0841:0.0106):-0.1001):((CL_GREEN<=2.147843718528748)?-0.0507:((STI<=1.5878992080688479)?0.1654:-0.0177))):-0.1033):((NDVI_RE2<=0.035440331324934966)?((NBSI<=-0.05469789914786815)?-0.0294:((NDVI_RE1<=0.14740498363971713)?-0.0156:0.1569)):((B01<=0.05415885336697102)?((NDVI_RE1<=0.28695434331893926)?-0.0608:((STI<=1.6601970791816714)?0.1319:-0.055)):((CL_GREEN<=0.8317038118839265)?-0.0178:-0.087))))):((CL_GREEN<=0.6927883923053743)?((B04<=0.25343537330627447)?0.1122:0.2353):((B01<=0.11328282579779626)?0.0862:-0.0759))));
 }
 
 
 function pt2(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.381537199020386)?((STI<=1.27328896522522)?((B01<=0.05828982777893544)?((CL_GREEN<=1.2069053053855898)?((B02<=0.09350283071398736)?((B04<=0.12565166503190997)?((B02<=0.07086091116070749)?((STI<=1.1850515604019167)?((B03<=0.0851743407547474)?((NDVI_GREEN<=0.1028234362602234)?0.0087:((NDVI_RE2<=0.03075048886239529)?0.2019:0.14)):-0.0152):((B04<=0.09811464697122575)?((NDVI_GREEN<=0.07861664891242982)?-0.0816:((B02<=0.05598873645067216)?((NDVI_RE2<=0.012198193464428188)?0.1279:0.0141):0.1558)):-0.0642)):0.194):((STI<=1.1134079694747927)?0.1698:((NDVI_RE2<=0.08404052630066873)?-0.0718:0.0981))):((B04<=0.16033466905355456)?0.2223:((B02<=0.1154933348298073)?((B03<=0.1437979191541672)?0.0706:-0.0827):0.212))):((B01<=0.014000781346112491)?((NDVI_RE2<=0.061121629551053054)?0.1283:-0.0187):((NBSI<=-0.01354785170406103)?0.0797:((NDVI_RE2<=0.04520156234502793)?0.2171:((STI<=1.2234585881233218)?0.2022:((CL_GREEN<=1.5842652916908266)?0.0846:0.1966)))))):((NBSI<=-0.08500478416681288)?((B02<=0.156236045062542)?0.0263:0.1613):((STI<=1.1509826183319094)?0.2131:((NDVI_RE2<=0.018347216770052913)?((NDVI_GREEN<=1.0000000180025095e-35)?0.0314:0.2108):((B02<=0.12162440270185472)?((B03<=0.1437979191541672)?((B04<=0.14805154502391818)?((B02<=0.09584409743547441)?((B03<=0.11440156400203706)?((CL_GREEN<=1.0568392276763918)?((B04<=0.12565166503190997)?0.1541:0.0539):0.2096):-0.0019):0.2049):((NDVI_GREEN<=0.3529722094535828)?((B02<=0.10680788010358812)?-0.0499:0.1892):0.2096)):-0.067):((NDVI_GREEN<=0.2424077168107033)?0.2126:((B04<=0.1920449957251549)?0.2007:((B02<=0.14508166909217837)?-0.0238:0.1559)))))))):((NDVI_RE2<=0.0298055661842227)?((NDVI_GREEN<=0.03403227590024472)?((B02<=0.10380454733967782)?-0.0853:0.0385):((NDVI_RE2<=0.004309716634452344)?((B04<=0.06474910676479341)?((NDVI_RE2<=-0.046895459294319146)?0.1927:((NDVI_RE1<=0.1255515664815903)?0.0202:0.1447)):((CL_GREEN<=1.3241563439369204)?((B02<=0.0767515152692795)?((NDVI_RE2<=-0.030343847349286076)?0.1629:0.0489):0.1988):0.2118)):((B02<=0.09584409743547441)?((CL_GREEN<=1.5483346581459048)?((NDVI_RE1<=0.196164645254612)?((B02<=0.07145178690552713)?-0.0308:((B03<=0.11334807425737382)?0.1079:-0.0728)):0.1212):0.1854):0.1785))):((B02<=0.09961602836847307)?((NDVI_RE1<=0.24357885867357257)?((B01<=0.05780416540801526)?((CL_GREEN<=1.7440155744552615)?((B02<=0.07335069403052331)?-0.0658:((B04<=0.12448374927043916)?0.11:-0.074)):((B04<=0.06849031522870065)?-0.047:0.1217)):((CL_GREEN<=1.4950801730155947)?((B03<=0.12268121913075448)?0.011:-0.0841):0.1419)):((NDVI_RE2<=0.07046616077423097)?((B03<=0.11890156194567682)?((NBSI<=-0.06574492156505583)?0.0256:((B02<=0.08126428350806238)?((B03<=0.09949970990419389)?0.1764:0.0009):0.2319)):-0.0143):((B02<=0.06914090365171434)?((NDVI<=0.37537060678005224)?0.0968:((B01<=0.04685968905687333)?-0.0511:0.0372)):((NDVI_GREEN<=0.40375146269798284)?0.1683:0.0508)))):((NBSI<=-0.131990872323513)?-0.0256:((B02<=0.12162440270185472)?((B04<=0.16033466905355456)?((B01<=0.08758090808987619)?0.1823:0.0764):-0.0446):((B01<=0.11577638983726503)?0.1967:((NDVI<=0.15530385822057727)?0.2045:0.0611))))))):((B02<=0.08825982362031938)?((NDVI_RE2<=-0.020178174600005146)?((STI<=1.5638485550880434)?((NDVI_GREEN<=0.18531713634729388)?-0.0662:((NDVI_RE2<=-0.0669133812189102)?0.2032:((B04<=0.06953524425625802)?((NDVI_RE1<=0.18821440637111667)?0.0015:0.1335):0.1677))):((NDVI_GREEN<=0.3424810469150544)?-0.0926:((STI<=1.748494625091553)?((NDVI_RE2<=-0.07358540222048758)?0.1643:((B04<=0.057687651365995414)?-0.0391:0.0911)):-0.0791))):((STI<=1.466101944446564)?((NDVI_RE2<=0.03720214776694775)?((NDVI_RE1<=0.21733164042234424)?((NDVI_RE1<=0.137761227786541)?-0.0713:((NDVI_RE2<=0.009643310680985452)?0.0608:-0.0409)):((CL_GREEN<=2.007213354110718)?0.0677:0.1691)):((NBSI<=0.030088574625551704)?-0.0496:-0.0916)):((NDVI_RE2<=0.05200981348752976)?((STI<=1.5878992080688479)?((CL_GREEN<=2.2291829586029057)?((B02<=0.0644010975956917)?-0.0851:((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.37665230035781866)?-0.0312:0.1172):-0.0568)):((B04<=0.05564841628074647)?-0.0552:((NDVI_RE2<=0.03356181643903256)?0.1308:-0.0009))):-0.0959):-0.1011))):((NBSI<=-0.11147890612483023)?((CL_GREEN<=0.582307130098343)?0.0177:-0.0824):((NDVI_GREEN<=0.3598115295171738)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0833:((NDVI<=0.14860527217388156)?((NDVI_RE1<=0.07706191390752794)?((NDVI<=0.07427622377872468)?0.1794:0.0672):0.2299):((NDVI_RE1<=0.22271386533975604)?((NDVI_RE2<=0.009643310680985452)?((NBSI<=-0.004328125156462192)?0.088:0.1951):((CL_GREEN<=0.7539071142673494)?((NDVI_RE1<=0.137761227786541)?-0.0284:((NDVI<=0.22050224989652636)?0.2186:0.0379)):((STI<=1.4536319971084597)?0.0089:-0.0721))):((NDVI<=0.33705575764179235)?0.2172:((NDVI_RE1<=0.26724292337894445)?0.0453:0.185))))):((NDVI_RE2<=0.03356181643903256)?0.1601:((NDVI_RE1<=0.26724292337894445)?-0.0835:((NDVI_GREEN<=0.42044702172279363)?((B01<=0.07616676390171052)?0.161:0.0255):((STI<=1.4894348382949831)?0.0202:-0.0651)))))));
 }
 
 
 function pt3(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.3871238231658938)?((STI<=1.2825672626495364)?((STI<=1.189230799674988)?((B04<=0.034421583637595184)?0.0198:((NDVI_RE2<=0.02057573199272156)?((NDVI_GREEN<=-0.03240991197526454)?0.0887:0.1897):((NDWI<=-0.20545751601457593)?((NDVI_RE1<=0.13042353838682177)?((STI<=1.1190367341041567)?((CL_GREEN<=0.8014940321445466)?0.1386:0.1946):((CL_GREEN<=0.9589622020721437)?((NBSI<=0.0944611355662346)?0.1305:((B01<=0.07538722828030588)?((B04<=0.13083866983652118)?((B02<=0.07027230039238931)?-0.012:0.1273):((B02<=0.10380454733967782)?-0.082:0.0388)):((B04<=0.16457083076238635)?0.1804:-0.008))):0.1782)):((NBSI<=-0.04929843731224536)?0.0764:0.1754)):0.1885))):((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0387:((CL_GREEN<=1.1579588651657107)?((B02<=0.07892440259456636)?((B03<=0.09240317344665529)?((B02<=0.05987116321921349)?0.0906:0.1681):-0.0033):0.1783):0.1888)):((B02<=0.10380454733967782)?((NDVI_RE1<=0.17505356669425967)?((CL_GREEN<=1.2069053053855898)?((B04<=0.13762678205966952)?((B02<=0.07892440259456636)?((B04<=0.11010101810097696)?((B02<=0.06344648450613023)?-0.0264:0.0831):-0.0782):((NBSI<=0.014652002137154342)?0.0434:0.1469)):-0.0696):((B01<=0.030892450362443927)?0.0216:0.1708)):((B03<=0.1282046735286713)?((B04<=0.036271354183554656)?-0.0325:((NBSI<=-0.08767983317375182)?0.0109:((CL_GREEN<=1.5666325092315676)?((B02<=0.08462265878915788)?((B03<=0.10781164839863779)?((NDVI<=0.2373677268624306)?0.2172:((B02<=0.07532335445284845)?((B03<=0.0934501811861992)?0.1029:-0.031):0.1625)):-0.0593):0.1755):0.1825))):-0.0656)):((NBSI<=0.08172456175088884)?((NBSI<=-0.08500478416681288)?0.0701:((NDVI_GREEN<=0.2761798799037934)?0.1828:((B04<=0.16875300556421283)?0.1739:((B02<=0.12826388329267505)?-0.0339:0.1263)))):((B04<=0.17105077952146533)?0.1793:((B02<=0.1308928579092026)?-0.0327:0.1288)))))):((NDVI_RE2<=0.026892334222793583)?((NDVI_GREEN<=0.019943750463426117)?-0.073:((CL_GREEN<=1.5483346581459048)?((B02<=0.07145178690552713)?((NDVI_RE2<=-0.03309721685945987)?0.1331:((NDVI_RE1<=0.07114565744996072)?-0.0535:((B03<=0.08900079876184465)?((B02<=0.058636385947465904)?((B03<=0.06670332327485086)?0.047:-0.0639):0.1181):-0.0761))):((B02<=0.09029246866703035)?((B03<=0.10954647883772851)?0.1498:-0.0491):0.1675)):((B01<=0.02169765252619982)?0.0679:0.1816))):((B02<=0.09137656167149545)?((NDVI_RE1<=0.2542502880096436)?((CL_GREEN<=1.6732997298240664)?((B01<=0.06353016197681428)?((NBSI<=0.04863115213811398)?-0.0249:-0.0649):0.0057):((NDVI_RE2<=0.05946547910571099)?((B02<=0.04959076642990113)?0.0402:0.1847):-0.0482)):((NDVI_RE2<=0.07193466648459436)?((B03<=0.11042871326208116)?((NBSI<=-0.0574966799467802)?0.0358:0.1511):-0.0209):((NDVI<=0.36650180816650396)?0.1596:((B03<=0.05445785820484162)?-0.0655:((NDVI_RE1<=0.28695434331893926)?-0.0393:0.0471))))):((B02<=0.11180123314261438)?((B04<=0.14490713924169543)?((B01<=0.07330237701535226)?0.1708:((NDVI_RE2<=0.07622363418340684)?0.0957:-0.0023)):-0.0497):((NBSI<=-0.09040625020861624)?0.0274:((B01<=0.10906458273530008)?((B02<=0.13355100154876712)?((B04<=0.17105077952146533)?0.1687:-0.0184):0.1857):((NDVI<=0.10988955199718477)?0.1912:0.0696))))))):((B02<=0.08207769691944124)?((NDVI_RE2<=-0.027574169449508187)?((STI<=1.5601074099540713)?((NDVI_GREEN<=0.13659472763538363)?-0.0804:((CL_GREEN<=1.5483346581459048)?((B02<=0.058636385947465904)?0.0095:0.1397):((B02<=0.0329193975776434)?0.0851:0.1754))):((NDVI_GREEN<=0.3495313376188279)?-0.0877:((STI<=1.7910516262054446)?((B04<=0.05177432857453824)?0.0012:((CL_GREEN<=2.6194638013839726)?0.0491:0.1941)):-0.0822))):((STI<=1.5074455142021181)?((NDVI_RE2<=0.043409131467342384)?((CL_GREEN<=1.8162279129028323)?((NDVI_RE1<=0.1449263691902161)?-0.0782:((NDVI_RE2<=0.01345981424674392)?0.0342:-0.0464)):((B04<=0.05605545639991761)?-0.0223:((CL_GREEN<=2.312042117118836)?((B02<=0.060301041230559356)?0.0127:0.1413):0.18))):((NBSI<=0.006308300886303187)?-0.0589:-0.093)):((NDVI_RE2<=0.05200981348752976)?((STI<=1.6799213886260989)?((CL_GREEN<=2.5287857055664067)?((B02<=0.0644010975956917)?-0.0859:-0.0412):((B04<=0.055239532142877586)?-0.0663:((NDVI_RE2<=0.017201562412083152)?0.1314:-0.0118))):-0.0977):-0.0995))):((NDVI_GREEN<=0.38360355794429785)?((NBSI<=-0.11147890612483023)?((CL_GREEN<=0.34793071448802954)?0.047:-0.06):((B02<=0.1308928579092026)?((NDVI_RE2<=0.018347216770052913)?((NDVI_GREEN<=0.13027084618806842)?-0.0598:((NBSI<=-0.03306982293725013)?0.0535:0.1701)):((NDVI_RE1<=0.25680805742740637)?((NDVI_RE1<=0.21479062736034396)?-0.055:((STI<=1.4452366232872011)?0.0713:-0.0356)):((NDVI<=0.37537060678005224)?0.1898:0.065))):((B01<=0.08758090808987619)?0.1832:((B02<=0.23761110752820971)?((STI<=1.496508300304413)?0.0756:-0.0118):0.1754)))):((NDVI_RE2<=0.03171547874808312)?0.1337:((STI<=1.4894348382949831)?((NDVI_RE1<=0.2820406258106232)?-0.0767:((NBSI<=-0.12451176717877387)?-0.0574:((NDVI_GREEN<=0.43029105663299566)?0.1279:0.014))):((B01<=0.06102052703499795)?-0.0453:-0.0898)))));
 }
 
 
 function pt4(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.392402768135071)?((STI<=1.2926099896430971)?((STI<=1.2022899985313418)?((B04<=0.03290341049432755)?0.0064:((NDVI_RE2<=0.021679053083062175)?((NDVI_GREEN<=-0.03240991197526454)?0.0676:0.1694):((NDWI<=-0.2103619500994682)?((NDVI_RE1<=0.137761227786541)?((STI<=1.1190367341041567)?((CL_GREEN<=0.8317038118839265)?0.1252:0.174):((CL_GREEN<=0.9589622020721437)?((NBSI<=0.0944611355662346)?0.1147:((B01<=0.08007953315973283)?((B04<=0.13762678205966952)?((B02<=0.08126428350806238)?((B04<=0.10628765448927881)?0.0702:-0.0708):0.1673):((B02<=0.1053585670888424)?-0.0845:0.0259)):((B04<=0.16666827350854876)?0.1636:0.0014))):0.1531)):((NBSI<=-0.04929843731224536)?0.0672:0.1557)):((B04<=0.07890156283974649)?0.0994:0.1692)))):((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0449:((NBSI<=-0.0158623531460762)?0.101:((CL_GREEN<=1.1579588651657107)?((B02<=0.07397386431694032)?((NDVI_RE2<=-0.022470312193036076)?0.1413:0.044):0.1601):0.1701))):((B02<=0.10680788010358812)?((NDVI_RE1<=0.17505356669425967)?((CL_GREEN<=1.1579588651657107)?((B04<=0.14187757670879367)?((B02<=0.08126428350806238)?((B04<=0.11115099862217905)?((B02<=0.06695322692394258)?-0.0284:0.0825):-0.0793):0.1106):-0.0724):((B01<=0.027200892567634586)?-0.0077:0.1378)):((B03<=0.1298549994826317)?((B04<=0.04144153743982316)?-0.0226:((NBSI<=-0.09040625020861624)?0.0058:((NDVI_RE1<=0.21733164042234424)?((NDWI<=-0.323121428489685)?((CL_GREEN<=1.4598762989044192)?((B01<=0.05780416540801526)?0.0108:0.1):0.1605):0.1585):0.1483))):-0.0567)):((NDVI_GREEN<=0.2424077168107033)?0.1611:((B04<=0.18158413469791415)?((B01<=0.1268444731831551)?0.1526:0.0551):((B02<=0.13886794447898868)?((B03<=0.16402678191661837)?0.0392:-0.0852):0.1216)))))):((NDVI_RE2<=0.03075048886239529)?((NDVI_GREEN<=0.03403227590024472)?-0.0626:((NDVI_RE2<=0.00286904291715473)?((NDVI_GREEN<=0.16518501192331317)?((NDWI<=-0.15949146449565885)?-0.0509:0.132):((B01<=0.025620853528380397)?0.0774:0.1536)):((B02<=0.10680788010358812)?((NDVI_RE1<=0.17505356669425967)?((NDVI_GREEN<=0.3632450103759766)?((B02<=0.07892440259456636)?-0.0418:((B03<=0.11890156194567682)?0.0835:-0.0614)):0.0804):((B03<=0.12005131691694261)?0.1307:0.019)):0.1466))):((B02<=0.09137656167149545)?((NDVI_RE1<=0.2620453536510468)?((STI<=1.328301548957825)?((CL_GREEN<=1.4768152832984927)?((NBSI<=0.07997749000787736)?0.0006:-0.054):((NDVI_RE2<=0.054541453719139106)?0.1203:-0.0016)):-0.0584):((NDVI_RE2<=0.08751294016838075)?((B03<=0.1123677045106888)?((NBSI<=-0.09295503050088881)?-0.0205:((B01<=0.050431367009878166)?((CL_GREEN<=2.2706036567687993)?0.0502:0.1589):0.1558)):-0.0458):((NDWI<=-0.46786378324031824)?-0.0407:0.0627))):((NBSI<=-0.131990872323513)?-0.0379:((NBSI<=0.06949682533740999)?((B02<=0.1308928579092026)?((B04<=0.16457083076238635)?((B01<=0.08758090808987619)?((B02<=0.1053585670888424)?((B04<=0.13617416471242907)?((NDVI_RE1<=0.22271386533975604)?0.0765:0.1756):-0.0363):0.1585):0.0475):-0.0295):((B01<=0.12083030492067338)?0.1621:((NDVI_GREEN<=0.17040834575891498)?0.1685:0.0341))):((B02<=0.1136087253689766)?((B04<=0.14805154502391818)?0.0752:-0.0604):0.0803)))))):((B02<=0.08207769691944124)?((NDVI_RE2<=-0.030343847349286076)?((STI<=1.5678291916847231)?((NDVI_GREEN<=0.13659472763538363)?-0.0789:((CL_GREEN<=1.9309984445571902)?((B02<=0.05352944880723954)?0.012:0.1323):0.151)):((NDVI_GREEN<=0.3424810469150544)?-0.0864:((STI<=1.8015787005424502)?((NDVI_RE2<=-0.09178124740719794)?0.1492:((B04<=0.05213681049644948)?-0.0408:0.0795)):-0.0804))):((STI<=1.5145724415779116)?((NDVI_RE2<=0.04520156234502793)?((CL_GREEN<=1.950324594974518)?((B02<=0.060301041230559356)?-0.0686:((B03<=0.09817888587713243)?((CL_GREEN<=1.3586125373840334)?-0.007:((B02<=0.06914090365171434)?0.0319:0.162)):-0.0724)):((B04<=0.04961489140987397)?-0.0379:((CL_GREEN<=2.4619406461715703)?((B02<=0.05420923046767712)?0.0063:0.1316):0.1635))):((NBSI<=0.010580615606158974)?-0.0602:-0.0918)):((NDVI_RE2<=0.05200981348752976)?((STI<=1.6799213886260989)?((CL_GREEN<=2.208094716072083)?-0.0792:((NDVI_RE2<=0.01345981424674392)?((B04<=0.057687651365995414)?-0.0505:0.1066):-0.0518)):-0.0955):-0.0975))):((NDVI_GREEN<=0.39020498096942907)?((NBSI<=-0.09835395589470862)?((CL_GREEN<=0.4615533649921418)?0.042:-0.054):((B02<=0.12374580651521684)?((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=0.1486560553312302)?-0.0598:((NDVI_RE2<=-0.001616503926925361)?0.1587:0.0825)):((NDVI_RE1<=0.248970702290535)?-0.0458:((NDVI<=0.3838898986577988)?0.1415:0.0237))):((B01<=0.07538722828030588)?0.166:((CL_GREEN<=0.6927883923053743)?((NDVI_RE1<=0.027753272093832496)?0.0147:((CL_GREEN<=0.3283299803733826)?0.1824:0.1116)):((NDVI_RE1<=0.23069053143262866)?((NDVI_RE2<=0.026892334222793583)?0.0781:-0.0421):0.0839))))):((NDVI_RE2<=0.04940356500446797)?((NDVI_RE2<=0.019403125159442428)?0.1561:0.0231):((STI<=1.5145724415779116)?((NDVI_RE1<=0.27716182172298437)?-0.0899:((B01<=0.0668299123644829)?((B04<=0.12565166503190997)?0.1387:-0.0009):-0.034)):-0.0849))));
 }
 
 
 function pt5(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.392402768135071)?((STI<=1.2975463867187502)?((STI<=1.1723291873931887)?((B04<=0.035038281232118614)?0.0231:((NDVI_RE2<=0.027828369289636615)?0.1546:((B02<=0.12374580651521684)?((B03<=0.1437979191541672)?((NBSI<=-0.025405615568161007)?0.035:((STI<=1.102627217769623)?0.1511:((NDVI_RE1<=0.13533662259578708)?((B02<=0.10236771032214166)?((B03<=0.11890156194567682)?((B01<=0.06010104157030583)?((CL_GREEN<=1.042169749736786)?((NDWI<=-0.23202951252460477)?-0.0044:0.1163):0.1413):0.1425):-0.0576):0.1503):0.1436))):((NDVI_RE2<=0.04940356500446797)?-0.0618:0.0554)):0.1548))):((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=1.0000000180025095e-35)?((NDVI_RE1<=-0.04395834915339946)?-0.0842:0.0529):((NBSI<=-0.0158623531460762)?0.095:((CL_GREEN<=1.1074029207229616)?((B02<=0.07335069403052331)?((NDVI_RE2<=-0.020178174600005146)?0.1246:0.0424):0.1469):0.1551))):((B02<=0.10100125148892404)?((B03<=0.12130896002054216)?((NDVI_RE1<=0.16230156272649768)?((B02<=0.0854616090655327)?((CL_GREEN<=1.1749550104141238)?((B04<=0.11542733013629915)?((B02<=0.06695322692394258)?((B01<=0.05210556089878083)?-0.0427:0.052):0.0856):((B01<=0.06250178441405298)?-0.0823:0.0363)):((B01<=0.026533854193985466)?-0.0082:0.143)):0.1173):((B01<=0.016089531593024734)?-0.0024:((CL_GREEN<=1.5666325092315676)?((B02<=0.08375453203916551)?((B03<=0.10374082997441293)?((NDVI<=0.22383354604244235)?0.1872:((B02<=0.07145178690552713)?((B03<=0.09087525680661203)?((B02<=0.062045969069004066)?0.043:0.1158):-0.0457):0.1243)):-0.0387):0.1431):((NBSI<=-0.03064028266817331)?0.0446:0.1546)))):((B04<=0.13762678205966952)?0.0448:-0.0782)):((NBSI<=0.08172456175088884)?((NBSI<=-0.11416723579168318)?0.0154:((NDWI<=-0.26832075417041773)?((B04<=0.16875300556421283)?0.1393:((B02<=0.12602672725915912)?-0.0425:0.1013)):0.1492)):((B04<=0.16457083076238635)?0.1534:((B02<=0.12602672725915912)?((B03<=0.14595153182744983)?0.0818:-0.0745):((B04<=0.206078477203846)?0.1388:0.0529))))))):((NDVI_RE2<=0.0259086424484849)?((NDVI_GREEN<=0.019943750463426117)?-0.0702:((NDVI_RE2<=-0.014129589777439831)?((NDVI_GREEN<=0.15965215116739276)?((B02<=0.08462265878915788)?0.0119:0.1382):0.142):((B02<=0.0863718129694462)?((NDVI_GREEN<=0.4071627408266068)?((NDVI_RE1<=0.13042353838682177)?-0.0284:((B04<=0.11872766539454462)?((B02<=0.06641361862421037)?0.0197:0.1283):-0.0553)):0.1352):((NBSI<=-0.04123667068779468)?0.0516:0.1321)))):((B02<=0.08825982362031938)?((NDVI_RE1<=0.26976308226585394)?((B01<=0.05780416540801526)?((CL_GREEN<=1.8539234399795534)?((B02<=0.05987116321921349)?-0.0708:((B04<=0.11115099862217905)?((B02<=0.07397386431694032)?-0.0049:0.1136):-0.0761)):((B04<=0.07890156283974649)?-0.0394:0.1136)):((CL_GREEN<=1.6020361185073855)?-0.0135:0.1011)):((NDVI_RE2<=0.07118295878171922)?((B03<=0.10225127264857294)?0.1183:0.0151):((NDVI<=0.388244241476059)?0.1315:((B01<=0.04006053507328034)?-0.0497:0.0203)))):((B02<=0.11180123314261438)?((B04<=0.140363022685051)?((B01<=0.07330237701535226)?((NDVI_RE1<=0.19352612644433978)?0.0626:0.1574):((NDVI_RE2<=0.07553383708000184)?((CL_GREEN<=0.9589622020721437)?0.0092:0.1127):-0.0186)):-0.0453):((NBSI<=-0.09295503050088881)?0.0143:((B01<=0.09590333327651025)?0.137:((NDVI<=0.12253540009260179)?0.153:((NDVI_RE2<=0.07340229302644731)?0.0883:0.0092)))))))):((B02<=0.07892440259456636)?((NDVI_RE2<=-0.008495850022882221)?((STI<=1.5638485550880434)?((NDVI_GREEN<=0.20878544449806216)?-0.0634:((CL_GREEN<=2.007213354110718)?((B02<=0.05352944880723954)?-0.0016:0.1087):((B02<=0.027545070275664333)?0.0369:0.1465))):((NDVI_GREEN<=0.4002904891967774)?-0.0828:((B04<=0.04925694130361081)?-0.0662:((CL_GREEN<=2.999461174011231)?0.0255:0.1524)))):((STI<=1.5145724415779116)?((NDVI_RE2<=0.061908105388283736)?((CL_GREEN<=2.0460765361785893)?((NDVI_RE1<=0.2199927791953087)?-0.0703:((NDVI_RE2<=0.02484106365591288)?0.047:-0.0435)):((B02<=0.037773763760924346)?-0.0305:((CL_GREEN<=2.4619406461715703)?0.0581:0.1519))):((NBSI<=-0.004328125156462192)?-0.0614:-0.0915)):((STI<=1.711329221725464)?((NDVI_RE2<=0.05279555544257165)?((NDVI_RE1<=0.3111631870269776)?-0.0805:((NDVI_RE2<=0.014734667725861074)?0.0354:-0.0533)):-0.0927):-0.0968))):((NDVI_GREEN<=0.36980699002742773)?((NBSI<=-0.09835395589470862)?((CL_GREEN<=0.582307130098343)?0.0202:-0.0588):((NDVI_GREEN<=1.0000000180025095e-35)?-0.0869:((NDVI_RE2<=-0.004883837886154651)?0.1327:((B02<=0.1136087253689766)?((NDVI_RE1<=0.22271386533975604)?-0.0362:((STI<=1.4931351542472842)?0.1154:0.0003)):((CL_GREEN<=0.5477968752384187)?((NDVI_RE1<=0.06500556692481042)?0.0662:0.1519):((NDVI_RE1<=0.19872817397117618)?-0.0127:((B01<=0.09880064427852632)?0.1481:0.0367))))))):((NDVI_RE2<=0.03356181643903256)?((NDVI_RE2<=0.019403125159442428)?0.1367:0.0476):((STI<=1.5145724415779116)?((NDVI_RE1<=0.26976308226585394)?-0.0818:((NDVI_GREEN<=0.42044702172279363)?((B01<=0.0809035710990429)?0.1303:0.0069):-0.0197)):((B01<=0.05917573533952237)?((NDVI_RE1<=0.3412813544273377)?-0.077:((NDVI<=0.524212807416916)?0.1207:-0.0589)):-0.0871)))));
 }
 
 
 function pt6(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4025800824165346)?((STI<=1.3073941469192507)?((STI<=1.2066099643707278)?((NDVI_RE2<=0.026892334222793583)?((NDVI_GREEN<=-0.03240991197526454)?0.0396:((NBSI<=-0.06015141680836677)?0.0676:0.1425)):((B02<=0.11945968493819238)?((B03<=0.14197602868080142)?((B04<=0.05486043356359006)?((B04<=0.031032030470669273)?-0.0547:0.0457):((NDVI_GREEN<=0.3632450103759766)?((B02<=0.09706594422459604)?((B03<=0.1177211031317711)?((B02<=0.08290749788284303)?((B03<=0.10085071623325349)?((B02<=0.06914090365171434)?((B03<=0.08682929351925851)?0.0874:-0.0439):0.1247):-0.0448):0.1353):-0.0628):0.1341):0.1403)):((NDVI_RE2<=0.054541453719139106)?-0.0766:0.0258)):((NDWI<=-0.19126347452402112)?((B04<=0.206078477203846)?0.1358:((B02<=0.15203206241130832)?0.0007:0.1252)):0.1471))):((NDVI_RE2<=0.018347216770052913)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0473:((NDVI_RE2<=0.0014408691204153003)?((NDVI_GREEN<=0.1028234362602234)?((B02<=0.09469501301646234)?0.0099:0.1357):0.1385):((B02<=0.11748773232102395)?((NDVI_RE1<=0.13533662259578708)?0.0555:0.1291):0.1388))):((B02<=0.09830220788717271)?((NDVI_RE1<=0.1855014115571976)?((CL_GREEN<=1.2911222577095034)?((B04<=0.12815856933593753)?((B02<=0.07532335445284845)?((B04<=0.10065773874521257)?((B02<=0.05598873645067216)?-0.0376:0.0469):-0.0703):((NBSI<=0.012637988664209844)?0.0151:0.107)):((B01<=0.07190192490816118)?-0.0727:0.0379)):((B01<=0.030703213997185234)?0.0215:0.1338)):((B03<=0.12130896002054216)?((B04<=0.046161238104105)?-0.0193:((NBSI<=-0.09566875174641608)?-0.0054:((CL_GREEN<=1.7801333069801333)?((B02<=0.08126428350806238)?((B03<=0.10155119001865388)?((NDVI<=0.25857524573802954)?0.1713:((B02<=0.06914090365171434)?0.0509:0.124)):-0.0383):0.1324):0.1414))):-0.0466)):((B02<=0.1362387537956238)?((B04<=0.17341081053018573)?((NBSI<=-0.06015141680836677)?0.0286:((B04<=0.16033466905355456)?0.1316:((B02<=0.11748773232102395)?-0.0301:0.1332))):((NDVI_RE2<=0.061121629551053054)?((B03<=0.15280444175004962)?0.0211:-0.0768):0.0866)):((B01<=0.13050333410501483)?0.1412:((NDVI_GREEN<=0.2424077168107033)?0.1294:0.0119)))))):((NDVI_RE2<=0.04080356471240521)?((NDVI_GREEN<=0.019943750463426117)?-0.0713:((CL_GREEN<=1.6211632490158083)?((B02<=0.08290749788284303)?((NDVI_RE2<=-0.030343847349286076)?0.0985:((B03<=0.10295885428786279)?((B02<=0.06747563928365709)?((B03<=0.08112240210175516)?((B02<=0.05420923046767712)?((NBSI<=-0.011138135101646183)?0.0428:-0.0533):0.0569):-0.0788):0.0837):-0.0855)):((NDVI_RE2<=0.01345981424674392)?0.1282:((B02<=0.10841339081525804)?((B04<=0.13617416471242907)?((NDVI_RE1<=0.16740146279335025)?0.0368:0.1399):-0.0585):0.1149))):((B04<=0.042669437825679786)?0.0246:((NBSI<=-0.01814477518200874)?0.0614:0.1408)))):((B02<=0.08825982362031938)?((NDVI_RE1<=0.2820406258106232)?((B01<=0.05870738439261914)?-0.0591:-0.0178):((B03<=0.053072396665811546)?-0.056:((NBSI<=-0.137158989906311)?-0.0684:((B03<=0.10613397508859636)?((B02<=0.06914090365171434)?((CL_GREEN<=2.312042117118836)?0.0166:0.1245):0.1465):-0.025)))):((NBSI<=0.06949682533740999)?((NBSI<=-0.12181713804602622)?-0.0271:((NDVI<=0.20123964548110965)?0.1304:((NDVI_RE1<=0.18821440637111667)?-0.0025:((NDVI_GREEN<=0.32538090646266943)?0.129:((NDVI_RE1<=0.24357885867357257)?-0.0044:((B04<=0.13083866983652118)?0.1307:0.0667)))))):-0.011)))):((B02<=0.07892440259456636)?((NDVI_RE2<=-0.027574169449508187)?((STI<=1.655646860599518)?((NDVI_GREEN<=0.20415727794170382)?-0.0652:((NDVI_RE2<=-0.07358540222048758)?0.1336:((B04<=0.06953524425625802)?0.0216:0.1001))):((NDVI_GREEN<=0.41711547970771795)?-0.0849:((STI<=1.8337879776954653)?0.0447:-0.0801))):((NDVI_RE2<=0.04852749034762383)?((STI<=1.556247413158417)?((CL_GREEN<=2.026760339736939)?((B02<=0.062045969069004066)?-0.0673:((B03<=0.09692708402872087)?((NDVI_RE1<=0.14740498363971713)?-0.0386:0.0539):-0.075)):((B04<=0.05564841628074647)?-0.0335:((CL_GREEN<=2.6867834329605107)?((B02<=0.04817561432719231)?-0.0293:0.092):0.1458))):((STI<=1.7165268659591677)?((CL_GREEN<=2.5287857055664067)?-0.0786:((B02<=0.04629509150981904)?-0.0611:0.0261)):-0.0931)):((STI<=1.5405033230781557)?((NBSI<=0.0021754394983872776)?-0.063:-0.0899):-0.0944))):((NDVI_GREEN<=0.39020498096942907)?((NBSI<=-0.12181713804602622)?-0.0493:((B02<=0.1483290269970894)?((NDVI_RE1<=0.26976308226585394)?((NDVI_RE2<=0.018347216770052913)?((NDVI_GREEN<=0.11712084710597993)?-0.0686:((NBSI<=-0.04123667068779468)?0.0003:0.1168)):((NDVI_RE1<=0.22271386533975604)?((CL_GREEN<=0.7383229434490205)?-0.0074:-0.0688):((NDVI<=0.3413531184196473)?0.0739:-0.0297))):((NDVI<=0.39265298843383795)?0.1609:0.0472)):((CL_GREEN<=0.8014940321445466)?((B01<=0.10538072511553766)?0.1495:((B02<=0.258557140827179)?0.0409:0.1392)):((B01<=0.08758090808987619)?0.13:-0.0217)))):((NDVI_RE2<=0.04940356500446797)?((NDVI_RE2<=0.019403125159442428)?0.1263:0.0154):((STI<=1.5601074099540713)?((NDVI_RE1<=0.2968018054962159)?-0.0828:((B01<=0.06993363052606584)?((NDVI_GREEN<=0.45268544554710394)?0.1352:-0.0002):-0.0441)):-0.0847))));
 }
 
 
 function pt7(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4025800824165346)?((STI<=1.268606245517731)?((NDVI_RE2<=0.023771240375936035)?((NDVI_GREEN<=-0.09261362254619597)?-0.0602:((NBSI<=-0.06015141680836677)?0.0628:((STI<=1.159477770328522)?0.1357:((NDVI_GREEN<=0.03403227590024472)?((B02<=0.12826388329267505)?-0.0388:0.1439):((NDVI_RE2<=0.004309716634452344)?0.1314:((B02<=0.12162440270185472)?((B03<=0.13805885612964633)?((NDVI_RE1<=0.10350712761282922)?((B01<=0.06570217385888101)?0.0322:0.1093):0.1241):-0.034):0.13)))))):((B02<=0.1136087253689766)?((B03<=0.1363918632268906)?((STI<=1.159477770328522)?((NBSI<=-0.004328125156462192)?0.0236:((CL_GREEN<=0.8622690439224244)?((B02<=0.09242625162005426)?((B03<=0.11042871326208116)?0.1008:-0.0535):0.1263):0.1307)):((NDVI_RE1<=0.15733867138624194)?((B02<=0.09469501301646234)?((B03<=0.11042871326208116)?((B02<=0.07746390625834466)?((NDVI_GREEN<=0.38688954710960394)?((B03<=0.09293205291032793)?((B01<=0.04602217674255372)?((B02<=0.062045969069004066)?-0.042:0.0661):0.0649):-0.0777):0.1055):0.1055):-0.0685):0.1031):((NBSI<=-0.11416723579168318)?-0.0361:((B02<=0.09469501301646234)?((B03<=0.1166234314441681)?((B01<=0.015094875358045103)?0.0095:((CL_GREEN<=1.4950801730155947)?((B02<=0.07964422553777696)?((B03<=0.09755014628171922)?((NDVI<=0.22383354604244235)?0.1565:0.0679):-0.0226):0.1209):0.1295)):-0.042):0.1311)))):((NDVI_RE2<=0.06582656130194665)?-0.0779:0.0615)):((NDWI<=-0.23202951252460477)?((B04<=0.188202939927578)?((B01<=0.12083030492067338)?0.1292:0.0667):((NDVI_RE2<=0.05279555544257165)?((B02<=0.15203206241130832)?((B03<=0.17087922245264056)?0.0618:-0.0919):0.1048):0.1004)):0.1329))):((NDVI_RE2<=0.03720214776694775)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0741:((NDVI_RE2<=1.0000000180025095e-35)?((NDVI_GREEN<=0.15430385619401935)?((NDWI<=-0.15374783426523206)?-0.1095:0.102):((B04<=0.054040942341089256)?((NDVI_RE2<=-0.046895459294319146)?0.1116:0.0318):0.1231)):((B02<=0.11180123314261438)?((NDVI_RE1<=0.16740146279335025)?((NDVI_GREEN<=0.3632450103759766)?((B02<=0.06544505059719087)?-0.0462:((B04<=0.14187757670879367)?((B02<=0.0854616090655327)?((B03<=0.09293205291032793)?0.0733:-0.0665):0.0687):-0.0719)):((B01<=0.03796046972274781)?-0.0074:0.1269)):((B03<=0.13456431776285174)?((B02<=0.08825982362031938)?((B03<=0.10954647883772851)?((NDVI_GREEN<=0.4237182587385178)?((B02<=0.07466711848974229)?((B04<=0.09552817419171335)?0.0735:-0.0276):0.1263):0.1257):-0.0467):0.1335):-0.0719)):0.1162))):((B02<=0.08923896774649621)?((NDVI_RE1<=0.26976308226585394)?((STI<=1.328301548957825)?((NDVI_RE1<=0.18821440637111667)?-0.038:((B03<=0.11139115691184999)?((NDVI<=0.28087069094181066)?0.128:((NDVI_RE2<=0.06818032264709474)?0.0684:-0.0158)):-0.0843)):-0.0569):((B03<=0.04506506584584714)?-0.0581:((STI<=1.3494046330451968)?((NBSI<=-0.07681557536125182)?0.0057:0.0988):((NDVI_RE2<=0.07757026329636575)?((B03<=0.10155119001865388)?0.0896:-0.0148):-0.0176)))):((NBSI<=-0.14492363482713697)?-0.0471:((NBSI<=0.07113593816757204)?((NDVI_GREEN<=0.2901624888181687)?((B03<=0.14595153182744983)?((NDVI_RE1<=0.1855014115571976)?0.0333:0.1334):0.1249):((NDVI_RE1<=0.21733164042234424)?0.0112:((B01<=0.10719124972820283)?((NDWI<=-0.36610218882560724)?((B04<=0.13617416471242907)?0.1121:((B02<=0.11010277643799783)?-0.0443:0.0811)):0.1272):0.0178))):((CL_GREEN<=0.6146293580532075)?0.0882:((B04<=0.1530156880617142)?0.0549:-0.0345))))))):((NDWI<=-0.46482843160629267)?((NDVI_RE2<=0.004309716634452344)?((STI<=1.6849821805953982)?((B04<=0.04453385435044766)?-0.0083:((NDVI_GREEN<=0.4719956517219544)?0.038:0.1265)):((B04<=0.058986071497201926)?-0.08:0.0338)):((STI<=1.5111154317855837)?((NDVI_RE2<=0.06582656130194665)?((CL_GREEN<=2.2291829586029057)?-0.0359:((B02<=0.03335136361420155)?-0.041:0.0922)):((NBSI<=-0.006625537062063812)?-0.058:-0.0904)):-0.0921)):((B02<=0.09350283071398736)?((NDVI_RE2<=-0.05119062401354312)?((NDVI_GREEN<=0.1486560553312302)?-0.0783:((STI<=1.6849821805953982)?((B02<=0.04790055193006993)?0.0504:0.1274):-0.05)):((B02<=0.062045969069004066)?-0.0776:((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=0.2692397832870484)?((B03<=0.07943841442465784)?0.0325:-0.0719):((NBSI<=-0.05469789914786815)?-0.0338:((B03<=0.10696838796138765)?((B02<=0.07269713282585145)?((B03<=0.08900079876184465)?0.1212:-0.0253):0.1502):0.0075))):((NDVI_RE1<=0.2845685034990311)?-0.0688:((STI<=1.579504191875458)?((NDVI_RE1<=0.31373408436775213)?-0.02:((NBSI<=-0.11939819529652594)?-0.0491:0.1245)):-0.0736))))):((NBSI<=-0.12451176717877387)?((CL_GREEN<=0.582307130098343)?0.0161:-0.067):((B02<=0.23761110752820971)?((B01<=0.07616676390171052)?((NDVI_RE1<=0.28695434331893926)?((NDVI_GREEN<=0.366509422659874)?((STI<=1.5638485550880434)?((NDVI_RE1<=0.1855014115571976)?0.0485:0.1251):-0.0016):((NDVI_RE2<=0.05863818340003491)?0.0478:-0.0788)):0.1381):((NDVI_RE2<=0.060275439172983176)?((STI<=1.5074455142021181)?((NDVI_RE1<=0.14740498363971713)?0.0183:0.0851):-0.0189):((NDVI_GREEN<=0.2901624888181687)?0.042:-0.0517))):0.1265))));
 }
 
 
 function pt8(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4128364324569704)?((STI<=1.3073941469192507)?((STI<=1.189230799674988)?((B04<=0.048229355365037925)?((NDVI_RE2<=0.054541453719139106)?0.0746:-0.022):((NDVI_RE2<=0.019403125159442428)?0.1272:((NDWI<=-0.19126347452402112)?((CL_GREEN<=1.0568392276763918)?((NDVI_RE1<=0.11591762676835062)?((STI<=1.102627217769623)?0.1088:((B01<=0.07767129316926004)?((NBSI<=0.11122929677367212)?0.0621:((NDVI<=0.17860116809606555)?-0.0442:0.0667)):((B04<=0.1920449957251549)?0.1013:-0.0068))):((NDWI<=-0.26025655865669245)?((NDVI_RE1<=0.15494769811630252)?((STI<=1.1331367492675783)?0.1037:((NDVI<=0.23066874593496325)?-0.0043:0.0784)):0.1089):0.1215)):0.1246):0.1281))):((NDVI_RE2<=0.014734667725861074)?((NDVI_GREEN<=-0.03240991197526454)?-0.0605:((NDVI_GREEN<=0.05895834974944592)?((NDWI<=-0.0505495723336935)?-0.0508:0.1294):((NBSI<=-0.0158623531460762)?0.0644:0.1181))):((B02<=0.11180123314261438)?((NDVI_RE1<=0.17773559689521792)?((B03<=0.13128144294023517)?((B02<=0.09029246866703035)?((CL_GREEN<=1.2069053053855898)?((B04<=0.12100714072585107)?((B02<=0.06695322692394258)?((B03<=0.0775275230407715)?((B02<=0.054901514202356345)?((NDVI_GREEN<=0.07861664891242982)?-0.0974:((B03<=0.06510064005851747)?0.0123:-0.0745)):0.0645):-0.0799):0.0624):((B01<=0.06870217248797418)?-0.0789:0.0375)):((B01<=0.023654616437852386)?-0.0237:0.1049)):((NBSI<=0.006308300886303187)?0.01:0.1026)):-0.0797):((B03<=0.13456431776285174)?((NBSI<=-0.12716748565435407)?-0.0431:((NDVI_RE2<=0.04520156234502793)?0.1185:((B02<=0.08825982362031938)?((B03<=0.1123677045106888)?((B02<=0.020375595428049568)?-0.0395:((NDVI_RE1<=0.24095068871974948)?((NDVI<=0.2409009709954262)?0.1473:0.0358):0.0999)):-0.0692):0.1115))):-0.0416)):((NBSI<=-0.07408061623573302)?0.0402:((NBSI<=0.06770746782422067)?0.1175:((B04<=0.18158413469791415)?0.1197:((B02<=0.14200919866561892)?((B03<=0.16719687730073932)?0.0487:-0.0887):0.0975))))))):((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.019943750463426117)?-0.0685:((NDVI_RE2<=0.009643310680985452)?((CL_GREEN<=1.375707507133484)?((B02<=0.07335069403052331)?((NDVI_RE2<=-0.04296430572867393)?0.0719:-0.007):((NBSI<=-0.03064028266817331)?0.0348:0.1109)):((B01<=0.02584267780184746)?0.0436:0.1183)):((NDVI_RE1<=0.19872817397117618)?((B02<=0.1136087253689766)?((NDVI_GREEN<=0.38688954710960394)?((B02<=0.0767515152692795)?-0.0489:((B04<=0.14341483265161517)?0.0385:-0.0724)):((B02<=0.048453634604811675)?-0.0203:0.108)):0.0898):((NDWI<=-0.3303243368864059)?((NDVI_RE1<=0.24095068871974948)?((NDVI_GREEN<=0.41711547970771795)?0.0093:0.1002):((NBSI<=-0.04382646642625331)?0.031:0.1116)):0.1265)))):((B02<=0.08043431490659715)?((NDVI_RE1<=0.28695434331893926)?((STI<=1.3442766666412356)?-0.0322:-0.0641):((NDVI_RE2<=0.09692553430795671)?((B03<=0.10015683248639108)?((NBSI<=-0.09566875174641608)?-0.0335:0.0934):-0.0397):((NDWI<=-0.48958915472030634)?-0.0517:0.0469))):((NBSI<=0.07287250831723215)?((NBSI<=-0.131990872323513)?-0.0369:((B02<=0.12162440270185472)?((NDVI_RE1<=0.24615854024887088)?((B01<=0.07260294258594514)?((NDVI_GREEN<=0.3287046849727631)?0.0861:-0.008):-0.025):((B04<=0.13083866983652118)?0.1047:((B02<=0.10380454733967782)?-0.0438:0.0904))):((B01<=0.11577638983726503)?0.1154:((NDVI_GREEN<=0.17040834575891498)?0.1239:0.0049)))):-0.0272)))):((NDWI<=-0.483373612165451)?((NDVI_RE2<=0.009643310680985452)?((STI<=1.7272866964340212)?((NDVI_GREEN<=0.47512090206146246)?-0.064:((B04<=0.04111291654407979)?-0.007:0.1068)):-0.0778):((STI<=1.556247413158417)?((NDVI_RE2<=0.061908105388283736)?((CL_GREEN<=2.2291829586029057)?-0.0526:((B02<=0.036480307579040534)?-0.0445:((CL_GREEN<=2.6867834329605107)?0.0326:0.1304))):((NBSI<=-0.038366064429283135)?-0.0618:-0.0891)):-0.0915)):((B02<=0.08923896774649621)?((NDVI_RE2<=-0.05119062401354312)?((NDVI_GREEN<=0.1903062537312508)?-0.0696:((STI<=1.7432169914245608)?((B02<=0.04107515886425973)?0.0239:0.1098):-0.0647)):((B02<=0.062045969069004066)?((STI<=1.5522618889808657)?((CL_GREEN<=1.9693871736526491)?-0.0718:0.0093):-0.0852):((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.3321822881698609)?((STI<=1.5330533981323244)?((NDVI_RE1<=0.15246459841728213)?-0.0427:0.0574):-0.0761):((STI<=1.6223055720329287)?((B03<=0.10374082997441293)?0.1041:0.0027):-0.0352)):((B04<=0.10920166596770288)?((STI<=1.5405033230781557)?((NDVI_RE1<=0.3111631870269776)?((NDVI_RE2<=0.0674010254442692)?-0.016:-0.0679):((NBSI<=-0.10381503775715827)?-0.0255:0.1303)):-0.07):-0.0834)))):((NBSI<=-0.13460346311330793)?((CL_GREEN<=0.49697320163249975)?0.0148:-0.0692):((B02<=0.195649228990078)?((NDVI_RE2<=0.05032836832106114)?((NDVI_GREEN<=0.048014063388109214)?-0.0788:((NDVI_RE2<=-0.01029687514528632)?0.1174:((STI<=1.5522618889808657)?((NDVI_RE1<=0.18821440637111667)?0.0159:0.0934):-0.0175))):((NDVI_RE1<=0.29918809235095983)?((B02<=0.13355100154876712)?-0.0575:((B01<=0.08452363684773447)?0.0861:-0.0125)):((NDVI<=0.4339026361703873)?0.1291:((B01<=0.0836017392575741)?0.0455:-0.0566)))):((CL_GREEN<=0.6298143267631532)?0.1181:0.0091)))));
 }
 
 
 function pt9(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4128364324569704)?((STI<=1.277985453605652)?((STI<=1.155143976211548)?((B04<=0.04925694130361081)?((NBSI<=0.14684223383665088)?0.0097:0.0961):((NDVI_RE2<=0.0298055661842227)?0.1214:((NDWI<=-0.1865568086504936)?((NDWI<=-0.3378017991781234)?0.119:((NDVI_RE1<=0.1110069826245308)?((STI<=1.0775709152221682)?0.1146:((B01<=0.07616676390171052)?((NBSI<=0.11122929677367212)?0.0742:((B04<=0.1198597624897957)?0.0539:-0.0477)):0.074)):0.1015)):0.123))):((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=-0.03240991197526454)?-0.0488:((NBSI<=-0.03064028266817331)?0.062:((NDVI_GREEN<=0.048014063388109214)?((B02<=0.13355100154876712)?-0.0307:0.1285):0.1134))):((B02<=0.1136087253689766)?((B03<=0.13456431776285174)?((NDVI_RE1<=0.1425707042217255)?((B02<=0.09137656167149545)?((CL_GREEN<=1.042169749736786)?((B03<=0.10696838796138765)?((B02<=0.07532335445284845)?((B04<=0.10242559760808946)?((NDVI_GREEN<=0.03403227590024472)?-0.099:((B02<=0.054901514202356345)?((B03<=0.055793933570384986)?0.0405:-0.0684):0.0595)):-0.0703):0.0798):-0.0843):((B01<=0.029125235043466095)?-0.0231:0.1174)):((B03<=0.12671381235122683)?((NBSI<=0.03750415146350861)?0.0338:0.12):0.0195)):((NBSI<=-0.09835395589470862)?-0.027:((B02<=0.09469501301646234)?((B03<=0.1166234314441681)?((CL_GREEN<=1.3918286561965945)?((B02<=0.08043431490659715)?((B03<=0.09692708402872087)?((NDVI<=0.20426249504089358)?0.1501:((B02<=0.06914090365171434)?((B03<=0.08637938648462297)?0.0452:-0.0488):0.0962)):-0.0367):0.1046):((B01<=0.015094875358045103)?-0.0113:0.1115)):-0.0442):0.115))):((B04<=0.1530156880617142)?0.0452:-0.079)):((NDVI_GREEN<=0.23021430522203448)?0.1166:((B04<=0.188202939927578)?((B01<=0.11804364994168283)?0.1142:0.0472):((B02<=0.1483290269970894)?((B03<=0.17489226162433627)?0.0309:-0.0986):((B01<=0.11804364994168283)?0.1175:0.0193))))))):((NDVI_RE2<=0.036325341090559966)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0731:((NDVI_RE2<=-0.014129589777439831)?((NDVI_GREEN<=0.16518501192331317)?((NDWI<=-0.15949146449565885)?-0.0562:0.0952):((NBSI<=-0.02051328122615814)?0.0411:0.1104)):((NDVI_RE1<=0.15980155766010287)?((B02<=0.11945968493819238)?((CL_GREEN<=1.1749550104141238)?((B02<=0.08462265878915788)?((B03<=0.09755014628171922)?((B02<=0.06747563928365709)?-0.0438:0.0462):-0.0915):((B04<=0.1530156880617142)?0.0507:-0.0748)):((B02<=0.048453634604811675)?-0.0153:0.099)):0.0953):((NDWI<=-0.29761244356632227)?((NDVI_RE1<=0.20400156080722812)?((CL_GREEN<=1.375707507133484)?0.0066:((B01<=0.044493541121482856)?0.0213:0.1071)):((NBSI<=-0.0574966799467802)?0.0052:0.0988)):0.1214)))):((B02<=0.09706594422459604)?((NBSI<=0.07468403503298761)?((NDVI_RE1<=0.2794806510210038)?((STI<=1.3334583044052126)?0.0141:-0.031):((NBSI<=-0.12716748565435407)?-0.0552:((NDWI<=-0.43324717879295344)?((B01<=0.05278799310326577)?((NDVI_RE2<=0.05946547910571099)?0.085:-0.0062):((B03<=0.10865565389394762)?0.1001:-0.0065)):0.1089))):((STI<=1.3334583044052126)?((CL_GREEN<=1.3918286561965945)?((NDVI_RE1<=0.2199927791953087)?-0.05:0.0393):((B04<=0.06177965365350247)?-0.0497:0.0692)):((NDVI_RE2<=0.06582656130194665)?((NDVI_RE1<=0.23307084292173388)?-0.0544:0.0824):-0.0755))):((NBSI<=-0.10899037867784499)?-0.0081:((NDVI_GREEN<=0.2616051137447358)?((B03<=0.15280444175004962)?((NDVI_RE1<=0.1449263691902161)?0.0064:0.1013):0.1143):((NDVI_RE1<=0.18821440637111667)?-0.0248:((B01<=0.11328282579779626)?((NDWI<=-0.34126207232475275)?((NDVI_RE1<=0.24357885867357257)?-0.0125:0.095):0.1119):0.0158))))))):((NDWI<=-0.483373612165451)?((NDVI_RE2<=0.01345981424674392)?((B04<=0.05248837918043137)?((NDVI_RE2<=-0.09178124740719794)?0.0696:((STI<=1.5330533981323244)?0.014:-0.0791)):((NDVI_GREEN<=0.49078124761581426)?0.0089:0.0993)):((STI<=1.556247413158417)?((NDVI_RE2<=0.07118295878171922)?((CL_GREEN<=2.2706036567687993)?-0.0511:((B02<=0.036480307579040534)?-0.0455:((CL_GREEN<=2.802366733551026)?0.0226:0.1314))):((NBSI<=-0.038366064429283135)?-0.0619:-0.0886)):-0.0903)):((B02<=0.09830220788717271)?((NDVI_RE2<=-0.046895459294319146)?((NDVI_GREEN<=0.1486560553312302)?-0.0758:((STI<=1.6510215997695925)?((B02<=0.04085050895810128)?0.021:0.1046):-0.0342)):((B02<=0.06695322692394258)?((CL_GREEN<=1.9890109300613406)?-0.0759:((NBSI<=-0.03306982293725013)?-0.0803:0.0063)):((NDVI_RE2<=0.03075048886239529)?((STI<=1.6271931529045107)?((CL_GREEN<=1.5292562246322634)?((B03<=0.09692708402872087)?0.0467:-0.0288):0.0866):-0.0651):((NDVI_RE1<=0.3111631870269776)?((B04<=0.11763518676161767)?-0.0527:-0.084):((NBSI<=-0.11939819529652594)?-0.0699:((NDVI_RE1<=0.3515253961086274)?((NDWI<=-0.4459864348173141)?-0.0318:0.0794):0.1523)))))):((NBSI<=-0.13460346311330793)?((CL_GREEN<=0.49697320163249975)?0.023:-0.0664):((B02<=0.23761110752820971)?((B01<=0.07538722828030588)?((NDVI_RE1<=0.2542502880096436)?((NDVI_GREEN<=0.3219416439533234)?0.0716:-0.0385):0.1086):((NDVI_RE2<=0.05200981348752976)?((STI<=1.5074455142021181)?0.0475:-0.0134):((NDVI_GREEN<=0.2901624888181687)?0.0353:-0.0419))):0.1093))));
 }
 
 
 function pt10(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4174937605857851)?((STI<=1.3073941469192507)?((STI<=1.2066099643707278)?((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=-0.03240991197526454)?0.0172:((NBSI<=-0.01814477518200874)?0.0676:0.1155)):((B02<=0.12826388329267505)?((B03<=0.15046904236078265)?((NBSI<=-0.05184789933264255)?-0.0118:((CL_GREEN<=1.0738403201103213)?((B02<=0.10236771032214166)?((B03<=0.12400087714195253)?((B02<=0.0863718129694462)?((B03<=0.10450260713696481)?((B02<=0.07532335445284845)?((B03<=0.09513485059142114)?((B01<=0.05076291598379613)?((NDVI_RE1<=0.12325952202081682)?((STI<=1.1239394545555117)?0.064:-0.0273):0.0777):0.0978):-0.0429):0.1072):((NDVI_GREEN<=0.32538090646266943)?-0.0761:0.0505)):0.1077):-0.0705):0.1089):((B01<=0.01703985314816237)?0.0095:0.1133))):-0.0592):0.1137)):((B02<=0.11748773232102395)?((NDVI_RE2<=0.0056984375696629294)?((NDVI_GREEN<=0.1028234362602234)?-0.0197:((NBSI<=0.0021754394983872776)?0.0456:0.1076)):((NDVI_RE1<=0.18821440637111667)?((B03<=0.14000078290700915)?((B02<=0.09584409743547441)?((CL_GREEN<=1.307526767253876)?((B03<=0.11554257199168207)?((B02<=0.07532335445284845)?((B03<=0.09087525680661203)?((B02<=0.06251833587884904)?((B01<=0.051775379106402404)?((B03<=0.07312709465622903)?((B02<=0.04987338557839394)?-0.0429:0.0472):-0.0833):0.0435):0.0514):-0.0825):((B03<=0.10696838796138765)?((NBSI<=0.012637988664209844)?0.007:0.0898):((B02<=0.08729497343301774)?-0.068:0.0821))):-0.0813):((B01<=0.024907275103032592)?-0.0067:0.1023)):((NBSI<=-0.0021980956662446256)?0.0091:0.0906)):-0.0836):((NBSI<=-0.10899037867784499)?-0.0256:((B03<=0.14000078290700915)?((NDVI_RE2<=0.054541453719139106)?0.1019:((NDVI<=0.265802875161171)?0.1242:((NDVI_RE1<=0.22544038295745852)?((NDWI<=-0.35202291607856745)?-0.0141:0.0662):((B02<=0.02932502701878548)?-0.027:0.0794)))):-0.0335)))):((NBSI<=-0.11147890612483023)?-0.0025:((NDVI_GREEN<=0.2503023892641068)?0.1109:((B04<=0.1920449957251549)?((B01<=0.13050333410501483)?0.1077:0.0192):((B02<=0.14508166909217837)?-0.0225:0.0652)))))):((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=0.05895834974944592)?((B02<=0.12602672725915912)?-0.0685:0.0809):((B01<=0.038984343409538276)?((CL_GREEN<=1.8726328015327456)?((B02<=0.060750473290681846)?-0.0219:0.0696):0.0845):((CL_GREEN<=1.375707507133484)?((B02<=0.0767515152692795)?((B03<=0.08900079876184465)?((B02<=0.0649135932326317)?((B03<=0.06695700064301492)?0.0468:-0.0402):0.0982):-0.0591):((NBSI<=-0.04123667068779468)?0.0182:0.0964)):((NBSI<=-0.01814477518200874)?0.0297:0.111)))):((B02<=0.0854616090655327)?((NDVI_RE1<=0.2820406258106232)?((NDVI_RE2<=0.05946547910571099)?((CL_GREEN<=1.6211632490158083)?((B03<=0.10696838796138765)?((B02<=0.07027230039238931)?-0.0484:0.0443):-0.0871):((B04<=0.061308072879910476)?-0.0323:0.0764)):((NBSI<=0.07287250831723215)?-0.036:-0.0681)):((NDVI_RE2<=0.07757026329636575)?((NBSI<=-0.07408061623573302)?-0.016:((B03<=0.10085071623325349)?0.1083:0.0067)):((NDVI<=0.40986122190952307)?0.0939:((NBSI<=0.06257182359695436)?-0.0127:-0.077)))):((B02<=0.12826388329267505)?((B04<=0.15848452597856524)?((B01<=0.0792653150856495)?((B02<=0.09706594422459604)?((B04<=0.13083866983652118)?0.0868:-0.0624):0.0994):((NDVI_RE2<=0.0627037100493908)?((NDVI_RE1<=0.15733867138624194)?-0.0253:0.0681):-0.0266)):-0.0514):((B01<=0.12083030492067338)?0.0987:((NDVI<=0.10988955199718477)?0.1089:0.0004)))))):((NDWI<=-0.483373612165451)?((NDVI_RE2<=0.01345981424674392)?((STI<=1.737760901451111)?((NDVI_GREEN<=0.4719956517219544)?-0.0702:((B04<=0.04017614573240281)?-0.0143:0.0869)):-0.0768):((STI<=1.556247413158417)?((NDVI_RE2<=0.07118295878171922)?((CL_GREEN<=2.2291829586029057)?-0.0534:((B01<=0.025150372646749023)?-0.0578:((CL_GREEN<=2.8502461910247807)?0.0113:0.1053))):((NBSI<=-0.038366064429283135)?-0.0599:-0.0874)):-0.0892)):((B02<=0.07466711848974229)?((NDVI_RE2<=-0.07358540222048758)?((NDVI_GREEN<=0.22598373889923098)?-0.0517:((STI<=1.636714577674866)?0.1015:0.0041)):((CL_GREEN<=1.9693871736526491)?((STI<=1.556247413158417)?((NDVI_RE2<=0.019403125159442428)?((NDVI_RE1<=0.12325952202081682)?-0.0686:0.0079):((NDVI_RE1<=0.28695434331893926)?-0.0761:-0.0229)):-0.0813):((STI<=1.613278150558472)?((NDVI_RE2<=0.00286904291715473)?0.0685:-0.0244):-0.0729))):((NDVI_RE2<=0.03264746069908143)?((NDVI_GREEN<=0.048014063388109214)?-0.0696:((NBSI<=-0.05469789914786815)?((STI<=1.613278150558472)?0.0229:-0.0509):((B03<=0.10295885428786279)?0.1286:((B02<=0.08923896774649621)?-0.0181:0.0771)))):((CL_GREEN<=0.582307130098343)?((B04<=0.21223857253789905)?0.0249:0.1108):((NDVI_RE1<=0.2593447864055634)?((CL_GREEN<=0.9106562435626985)?((NDVI_RE1<=0.19087333977222445)?-0.0639:((NDVI<=0.29212152957916265)?0.1029:-0.037)):-0.0741):((NDVI<=0.40986122190952307)?((NDVI_GREEN<=0.4104285687208176)?((NDVI_RE1<=0.2944221645593644)?((NDVI<=0.3622031211853028)?0.115:0.0049):0.1336):-0.0514):((STI<=1.5638485550880434)?((NDVI_RE1<=0.30630499124526983)?-0.0536:((B01<=0.08272583410143854)?0.0608:-0.0393)):-0.0672)))))));
 }
 
 
 function pt11(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4222191572189333)?((STI<=1.24541711807251)?((NDVI_RE2<=0.023771240375936035)?((NDVI_GREEN<=-0.09261362254619597)?-0.0571:((NBSI<=-0.0158623531460762)?((B02<=0.12162440270185472)?0.0312:0.1112):((STI<=1.1379083991050722)?0.1132:((NDVI_GREEN<=0.019943750463426117)?0.0231:((CL_GREEN<=0.9420691430568696)?((B02<=0.09242625162005426)?((B03<=0.10781164839863779)?((B02<=0.07145178690552713)?((B03<=0.07912041619420053)?0.0629:-0.0303):0.0985):-0.0947):0.1059):0.1116))))):((B02<=0.12162440270185472)?((B03<=0.1437979191541672)?((STI<=1.1331367492675783)?((NBSI<=0.0225310055539012)?0.0132:0.1004):((NDVI_RE1<=0.15007524192333224)?((B02<=0.09830220788717271)?((B03<=0.11554257199168207)?((B01<=0.05346594378352166)?((B02<=0.08126428350806238)?((NDVI_GREEN<=0.4002904891967774)?((B04<=0.10628765448927881)?((B02<=0.05453062430024148)?-0.0339:0.0636):-0.0693):0.0937):0.1069):((CL_GREEN<=0.8948801755905152)?0.0535:0.1151)):-0.0733):((B04<=0.1565690413117409)?((NBSI<=0.031943602487444885)?0.0316:0.1105):0.0263)):((NBSI<=-0.04929843731224536)?0.0039:((B02<=0.09961602836847307)?((B03<=0.12130896002054216)?((B01<=0.013357031159102918)?0.0075:((CL_GREEN<=1.4082869291305544)?((B02<=0.08462265878915788)?((B03<=0.10450260713696481)?0.0699:-0.0248):0.1034):0.1075)):-0.0347):0.1082)))):((NDVI_RE2<=0.05946547910571099)?-0.0784:0.0394)):((NDWI<=-0.19126347452402112)?((B04<=0.20071819424629214)?((B01<=0.13050333410501483)?0.108:0.0463):((B02<=0.15203206241130832)?((B03<=0.17924222350120547)?0.073:-0.1069):0.0866)):0.1135))):((NDVI_RE2<=0.03171547874808312)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0674:((NDVI_RE2<=-0.03619375079870223)?0.1016:((B02<=0.09350283071398736)?((CL_GREEN<=1.307526767253876)?((B03<=0.1123677045106888)?((B02<=0.07532335445284845)?((B03<=0.08994694426655771)?((B02<=0.059449218213558204)?((B03<=0.06536028906702997)?((B02<=0.045789211988449104)?((NDVI_RE1<=0.12325952202081682)?-0.0598:0.0466):0.0708):-0.0794):((B03<=0.07847819477319719)?0.102:((B02<=0.06801850721240045)?-0.0454:0.0663))):-0.0818):((NDVI_GREEN<=0.15965215116739276)?-0.0013:0.0822)):-0.0868):((B04<=0.05142015591263772)?-0.0135:((NDVI_GREEN<=0.42044702172279363)?((B02<=0.057473082095384605)?0.0119:((B03<=0.11139115691184999)?0.0885:0.0045)):0.107))):((NBSI<=-0.06840727478265761)?0.0022:((B02<=0.12602672725915912)?((B03<=0.1481190919876099)?0.0959:-0.0778):0.105))))):((B02<=0.09137656167149545)?((STI<=1.3494046330451968)?((NDVI_RE1<=0.19872817397117618)?((CL_GREEN<=1.3918286561965945)?((B03<=0.10865565389394762)?((B02<=0.07604226469993593)?-0.042:0.0413):-0.0788):((B04<=0.10065773874521257)?-0.0048:0.1005)):((B03<=0.11554257199168207)?((B04<=0.0585530772805214)?-0.0177:((CL_GREEN<=1.8726328015327456)?((B02<=0.07820178568363191)?((B03<=0.09817888587713243)?((NDVI<=0.2958944290876389)?0.1295:((B02<=0.06160696968436242)?-0.0128:0.0616)):-0.0609):0.0924):0.0921)):-0.0671)):((NBSI<=0.07468403503298761)?((NDVI_RE1<=0.2968018054962159)?-0.0322:((NDVI_RE2<=0.08858139812946321)?0.0557:-0.0205)):((NDVI_RE2<=0.05700195394456387)?((NDVI_RE1<=0.2199927791953087)?-0.0564:0.0729):-0.0751))):((NBSI<=-0.09295503050088881)?((CL_GREEN<=0.3860438466072083)?0.0861:((NDVI_RE1<=0.20400156080722812)?-0.0894:-0.0026)):((B02<=0.11945968493819238)?((B04<=0.1530156880617142)?((B01<=0.06353016197681428)?0.1095:((NDVI_RE1<=0.19872817397117618)?0.0073:((NDVI_RE2<=0.08404052630066873)?0.0849:-0.001))):((B03<=0.13456431776285174)?0.0214:-0.0614)):((B01<=0.11328282579779626)?0.0983:((NDVI<=0.126569040119648)?0.1107:((NDVI_RE2<=0.061121629551053054)?0.053:-0.0109)))))))):((NDWI<=-0.48958915472030634)?((NDVI_RE2<=0.014734667725861074)?((STI<=1.737760901451111)?((NDVI_GREEN<=0.4877449125051499)?-0.0555:((B04<=0.04111291654407979)?-0.0093:0.0853)):-0.0752):((STI<=1.5878992080688479)?((NDVI_RE2<=0.07046616077423097)?((CL_GREEN<=2.4395170211791997)?-0.0472:((B02<=0.03690322861075402)?-0.0436:((NBSI<=-0.08500478416681288)?-0.0218:0.0792))):((NBSI<=-0.04929843731224536)?-0.0627:-0.0865)):-0.0885)):((B02<=0.10680788010358812)?((NDVI_RE2<=-0.03619375079870223)?((NDVI_GREEN<=0.13027084618806842)?-0.0782:((STI<=1.7432169914245608)?((B02<=0.04603585600852967)?((CL_GREEN<=2.4171396493911748)?-0.0202:0.0781):0.0879):-0.066)):((B02<=0.0644010975956917)?((STI<=1.5756281018257143)?((CL_GREEN<=1.9693871736526491)?-0.0679:-0.0082):-0.0817):((NDVI_RE2<=0.03075048886239529)?((NDVI_GREEN<=0.3219416439533234)?((STI<=1.5443180203437807)?((NDVI_RE1<=0.15007524192333224)?-0.0407:0.0428):-0.0743):((NBSI<=-0.1009734384715557)?-0.0584:((NDVI_RE2<=0.01345981424674392)?0.0833:0.0126))):((NDVI_RE1<=0.2845685034990311)?((CL_GREEN<=0.7383229434490205)?-0.0192:-0.0734):((STI<=1.5330533981323244)?((NDVI_GREEN<=0.44000415503978735)?0.053:((NDVI_RE1<=0.3286633342504502)?-0.0518:0.0424)):-0.0581))))):((NBSI<=-0.137158989906311)?-0.0523:((B01<=0.06993363052606584)?0.0861:((B02<=0.23761110752820971)?((STI<=1.5111154317855837)?0.0229:-0.0227):0.0967)))));
 }
 
 
 function pt12(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4222191572189333)?((STI<=1.268606245517731)?((NDVI_RE2<=0.028833837248384956)?((NDVI_GREEN<=-0.09261362254619597)?-0.0577:((STI<=1.159477770328522)?0.1067:((CL_GREEN<=1.042169749736786)?((B02<=0.09350283071398736)?((B03<=0.11042871326208116)?((NDVI_GREEN<=0.0951531268656254)?((NDWI<=-0.0725390464067459)?-0.0765:0.0364):((B02<=0.07145178690552713)?((B03<=0.08364817872643472)?0.0644:-0.0663):0.0934)):-0.0852):((NDWI<=-0.2103619500994682)?((B04<=0.1787202283740044)?0.099:((B02<=0.14508166909217837)?-0.0543:0.0871)):0.1039)):((NBSI<=-1.0000000180025095e-35)?0.0123:0.1063)))):((B02<=0.11945968493819238)?((B03<=0.14197602868080142)?((STI<=1.1379083991050722)?((NBSI<=0.0225310055539012)?0.0136:0.0928):((NDVI_RE1<=0.15494769811630252)?((B02<=0.09706594422459604)?((B03<=0.11334807425737382)?((B02<=0.07964422553777696)?((CL_GREEN<=1.2573242187500002)?((B03<=0.09572583436965944)?((B02<=0.06695322692394258)?((B01<=0.05076291598379613)?((B04<=0.0883004665374756)?((B02<=0.04929724149405957)?-0.0396:0.0746):-0.0749):0.0541):0.0594):-0.075):0.074):0.0792):-0.066):((NBSI<=0.024418457411229614)?0.0043:((B04<=0.1512982100248337)?0.1027:0.0277))):((B04<=0.07759409770369531)?((NDVI_RE2<=0.06427543610334398)?0.0739:-0.0):((NDVI_RE1<=0.19872817397117618)?((NDWI<=-0.30851894617080683)?((CL_GREEN<=1.3241563439369204)?((B01<=0.05740040168166161)?-0.0128:0.0448):0.0955):0.0915):0.09)))):((NDVI_RE2<=0.06507846713066102)?-0.0728:0.0522)):((NDVI_GREEN<=0.21322158724069598)?0.1072:((B01<=0.1390786245465279)?((B04<=0.19600666314363482)?0.0984:((B02<=0.15203206241130832)?((B03<=0.17489226162433627)?0.0737:-0.0721):0.1034)):0.0011)))):((NDVI_RE2<=0.042587891221046455)?((NDVI_GREEN<=-0.03240991197526454)?-0.0805:((CL_GREEN<=1.6020361185073855)?((B02<=0.08462265878915788)?((B03<=0.10295885428786279)?((B02<=0.06641361862421037)?((B03<=0.08180931583046915)?((B02<=0.051948139443993575)?((B03<=0.05867516994476319)?((B02<=0.04174775071442128)?((NBSI<=0.031943602487444885)?0.0343:-0.0478):0.0719):-0.0695):((B03<=0.06670332327485086)?0.1195:((CL_GREEN<=1.0568392276763918)?-0.0329:0.0609))):-0.0759):((B03<=0.09572583436965944)?((NBSI<=0.0225310055539012)?0.0369:0.1045):((B02<=0.07604226469993593)?-0.0543:0.0643))):-0.0761):((NDVI_RE2<=0.012198193464428188)?0.0916:((B02<=0.10680788010358812)?((B03<=0.12671381235122683)?((NDVI_RE1<=0.1255515664815903)?0.0049:0.0961):-0.0773):0.0788))):((B04<=0.04389451071619988)?((NDVI_RE2<=-0.030343847349286076)?0.0541:-0.0463):((NBSI<=-0.04382646642625331)?-0.0069:0.1004)))):((B02<=0.08043431490659715)?((NDVI_RE1<=0.28695434331893926)?((STI<=1.328301548957825)?((B03<=0.10155119001865388)?((NDVI_RE1<=0.17773559689521792)?-0.0354:((NDVI_RE2<=0.06895190477371217)?0.057:((NDVI<=0.2958944290876389)?0.0645:-0.0201))):-0.0773):-0.0537):((NDVI<=0.4056523889303208)?0.118:((NDVI_RE2<=0.09442900493741037)?((B03<=0.10085071623325349)?((NBSI<=-0.09566875174641608)?-0.0418:0.0709):-0.0556):-0.0362))):((CL_GREEN<=0.3071200251579285)?0.1034:((NDVI_RE1<=0.19087333977222445)?((NDVI_GREEN<=0.2761798799037934)?((NDVI_RE1<=0.1255515664815903)?-0.0358:((NBSI<=-0.038366064429283135)?-0.0224:0.0794)):-0.0439):((NDVI_GREEN<=0.3354904800653458)?((NBSI<=-0.08216499164700507)?0.0178:0.1006):((NDVI_RE1<=0.248970702290535)?((B04<=0.13617416471242907)?((NDVI_RE2<=0.08026313409209253)?0.0632:-0.0399):-0.0383):((NBSI<=-0.131990872323513)?-0.0454:((B04<=0.11763518676161767)?0.1012:((NDVI_GREEN<=0.397048830986023)?0.0838:-0.0018)))))))))):((NDWI<=-0.48958915472030634)?((NDVI_RE2<=0.014734667725861074)?((STI<=1.737760901451111)?((NDVI_GREEN<=0.4877449125051499)?-0.0525:((B02<=0.03503150492906571)?0.0131:0.0866)):-0.0733):((STI<=1.5878992080688479)?((NDVI_RE2<=0.07046616077423097)?((CL_GREEN<=2.2291829586029057)?-0.058:((B02<=0.044335504993796356)?-0.0346:0.0268)):((NBSI<=-0.04123667068779468)?-0.0614:-0.0856)):-0.0875)):((B02<=0.07145178690552713)?((NDVI_RE2<=-0.07358540222048758)?((NDVI_GREEN<=0.23021430522203448)?-0.0496:((NDVI<=0.4532062560319901)?0.0893:-0.0065)):((CL_GREEN<=2.087425589561463)?((STI<=1.556247413158417)?((NDVI_RE2<=0.014734667725861074)?((NDVI_RE1<=0.11591762676835062)?-0.0672:0.0107):((NDVI_RE1<=0.28695434331893926)?-0.0734:-0.0268)):-0.0786):((NBSI<=-0.038366064429283135)?-0.0738:((B02<=0.045789211988449104)?-0.0363:0.0645)))):((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.048014063388109214)?-0.0698:((NBSI<=-0.05469789914786815)?-0.0057:((B03<=0.09692708402872087)?0.1266:((B02<=0.08462265878915788)?-0.0015:0.0756)))):((CL_GREEN<=0.6452631950378419)?((B04<=0.19600666314363482)?((NDVI_RE1<=0.15007524192333224)?-0.0398:0.0481):0.0923):((NDVI_RE1<=0.26455278694629675)?((NDVI_RE2<=0.060275439172983176)?((STI<=1.5003421902656557)?-0.0078:-0.0604):-0.0751):((NDVI<=0.40986122190952307)?((NDWI<=-0.419945940375328)?-0.0552:0.0744):((NBSI<=-0.137158989906311)?-0.0703:((NDVI_RE1<=0.35419110953807836)?((STI<=1.5145724415779116)?-0.0038:-0.0558):((B01<=0.06102052703499795)?0.1787:0.0313)))))))));
 }
 
 
 function pt13(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4319351315498354)?((STI<=1.3177593350410464)?((STI<=1.2066099643707278)?((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=-0.03240991197526454)?0.0112:((NBSI<=-0.04382646642625331)?0.0346:0.1027)):((B02<=0.1308928579092026)?((B03<=0.15526540577411654)?((NBSI<=-0.025405615568161007)?0.0008:((STI<=1.102627217769623)?((NBSI<=0.04308964870870114)?0.032:0.1002):((NDVI_RE1<=0.1449263691902161)?((B02<=0.10841339081525804)?((B03<=0.12532094120979312)?((B01<=0.05962087027728558)?((B02<=0.08729497343301774)?((B03<=0.10015683248639108)?((CL_GREEN<=1.2573242187500002)?((B02<=0.0720585808157921)?((B04<=0.09983051940798761)?((B01<=0.0330927036702633)?-0.0352:0.0684):-0.0667):0.097):0.0902):-0.0734):0.1094):0.0825):-0.0687):0.0951):((B04<=0.08096692711114885)?0.0388:0.0923)))):-0.0753):((NDWI<=-0.17589569091796872)?((B04<=0.2195733338594437)?0.0952:((B02<=0.16571547091007235)?-0.0378:0.0861)):0.1087))):((NDVI_RE2<=0.010905566625297071)?((NDVI_GREEN<=-0.03240991197526454)?-0.0546:((NDVI_GREEN<=0.13659472763538363)?((NDWI<=-0.12855845689773557)?-0.0529:((B02<=0.11180123314261438)?0.0443:0.1034)):((NBSI<=-0.04382646642625331)?0.0134:0.0936))):((B02<=0.10236771032214166)?((B03<=0.12532094120979312)?((NDVI_RE1<=0.16480463743209842)?((B02<=0.08375453203916551)?((CL_GREEN<=1.1749550104141238)?((B03<=0.09883464500308038)?((B02<=0.06971464306116106)?((NDVI_GREEN<=0.07861664891242982)?-0.0845:((B04<=0.09305108711123468)?0.0049:-0.0642)):0.0424):-0.0813):((B01<=0.025150372646749023)?-0.0396:0.0778)):0.0482):((NDVI_RE2<=0.05279555544257165)?((CL_GREEN<=1.6211632490158083)?((B02<=0.0863718129694462)?((B03<=0.10781164839863779)?0.0633:-0.074):0.0997):0.1039):((NDVI<=0.23066874593496325)?0.1262:((NDVI_RE1<=0.21733164042234424)?-0.0057:((B04<=0.03719215467572213)?-0.057:((NDVI<=0.3162324279546738)?0.1129:((NDVI_RE1<=0.26976308226585394)?0.0171:0.0657))))))):-0.0748):((NBSI<=-0.09566875174641608)?-0.0017:((B02<=0.13886794447898868)?((B03<=0.16402678191661837)?((B04<=0.16875300556421283)?((B01<=0.09445248171687128)?0.0978:((NDVI_RE2<=0.06895190477371217)?0.0637:-0.013)):((B02<=0.11945968493819238)?((B03<=0.15046904236078265)?0.0381:-0.0881):0.0858)):-0.0772):((B01<=0.13050333410501483)?0.102:((NDVI<=0.16880741715431216)?0.101:((NDVI_RE2<=0.05618833005428315)?0.0605:-0.043)))))))):((NDVI_RE2<=0.061908105388283736)?((CL_GREEN<=1.8162279129028323)?((B02<=0.0720585808157921)?((NDVI_RE2<=-0.04296430572867393)?((NDVI_GREEN<=0.15430385619401935)?-0.029:0.0716):((NDVI_RE1<=0.068004347383976)?-0.0738:((B03<=0.09187578037381174)?((B02<=0.05987116321921349)?((B03<=0.07150113582611085)?((B02<=0.05077014490962029)?-0.0319:0.0587):-0.0708):((B03<=0.08077591285109521)?0.0811:((CL_GREEN<=1.2069053053855898)?-0.0507:0.0486))):-0.08))):((B02<=0.10100125148892404)?((B03<=0.12268121913075448)?((B03<=0.11139115691184999)?((CL_GREEN<=0.8470142483711244)?0.0221:((NBSI<=-0.04382646642625331)?0.0105:((B04<=0.116525836288929)?0.1072:((B02<=0.08290749788284303)?0.0067:0.1172)))):((B02<=0.08923896774649621)?-0.0692:0.0683)):-0.083):((NBSI<=-0.06840727478265761)?0.0098:((NDVI_RE1<=-1.0000000180025095e-35)?-0.0033:0.0777)))):((B04<=0.04389451071619988)?-0.0129:((NBSI<=-0.05469789914786815)?0.0059:0.096))):((NBSI<=0.06435278430581094)?((B02<=0.07466711848974229)?((NDVI_RE1<=0.33118134737014776)?-0.0372:((NBSI<=-0.15993413329124448)?-0.0708:((B01<=0.019439062103629116)?-0.0527:0.0527))):((NDVI<=0.15530385822057727)?0.1028:((B01<=0.08007953315973283)?((B02<=0.11010277643799783)?((NDVI_RE1<=0.3161450177431107)?0.0134:0.0856):0.0903):-0.0109))):((STI<=1.354749143123627)?-0.033:-0.0717)))):((NDWI<=-0.48958915472030634)?((NDVI_RE2<=0.019403125159442428)?((STI<=1.7700788974761965)?((NDVI_GREEN<=0.4877449125051499)?-0.0557:((B04<=0.035355901345610626)?-0.0285:((CL_GREEN<=3.2632656097412114)?((B02<=0.04817561432719231)?-0.0028:0.0838):0.1043))):-0.0768):((STI<=1.6510215997695925)?((NDVI_RE2<=0.061908105388283736)?((CL_GREEN<=2.756781697273255)?-0.0418:((B04<=0.04718591272830964)?-0.0536:0.0638)):((NBSI<=-0.04123667068779468)?-0.0675:-0.0848)):-0.0872)):((B02<=0.10680788010358812)?((NDVI_RE2<=-0.03619375079870223)?((NDVI_GREEN<=0.2464258819818497)?((STI<=1.5074455142021181)?((NDVI_GREEN<=0.1028234362602234)?-0.0586:0.0635):-0.0731):((STI<=1.8176431059837344)?((B02<=0.044819889590144164)?0.0137:0.0822):-0.0748)):((B02<=0.0644010975956917)?-0.0695:((NDVI_RE2<=0.03075048886239529)?((NDVI_GREEN<=0.3219416439533234)?((B03<=0.08043900877237321)?0.0507:-0.0512):((NDVI_RE2<=0.00286904291715473)?0.077:0.0086)):((NDVI_RE1<=0.3111631870269776)?-0.0626:((NBSI<=-0.11939819529652594)?-0.0623:((NDVI_RE1<=0.35419110953807836)?((NDWI<=-0.4459864348173141)?-0.0338:0.0659):0.116)))))):((NBSI<=-0.14233188331127164)?-0.0512:((B02<=0.28597779572010046)?((B01<=0.0836017392575741)?((NDVI_RE1<=0.24095068871974948)?((B02<=0.15203206241130832)?-0.0024:0.1032):0.0986):((CL_GREEN<=0.769929200410843)?0.0245:-0.0252)):0.1088))));
 }
 
 
 function pt14(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4319351315498354)?((STI<=1.24541711807251)?((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=-0.09261362254619597)?-0.051:((B04<=0.0627630688250065)?((NDVI_GREEN<=0.08702031150460245)?-0.0057:0.0764):((STI<=1.1425675153732302)?0.103:0.0917))):((B02<=0.12162440270185472)?((B03<=0.14595153182744983)?((NBSI<=-0.05184789933264255)?-0.0165:((STI<=1.1190367341041567)?((NBSI<=0.041253857314586646)?0.029:0.0919):((NDVI_RE1<=0.15007524192333224)?((B01<=0.07190192490816118)?((B02<=0.10380454733967782)?((B03<=0.11890156194567682)?((B02<=0.0863718129694462)?((B03<=0.10085071623325349)?((B01<=0.05076291598379613)?((B02<=0.0720585808157921)?((NDVI_GREEN<=0.40375146269798284)?((B04<=0.09552817419171335)?((B02<=0.05453062430024148)?-0.0229:0.0887):-0.0639):0.0819):0.0965):0.0678):-0.0655):0.0987):-0.073):0.1024):0.0738):((NDVI<=0.20123964548110965)?0.1143:((NDVI_RE1<=0.1855014115571976)?((NDVI_RE2<=0.043409131467342384)?0.0835:((NDWI<=-0.30137540400028223)?((CL_GREEN<=1.3586125373840334)?-0.0053:0.0781):0.0701)):((B04<=0.07192642986774446)?0.0246:0.0872)))))):((NDVI_RE2<=0.05700195394456387)?-0.0852:0.0144)):((NDWI<=-0.20545751601457593)?((B04<=0.20071819424629214)?((B01<=0.12083030492067338)?0.0969:0.0443):((B02<=0.15203206241130832)?((B03<=0.17924222350120547)?0.0678:-0.105):0.0649)):0.1015))):((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=1.0000000180025095e-35)?((B02<=0.1154933348298073)?-0.0767:0.0326):((NDVI_RE2<=-0.014129589777439831)?((NDVI_GREEN<=0.1486560553312302)?((NDWI<=-0.14175704121589658)?-0.0757:0.0736):((NBSI<=0.0206858403980732)?0.0441:((B02<=0.03908942453563214)?((CL_GREEN<=2.0660967826843266)?-0.0062:0.0851):0.0955))):((B02<=0.10680788010358812)?((CL_GREEN<=1.307526767253876)?((B03<=0.1282046735286713)?((B02<=0.08462265878915788)?((B03<=0.09949970990419389)?((NDVI_RE1<=0.13533662259578708)?((B02<=0.06747563928365709)?-0.0426:((NBSI<=0.07811884954571725)?-0.0192:0.0663)):((NDWI<=-0.30851894617080683)?((B02<=0.07027230039238931)?-0.0195:0.0861):0.0805)):-0.0748):((NDVI_RE1<=0.10846064612269403)?0.0081:((B04<=0.13480222225189212)?((B01<=0.09078950807452203)?0.1018:0.0276):0.0101))):-0.0866):((B01<=0.02169765252619982)?-0.0332:((NDVI_GREEN<=0.44000415503978735)?((B02<=0.06695322692394258)?((STI<=1.338957726955414)?0.047:-0.0163):((B03<=0.12400087714195253)?0.078:-0.0163)):0.0943))):((NBSI<=-0.06840727478265761)?-0.0112:0.0791)))):((B02<=0.08043431490659715)?((STI<=1.3494046330451968)?((NDVI_RE1<=0.24357885867357257)?((B03<=0.09817888587713243)?((B02<=0.06251833587884904)?((CL_GREEN<=1.7440155744552615)?-0.0405:0.0294):0.0226):-0.0722):((NDVI<=0.3498153388500214)?0.111:((B03<=0.03273449651896954)?-0.0595:((B03<=0.10015683248639108)?0.0401:-0.0491)))):((NBSI<=0.07287250831723215)?((NDVI_RE1<=0.31373408436775213)?-0.0364:((NDVI_RE2<=0.08524663001298906)?0.058:-0.0179)):-0.0661)):((NDVI<=0.15530385822057727)?((NDVI_RE1<=0.0906309597194195)?0.0493:0.1089):((NDVI_RE1<=0.16480463743209842)?((NDVI<=0.20426249504089358)?((NDVI_RE1<=0.13042353838682177)?-0.0484:0.0612):-0.05):((NDVI_GREEN<=0.31502427160739904)?((NBSI<=-0.04653061553835868)?((NDVI_RE1<=0.21479062736034396)?-0.0136:0.0751):0.0938):((NDVI_RE1<=0.22544038295745852)?((STI<=1.338957726955414)?-0.0047:-0.0576):((NBSI<=-0.10381503775715827)?-0.0218:((B04<=0.12947083264589312)?((B01<=0.051775379106402404)?0.1296:((NDVI_RE2<=0.08404052630066873)?0.0865:0.02)):((B02<=0.09961602836847307)?((B03<=0.12400087714195253)?0.0143:-0.0831):((B01<=0.11107559874653818)?0.0708:-0.0014))))))))))):((NDWI<=-0.504051238298416)?((NDVI_RE2<=-0.001616503926925361)?((STI<=1.8337879776954653)?((NDVI_GREEN<=0.5058047771453859)?-0.0447:0.0689):-0.0762):((NDVI_RE2<=0.05364853516221047)?((STI<=1.6004473567008974)?((B02<=0.04408183693885804)?-0.0325:0.0478):-0.0773):((STI<=1.711329221725464)?-0.079:-0.0871))):((B02<=0.07145178690552713)?((NDVI_RE2<=-0.0814605951309204)?((NDVI_GREEN<=0.22598373889923098)?-0.0457:0.0651):((CL_GREEN<=2.1884781122207646)?((STI<=1.5878992080688479)?((NDVI_RE2<=0.023771240375936035)?((NDVI_RE1<=0.1449263691902161)?-0.0612:((NDWI<=-0.293908342719078)?-0.0084:0.0952)):((NDVI_RE1<=0.33869116008281713)?-0.0703:((NBSI<=-0.13460346311330793)?-0.0482:0.0833))):-0.0779):((STI<=1.6698968410491946)?((B02<=0.045789211988449104)?-0.0282:((NDVI_RE2<=0.01345981424674392)?0.0868:-0.0124)):-0.0723))):((NDVI_RE2<=0.036325341090559966)?((NDVI_GREEN<=0.019943750463426117)?-0.0749:((NBSI<=-0.08500478416681288)?-0.0263:((B03<=0.10015683248639108)?0.1002:((B02<=0.08923896774649621)?((B03<=0.10954647883772851)?0.0246:-0.0754):((NDVI_RE1<=0.17505356669425967)?0.0245:0.0785))))):((NDVI<=0.19142826646566394)?((NDVI_RE1<=0.1255515664815903)?0.0399:0.1175):((NBSI<=0.030088574625551704)?((STI<=1.5601074099540713)?((B01<=0.07538722828030588)?((NDVI_RE1<=0.35419110953807836)?((B02<=0.09029246866703035)?((B04<=0.10532441362738611)?0.0263:-0.0615):0.0489):0.1394):-0.027):((B01<=0.04770101979374886)?0.0115:-0.0608)):-0.0744)))));
 }
 
 
 function pt15(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4319351315498354)?((STI<=1.2408712506294253)?((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=-0.09261362254619597)?-0.048:((NBSI<=-0.01814477518200874)?((B02<=0.12602672725915912)?0.0164:0.0969):((B04<=0.05033038370311261)?0.0556:0.0951))):((B02<=0.12826388329267505)?((B03<=0.15280444175004962)?((B02<=0.10680788010358812)?((B03<=0.12671381235122683)?((NBSI<=-0.01354785170406103)?-0.0012:((B01<=0.06054248288273812)?((NDVI_GREEN<=0.4002904891967774)?((B02<=0.08825982362031938)?((B03<=0.10450260713696481)?((B02<=0.07466711848974229)?((B03<=0.09087525680661203)?((B02<=0.06392236426472665)?((B03<=0.08010414615273477)?((B01<=0.030892450362443927)?((NDVI_RE1<=0.12325952202081682)?-0.0543:0.0324):0.0534):-0.0472):0.0863):-0.0576):0.0943):-0.0676):0.0996):((B01<=0.012713281437754633)?-0.0166:0.0919)):((CL_GREEN<=0.9420691430568696)?0.0686:0.0999))):((B04<=0.188202939927578)?((B02<=0.10100125148892404)?-0.0931:((B03<=0.1363918632268906)?0.0505:-0.0929)):0.0803)):((NBSI<=-0.03570332005620002)?0.0008:0.0905)):-0.0716):((NDWI<=-0.20545751601457593)?((B03<=0.18426073342561725)?0.0861:((B02<=0.156236045062542)?-0.0958:0.0645)):0.0995))):((NDVI_RE2<=0.03720214776694775)?((NDVI_GREEN<=0.03403227590024472)?((B02<=0.12602672725915912)?-0.0657:0.0713):((NDVI_RE2<=-0.03619375079870223)?0.0859:((B02<=0.10100125148892404)?((NDVI_GREEN<=0.38688954710960394)?((B03<=0.12400087714195253)?((B02<=0.08043431490659715)?((B03<=0.09817888587713243)?((B02<=0.06544505059719087)?((B03<=0.07784198969602586)?((B02<=0.05598873645067216)?((B03<=0.06400729343295099)?((B02<=0.04288011230528355)?-0.0324:((B03<=0.05340078100562096)?0.1245:0.0136)):-0.067):0.0628):-0.0748):0.0538):-0.0814):((B03<=0.11554257199168207)?((NBSI<=-0.01354785170406103)?0.0177:((NDVI_GREEN<=0.1903062537312508)?0.0157:0.0947)):((B02<=0.09350283071398736)?-0.0678:0.0707))):-0.0951):((B01<=0.023392330855131153)?-0.014:((NBSI<=-0.04382646642625331)?-0.0117:((NDVI_GREEN<=0.45268544554710394)?((NDVI<=0.24791220575571063)?0.1253:((B02<=0.05255458690226079)?0.0067:0.0695)):0.1003)))):((NBSI<=-0.06840727478265761)?-0.0172:0.0767)))):((B02<=0.08825982362031938)?((STI<=1.3494046330451968)?((NDVI_RE1<=0.19872817397117618)?((B03<=0.10532546415925027)?((B02<=0.07335069403052331)?((NDVI_GREEN<=0.46245566010475164)?-0.0354:0.0557):0.0317):-0.0699):((B03<=0.10954647883772851)?((B02<=0.07397386431694032)?((B03<=0.09692708402872087)?((NDVI_RE2<=0.07413481175899507)?0.0586:((NDVI<=0.2998929619789124)?0.093:((NDVI_RE1<=0.27212837338447576)?-0.0323:((B03<=0.035553347319364555)?-0.0522:0.044)))):-0.0619):0.0756):-0.0565)):((NBSI<=0.07468403503298761)?((NDVI_RE1<=0.31373408436775213)?-0.0286:((NDVI<=0.46476015448570257)?0.0989:((NBSI<=-0.15993413329124448)?-0.0769:((NDVI_RE2<=0.09290732443332674)?0.0543:-0.022)))):-0.0609)):((NDVI_GREEN<=0.2832608819007874)?((NDVI_RE1<=0.15733867138624194)?((NDVI<=0.126569040119648)?0.0893:((NDVI_RE1<=0.10846064612269403)?-0.0575:((NDVI<=0.18818705528974536)?0.0681:-0.0206))):((NDVI<=0.2373677268624306)?0.1063:((NDVI_RE1<=0.1855014115571976)?0.0046:0.0792))):((NDVI_RE1<=0.20147749036550525)?-0.0254:((B01<=0.10719124972820283)?((NDWI<=-0.34126207232475275)?((NDVI_RE1<=0.2542502880096436)?((B04<=0.14187757670879367)?0.0312:-0.0348):((NDVI_GREEN<=0.4002904891967774)?0.0855:0.0358)):0.0884):-0.0099)))))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.019403125159442428)?((STI<=1.7859050035476687)?((NDVI_GREEN<=0.4997591376304627)?-0.0718:((B04<=0.035355901345610626)?-0.0291:0.0632)):-0.0751):((STI<=1.655646860599518)?((NDVI_RE2<=0.06582656130194665)?((CL_GREEN<=2.756781697273255)?-0.044:((B04<=0.046837853267788894)?-0.0487:0.0537)):-0.0781):-0.0857)):((B02<=0.06695322692394258)?((NDVI_RE2<=-0.07358540222048758)?((NDVI_GREEN<=0.2616051137447358)?-0.0424:((NDVI<=0.4417290091514588)?0.083:0.0016)):((CL_GREEN<=2.208094716072083)?((STI<=1.613278150558472)?((NDVI_RE2<=0.02484106365591288)?((NDVI_RE1<=0.15246459841728213)?-0.0629:((NDVI<=0.3081031143665314)?0.083:-0.0212)):((NDVI_RE1<=0.34646122157573706)?-0.0702:0.007)):-0.0785):((STI<=1.711329221725464)?((B02<=0.050450893118977554)?-0.0226:0.0478):-0.0791))):((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=0.0951531268656254)?-0.0501:((NBSI<=-0.04653061553835868)?((STI<=1.6510215997695925)?0.026:-0.0522):((B03<=0.09572583436965944)?0.1057:((B02<=0.08126428350806238)?-0.0158:0.0691)))):((CL_GREEN<=0.7383229434490205)?((B04<=0.19600666314363482)?((NDVI_RE1<=0.16480463743209842)?-0.0392:((NDVI<=0.25130333006381994)?0.1306:0.0095)):0.0754):((NDVI_RE1<=0.26455278694629675)?((NDVI_RE2<=0.060275439172983176)?-0.0393:-0.0752):((STI<=1.5522618889808657)?((NDVI_GREEN<=0.4237182587385178)?((B01<=0.08658066391944887)?0.081:-0.0051):((NDVI_RE1<=0.31855116784572607)?-0.0546:((B03<=0.10532546415925027)?((B01<=0.06404463946819307)?0.1475:0.0092):-0.0104))):((B01<=0.04770101979374886)?((NDVI_RE1<=0.34902831912040716)?-0.0415:0.0835):((NDVI<=0.37537060678005224)?0.0511:-0.0629))))))));
 }
 
 
 function pt16(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4407900571823122)?((STI<=1.3026064634323122)?((STI<=1.1682099699974062)?((B04<=0.05248837918043137)?((NBSI<=0.1251216307282448)?-0.0147:0.0629):((NDVI_RE2<=0.02057573199272156)?0.0955:((NDWI<=-0.17589569091796872)?((CL_GREEN<=0.9756962060928346)?((NDVI_RE1<=0.1059372052550316)?((STI<=1.0844091176986697)?0.079:((NDWI<=-0.2103619500994682)?((NDVI<=0.16880741715431216)?-0.0358:0.0559):0.0558)):((NDVI<=0.15530385822057727)?0.1061:((NDWI<=-0.25648647546768183)?((NDVI_RE1<=0.1449263691902161)?0.0078:0.0682):((NBSI<=0.008441015612334015)?0.0226:0.0877)))):0.0914):0.0979))):((NDVI_RE2<=0.009643310680985452)?((NDVI_GREEN<=0.03403227590024472)?((NDWI<=-0.037908930331468575)?-0.1217:((NDVI_RE1<=-0.029289013706147667)?-0.0429:0.1079)):((NBSI<=-0.008820996154099701)?0.0316:((B04<=0.05104723386466504)?0.0426:((CL_GREEN<=1.224775016307831)?((B02<=0.08043431490659715)?((B03<=0.09513485059142114)?((B02<=0.0644010975956917)?((B03<=0.07285690307617189)?0.0505:-0.0419):0.0847):-0.0581):0.0902):0.0974)))):((B02<=0.11180123314261438)?((B03<=0.13291762024164203)?((B02<=0.09137656167149545)?((B03<=0.11139115691184999)?((CL_GREEN<=1.307526767253876)?((B02<=0.07892440259456636)?((B03<=0.09513485059142114)?((NDVI_GREEN<=0.07861664891242982)?-0.0802:((B02<=0.06544505059719087)?((B03<=0.08043900877237321)?0.0169:-0.0603):0.0557)):-0.0588):0.0623):((B01<=0.02169765252619982)?-0.0199:((NBSI<=-0.05469789914786815)?-0.0205:((CL_GREEN<=1.6383758187294009)?((B01<=0.04980580136179925)?0.0236:0.0871):0.0934)))):((B04<=0.16457083076238635)?-0.0728:0.0404)):((NBSI<=-0.04123667068779468)?0.0025:((B04<=0.140363022685051)?0.0878:((B03<=0.12268121913075448)?0.1002:((B02<=0.09961602836847307)?-0.0425:0.0704))))):((NDVI_RE2<=0.06895190477371217)?-0.0761:0.0225)):((NDVI_GREEN<=0.2424077168107033)?0.0845:((B04<=0.18158413469791415)?((B01<=0.11577638983726503)?0.0854:0.0153):((B02<=0.14200919866561892)?((B03<=0.1610488146543503)?0.0646:-0.0753):((B01<=0.13050333410501483)?0.0777:-0.0344))))))):((NDVI_RE2<=0.060275439172983176)?((CL_GREEN<=1.6383758187294009)?((B02<=0.07746390625834466)?((B03<=0.09633446484804155)?((B02<=0.06344648450613023)?((B03<=0.07368535548448564)?((B02<=0.051948139443993575)?((NDVI_RE1<=0.1855014115571976)?-0.0447:0.0359):((B03<=0.06287269294261934)?0.1161:((NDVI_GREEN<=0.22598373889923098)?-0.0556:0.0624))):-0.0677):((B03<=0.08478516340255739)?((NBSI<=0.028245557099580768)?0.034:0.1054):((CL_GREEN<=1.1749550104141238)?-0.0398:0.0576))):-0.0783):((B02<=0.1136087253689766)?((B03<=0.13291762024164203)?((B03<=0.11139115691184999)?((B01<=0.07538722828030588)?0.0895:((NBSI<=-0.008820996154099701)?-0.0056:0.0668)):((B02<=0.09350283071398736)?-0.0566:((CL_GREEN<=0.6927883923053743)?-0.0288:0.0848))):-0.0707):((B01<=0.1390786245465279)?((NDVI_RE1<=0.14740498363971713)?((NBSI<=-0.04382646642625331)?-0.0199:0.0572):0.0879):((NDVI<=0.11422500014305116)?0.0672:-0.0186)))):((B01<=0.025620853528380397)?-0.0047:((NBSI<=-0.08500478416681288)?-0.0444:((CL_GREEN<=2.087425589561463)?((B02<=0.051948139443993575)?0.0148:((NBSI<=0.0503569319844246)?0.0486:0.0945)):0.0948)))):((NBSI<=0.07287250831723215)?((B02<=0.06914090365171434)?((B03<=0.09240317344665529)?((B02<=0.05635406263172627)?-0.0301:0.0167):-0.0784):((NBSI<=-0.15496860444545743)?-0.0535:((NDVI<=0.13451108336448672)?0.1014:((NDVI_RE1<=0.2542502880096436)?((NDVI_GREEN<=0.32538090646266943)?((NDVI_RE1<=0.17505356669425967)?-0.0283:((NDVI<=0.24791220575571063)?0.11:((NDVI_RE1<=0.20675697922706607)?-0.0366:0.0582))):-0.0309):((NDVI_GREEN<=0.39372743666172033)?0.0846:((B04<=0.11010101810097696)?0.074:-0.0145)))))):((STI<=1.354749143123627)?-0.0267:-0.0696)))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.021679053083062175)?((B04<=0.048924118280410774)?((NDVI_RE2<=-0.09178124740719794)?0.0717:-0.0672):((CL_GREEN<=2.9228593111038212)?-0.003:0.0763)):((STI<=1.711329221725464)?((NDVI_RE2<=0.06895190477371217)?((STI<=1.5405033230781557)?-0.0023:-0.0521):-0.0782):-0.0855)):((B02<=0.10680788010358812)?((NDVI_RE2<=-0.016063329763710495)?((NDVI_GREEN<=0.20878544449806216)?-0.0628:((STI<=1.7272866964340212)?((B02<=0.05420923046767712)?((CL_GREEN<=2.5287857055664067)?((B03<=0.06429045647382738)?((B02<=0.043601643294096)?-0.0183:0.0963):-0.0686):0.0731):0.0748):-0.0556)):((B02<=0.060750473290681846)?-0.069:((NDVI_RE2<=0.04852749034762383)?((STI<=1.6271931529045107)?((NDVI_RE1<=0.24357885867357257)?((B03<=0.08043900877237321)?0.057:-0.0373):((B03<=0.12005131691694261)?((B02<=0.07397386431694032)?((B03<=0.09136417135596277)?0.0746:-0.0502):((B01<=0.07190192490816118)?0.1145:0.0115)):-0.0369)):-0.0638):((NDVI_RE1<=0.3111631870269776)?((CL_GREEN<=0.8470142483711244)?-0.0137:-0.0726):((STI<=1.5878992080688479)?0.0048:-0.0585))))):((NBSI<=-0.1574296876788139)?-0.0562:((B01<=0.0668299123644829)?0.0733:((B02<=0.258557140827179)?((B01<=0.10361535474658014)?((B02<=0.156236045062542)?-0.0007:0.0873):-0.023):0.0891)))));
 }
 
 
 function pt17(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4452366232872011)?((STI<=1.2877417206764223)?((STI<=1.155143976211548)?((B04<=0.0627630688250065)?((NBSI<=0.10734448209404947)?-0.0093:0.0698):((NDVI_RE2<=0.0298055661842227)?0.0932:((NDWI<=-0.1865568086504936)?((NDVI_GREEN<=0.3321822881698609)?((NDVI_RE1<=0.11341962963342668)?((STI<=1.070420801639557)?0.0842:((B01<=0.07538722828030588)?((NBSI<=0.12304780259728433)?0.0341:-0.0399):0.042)):0.0681):0.0898):0.0951))):((B02<=0.12602672725915912)?((B03<=0.1481190919876099)?((NDVI_RE2<=0.03264746069908143)?((NDVI_GREEN<=0.08702031150460245)?((NDWI<=-0.09049139916896819)?-0.1449:((NDVI_RE1<=-0.008339843712747095)?-0.0436:0.0547)):((CL_GREEN<=1.0738403201103213)?((B02<=0.09961602836847307)?((B03<=0.11890156194567682)?((B02<=0.08207769691944124)?((B03<=0.09633446484804155)?((B02<=0.0644010975956917)?((B03<=0.07395751029253007)?0.0453:-0.0702):0.0742):-0.0792):0.0814):-0.0983):0.0864):((NBSI<=-0.01814477518200874)?-0.0189:0.0894))):((NDVI_RE1<=0.17253246903419497)?((B02<=0.10100125148892404)?((B03<=0.11890156194567682)?((B02<=0.08290749788284303)?((NDVI_GREEN<=0.4071627408266068)?((B03<=0.09883464500308038)?((B02<=0.06747563928365709)?((B01<=0.04602217674255372)?-0.0352:0.0197):0.0345):-0.0655):0.064):((NBSI<=0.026285595260560516)?-0.0257:0.0671)):-0.0663):((NBSI<=0.004295361228287221)?-0.0231:0.0652)):((NDVI<=0.2409009709954262)?0.0991:((NBSI<=-0.11416723579168318)?-0.0444:((NDVI_RE1<=0.21207749098539355)?((NDWI<=-0.323121428489685)?((CL_GREEN<=1.4950801730155947)?-0.0068:0.0706):0.0625):((B02<=0.024273862130939964)?-0.0326:0.0644)))))):((NDVI_RE2<=0.05946547910571099)?-0.0861:0.006)):((NDVI_GREEN<=0.2344174310564995)?0.0896:((B03<=0.189938098192215)?((B01<=0.11577638983726503)?0.0859:((NDVI_RE2<=0.0627037100493908)?0.0654:-0.0375)):((B02<=0.17154773324728015)?-0.0788:0.0357))))):((NDVI_RE2<=0.05946547910571099)?((NDVI_GREEN<=-0.03240991197526454)?-0.0795:((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=0.15430385619401935)?((NDWI<=-0.15374783426523206)?-0.1042:((NDVI_RE1<=0.03654956072568894)?((B01<=0.09445248171687128)?-0.0095:0.0665):0.0908)):((B02<=0.041300993412733085)?((CL_GREEN<=2.4171396493911748)?0.0001:0.0694):((NBSI<=-0.04123667068779468)?0.0021:0.0753))):((NDVI_RE1<=0.16480463743209842)?((B02<=0.13355100154876712)?((NDVI_GREEN<=0.36980699002742773)?((B02<=0.051051361486315734)?-0.0633:((B03<=0.06670332327485086)?0.084:-0.0304)):((B04<=0.10152247548103334)?-0.0209:0.0982)):((NDVI<=0.09627846628427507)?0.0871:((NDVI_RE1<=0.0906309597194195)?-0.0514:0.0547))):((NDWI<=-0.30137540400028223)?((NDVI_RE1<=0.22271386533975604)?((CL_GREEN<=1.4950801730155947)?-0.0123:((B02<=0.05288017913699151)?-0.0095:0.0712)):((NBSI<=-0.1063370108604431)?-0.0433:((NDVI_RE1<=0.26724292337894445)?((NDWI<=-0.3590757548809051)?((B03<=0.13128144294023517)?((B01<=0.053800705820322044)?0.0089:0.0602):-0.0538):0.0763):0.0701))):((NDVI<=0.2998929619789124)?0.0974:0.0047))))):((NBSI<=0.07287250831723215)?((B02<=0.06971464306116106)?((B03<=0.09456305950880052)?((B02<=0.062045969069004066)?-0.0237:0.0301):-0.0818):((NDVI<=0.14860527217388156)?0.0911:((B01<=0.08272583410143854)?((B02<=0.10236771032214166)?((B04<=0.116525836288929)?((B01<=0.05076291598379613)?0.0891:((NDVI_RE1<=0.2593447864055634)?-0.0173:0.0474)):((B02<=0.09242625162005426)?-0.0501:0.0229)):0.0678):((NBSI<=-0.14752461016178128)?-0.0597:((NDVI_RE1<=0.21733164042234424)?-0.0295:((NDVI_GREEN<=0.34596835076808935)?0.0614:-0.0051)))))):((STI<=1.354749143123627)?-0.0223:-0.0679)))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.02484106365591288)?((STI<=1.7859050035476687)?((NDVI_GREEN<=0.5028909146785737)?-0.066:((B02<=0.035658072680234916)?-0.0011:0.0648)):-0.0745):((STI<=1.711329221725464)?((NDVI_RE2<=0.06895190477371217)?((CL_GREEN<=3.051632404327393)?((B02<=0.0649135932326317)?-0.057:((B03<=0.10155119001865388)?0.1026:-0.0516)):((B04<=0.06527041643857957)?-0.0192:0.1155)):-0.0772):-0.0848)):((B02<=0.07269713282585145)?((CL_GREEN<=2.208094716072083)?((STI<=1.6698968410491946)?((NDVI_RE2<=0.006991747999563814)?((NDVI_GREEN<=0.13659472763538363)?-0.0716:((NDVI<=0.2409009709954262)?0.0841:((NDVI_RE1<=0.21479062736034396)?-0.0297:0.0335))):((NDVI_RE1<=0.33377441763877874)?-0.0652:((NDVI<=0.4793779850006104)?0.1036:-0.0294))):-0.0784):((NBSI<=-0.04123667068779468)?-0.0603:((B02<=0.034615848213434226)?-0.0308:0.0584))):((NBSI<=-0.13460346311330793)?((CL_GREEN<=0.8317038118839265)?-0.0091:-0.0646):((NDVI_RE1<=0.3760855048894883)?((B02<=0.12374580651521684)?((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.1486560553312302)?-0.0627:((B01<=0.07260294258594514)?0.0709:0.0063)):((NDVI_RE1<=0.29918809235095983)?((NDVI_RE2<=0.05946547910571099)?((B03<=0.10015683248639108)?0.0403:-0.0419):-0.067):((NDVI<=0.449315831065178)?((NDVI_GREEN<=0.43670707941055303)?0.1057:-0.0252):-0.0286))):((CL_GREEN<=0.4615533649921418)?((NDVI_RE1<=0.05851362273097039)?0.0035:0.0973):((B01<=0.09740234538912775)?((NDVI_RE1<=0.20675697922706607)?0.004:0.0858):-0.0178))):0.1678))));
 }
 
 
 function pt18(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4452366232872011)?((STI<=1.2408712506294253)?((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=-0.03240991197526454)?((B02<=0.09961602836847307)?-0.0854:0.0866):((NBSI<=-0.008820996154099701)?((NDVI<=0.20426249504089358)?0.0617:-0.0287):((STI<=1.159477770328522)?0.0927:((CL_GREEN<=0.9420691430568696)?((B02<=0.09137656167149545)?((B04<=0.116525836288929)?((NDVI_GREEN<=0.11022988334298135)?-0.0461:0.0575):-0.0716):0.0839):0.0898)))):((B02<=0.13355100154876712)?((B03<=0.1580944433808327)?((NBSI<=-0.03064028266817331)?((B01<=0.08856726437807085)?0.0091:-0.061):((B02<=0.11010277643799783)?((B03<=0.1298549994826317)?((CL_GREEN<=1.1414074897766116)?((B02<=0.09137656167149545)?((B03<=0.11139115691184999)?((B02<=0.0767515152692795)?((B03<=0.09633446484804155)?((NDVI_GREEN<=0.11022988334298135)?-0.0698:((B01<=0.05076291598379613)?((B04<=0.09640957042574884)?((B02<=0.059043304994702346)?((B04<=0.08096692711114885)?0.0468:-0.0414):0.0916):((NDVI_RE2<=0.0846245586872101)?((B02<=0.06695322692394258)?-0.0687:0.0376):0.0758)):0.0659)):((B04<=0.13900588452816012)?-0.0897:0.0278)):0.0698):((B04<=0.16238205879926684)?-0.0866:0.0309)):0.0789):((B01<=0.023392330855131153)?0.0027:0.0851)):((B04<=0.1920449957251549)?((B04<=0.1512982100248337)?0.0226:-0.082):0.0603)):0.083)):-0.0816):((NDWI<=-0.1865568086504936)?((B04<=0.2195733338594437)?((B01<=0.13435278087854388)?0.0881:0.019):((B02<=0.16571547091007235)?-0.0573:0.0631)):0.0948))):((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=0.05895834974944592)?((NDWI<=-0.06199452280998229)?-0.1121:((NDVI_GREEN<=-0.03240991197526454)?-0.0684:0.0819)):((NDVI_RE2<=-0.04296430572867393)?0.0806:((B04<=0.0830826908349991)?((NDVI_RE1<=0.08529785275459291)?-0.0378:0.0361):((NDVI_GREEN<=0.4104285687208176)?((B02<=0.07086091116070749)?((B03<=0.08900079876184465)?((B02<=0.05987116321921349)?-0.0394:0.0585):-0.0829):((NBSI<=-0.04123667068779468)?-0.0033:((B02<=0.10100125148892404)?((B03<=0.12130896002054216)?((NDVI_GREEN<=0.16518501192331317)?-0.021:0.0685):-0.0774):0.0788))):0.0921)))):((B02<=0.10236771032214166)?((STI<=1.3494046330451968)?((NDVI_RE1<=0.19872817397117618)?((CL_GREEN<=1.307526767253876)?((B03<=0.12005131691694261)?((B02<=0.08290749788284303)?((B03<=0.09883464500308038)?((B02<=0.06641361862421037)?-0.0342:0.0191):-0.0729):0.0348):-0.067):((B01<=0.021990550681948665)?-0.0477:((NDVI<=0.24791220575571063)?0.1253:0.0292))):((B03<=0.1282046735286713)?((NDVI_RE2<=0.07483534887433053)?((NBSI<=-0.06840727478265761)?-0.017:((CL_GREEN<=1.7260288596153261)?((B02<=0.08375453203916551)?((B04<=0.107292328029871)?0.0616:-0.0361):0.0834):0.0841)):((NDVI<=0.2958944290876389)?0.0895:((NDVI_RE1<=0.27212837338447576)?-0.0221:((NDVI<=0.4056523889303208)?0.0943:0.0071)))):-0.071)):((NBSI<=0.08903139829635622)?((NDVI_RE1<=0.30630499124526983)?((B03<=0.1298549994826317)?((B02<=0.07746390625834466)?((B03<=0.09755014628171922)?((B02<=0.06857759505510332)?-0.032:0.0205):-0.0765):((B01<=0.07190192490816118)?((B04<=0.12326770648360254)?((NDVI_RE1<=0.196164645254612)?-0.0149:0.0754):((B02<=0.08923896774649621)?-0.069:0.0453)):-0.0257)):-0.0934):((NBSI<=-0.15496860444545743)?-0.0622:((NDVI_RE2<=0.09986079111695291)?0.0521:((NDWI<=-0.5153896212577819)?-0.041:0.0607)))):((NDVI_RE2<=0.0627037100493908)?((NDVI_RE1<=0.21733164042234424)?-0.0464:0.049):-0.0701))):((NBSI<=-0.08216499164700507)?((CL_GREEN<=0.26264448463916784)?0.0794:((NDVI_RE1<=0.19872817397117618)?-0.0852:((B01<=0.10538072511553766)?0.0508:-0.0299))):((B02<=0.13355100154876712)?((B03<=0.15526540577411654)?((B01<=0.08007953315973283)?((B04<=0.16457083076238635)?0.0851:0.011):((NDVI_RE2<=0.07622363418340684)?((NDVI_RE1<=0.16230156272649768)?-0.007:0.063):-0.0337)):((B02<=0.12374580651521684)?-0.0986:-0.0132)):((B01<=0.13050333410501483)?0.0805:((NDVI<=0.11422500014305116)?0.0774:-0.0089))))))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.02484106365591288)?((STI<=1.7859050035476687)?((NDVI_GREEN<=0.4997591376304627)?-0.0692:0.0341):-0.0731):((STI<=1.711329221725464)?((NDVI_RE2<=0.06973037123680116)?((STI<=1.496508300304413)?0.0182:-0.0451):-0.0761):-0.0841)):((B02<=0.0644010975956917)?((NDVI_RE2<=-0.09178124740719794)?0.0353:((CL_GREEN<=2.208094716072083)?((STI<=1.6901379227638247)?-0.0568:-0.0792):((NBSI<=-0.04382646642625331)?-0.0708:((B02<=0.04507067985832692)?-0.0289:0.0462)))):((NDVI_RE2<=0.00286904291715473)?((NDVI_GREEN<=0.11022988334298135)?-0.0509:((NBSI<=-0.03306982293725013)?0.0104:0.075)):((CL_GREEN<=0.4615533649921418)?((B02<=0.12826388329267505)?-0.001:0.0772):((NBSI<=0.03750415146350861)?((STI<=1.5601074099540713)?((NDVI_RE1<=0.1855014115571976)?-0.0582:((NDVI<=0.28087069094181066)?0.1146:((B01<=0.05780416540801526)?((NDVI_RE1<=0.35419110953807836)?((NDVI_GREEN<=0.443155124783516)?0.048:-0.0306):0.1304):-0.014))):((B01<=0.04770101979374886)?((NDVI_RE1<=0.3706273883581162)?-0.0226:0.1005):-0.0549)):((NDVI_RE2<=0.043409131467342384)?-0.006:-0.0743))))));
 }
 
 
 function pt19(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4494031071662905)?((STI<=1.2408712506294253)?((NDVI_RE2<=0.01345981424674392)?((NDVI_GREEN<=-0.03240991197526454)?((B02<=0.09584409743547441)?-0.0836:0.0763):((NBSI<=-0.008820996154099701)?((NDVI<=0.20426249504089358)?0.058:-0.0298):0.0862)):((B02<=0.13355100154876712)?((B03<=0.1580944433808327)?((NBSI<=-0.025405615568161007)?((B01<=0.0836017392575741)?0.0127:-0.0493):((B02<=0.10680788010358812)?((B03<=0.12532094120979312)?((B01<=0.06150044687092305)?((CL_GREEN<=1.2911222577095034)?((B02<=0.0863718129694462)?((B03<=0.10374082997441293)?((B02<=0.07466711848974229)?((B03<=0.08811094611883165)?((B02<=0.06160696968436242)?((NDVI_GREEN<=0.15430385619401935)?-0.0638:((B03<=0.0754094496369362)?((B01<=0.03170156292617322)?-0.0011:0.0578):-0.0314)):0.069):((B04<=0.13209118694067004)?-0.0639:0.0345)):0.0808):-0.0708):0.085):((B02<=0.02932502701878548)?-0.0101:0.0825)):((NBSI<=0.04308964870870114)?0.0296:0.0797)):((NDVI_GREEN<=0.3321822881698609)?((B04<=0.14805154502391818)?0.012:-0.0836):0.0376)):((B04<=0.16457083076238635)?0.0857:((B02<=0.11748773232102395)?((B03<=0.1437979191541672)?0.0805:-0.0709):0.0806)))):((NDVI_RE2<=0.05032836832106114)?-0.105:-0.0105)):((NDWI<=-0.1865568086504936)?((B03<=0.189938098192215)?((B01<=0.13050333410501483)?0.0872:0.0281):((B02<=0.16571547091007235)?-0.1042:((B01<=0.13435278087854388)?0.0907:-0.0009))):0.0931))):((NDVI_RE2<=0.04520156234502793)?((NDVI_GREEN<=-0.03240991197526454)?-0.0719:((NDVI_RE2<=-0.030343847349286076)?((NDVI_GREEN<=0.1486560553312302)?((NDVI<=0.13824721425771716)?0.0657:-0.0462):((NBSI<=0.014652002137154342)?0.0264:0.0799)):((B02<=0.10236771032214166)?((NDVI_GREEN<=0.4136053174734116)?((B03<=0.12532094120979312)?((B02<=0.08290749788284303)?((B03<=0.10085071623325349)?((B02<=0.06747563928365709)?((B03<=0.08112240210175516)?((B02<=0.05598873645067216)?((B03<=0.06776994839310647)?((B02<=0.045554004609584815)?((NBSI<=1.0000000180025095e-35)?0.0276:-0.0471):((B03<=0.057390609756112106)?0.101:((NDVI_GREEN<=0.2761798799037934)?-0.0632:0.0476))):-0.0751):((B03<=0.07150113582611085)?0.0854:((NDVI_GREEN<=0.2652686387300492)?-0.0551:0.0533))):-0.0682):((NDVI_GREEN<=0.2937012761831284)?((B03<=0.08478516340255739)?0.0574:-0.0219):0.0701)):-0.0702):((NDVI_RE1<=0.1208774894475937)?((B03<=0.10781164839863779)?0.046:-0.0323):0.0702)):-0.0854):((B04<=0.04997709766030312)?-0.0226:((NDVI_GREEN<=0.46549969911575323)?((B01<=0.04138750024139882)?0.0053:((NDVI<=0.3162324279546738)?0.1101:0.0509)):0.0875))):((NBSI<=-0.09835395589470862)?-0.028:((B01<=0.15792916715145114)?((B02<=0.13886794447898868)?((B03<=0.1610488146543503)?((NDVI_RE1<=0.12790469080209735)?0.0314:((B04<=0.16666827350854876)?0.0864:0.0137)):-0.0898):0.0817):0.0003))))):((B02<=0.07604226469993593)?((B01<=0.051775379106402404)?((STI<=1.3494046330451968)?((B03<=0.09087525680661203)?((B02<=0.06251833587884904)?((NDVI_RE1<=0.12325952202081682)?-0.0692:((NDVI<=0.22050224989652636)?0.0677:-0.016)):0.0801):-0.0673):((NBSI<=0.09820322319865228)?-0.0323:-0.0687)):((B03<=0.10085071623325349)?((NDVI_RE1<=0.2620453536510468)?-0.0078:((NBSI<=-0.1525480970740318)?-0.064:0.0617)):-0.0644)):((NDVI<=0.16544179618358615)?((NDVI_RE1<=0.10105102509260179)?((NDVI<=0.10988955199718477)?0.0663:-0.0462):0.096):((NDVI_RE1<=0.19087333977222445)?((NDVI_GREEN<=0.2832608819007874)?((NDVI_RE1<=0.1425707042217255)?-0.0486:((NDVI<=0.23066874593496325)?0.0725:-0.0124)):-0.0419):((NDVI_GREEN<=0.3391032218933106)?((NBSI<=-0.05469789914786815)?((NDVI_RE1<=0.2593447864055634)?0.0004:0.0839):0.0797):((NDVI_RE1<=0.24095068871974948)?-0.0225:((NBSI<=-0.1295739263296127)?-0.0445:((B04<=0.11542733013629915)?0.0703:((NDVI_GREEN<=0.39372743666172033)?0.0563:((B02<=0.09242625162005426)?-0.045:0.0109))))))))))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.02484106365591288)?((B04<=0.055239532142877586)?((NDVI_RE2<=-0.05119062401354312)?((B04<=0.03473563492298127)?-0.0389:0.094):-0.0648):0.0459):((STI<=1.711329221725464)?((NDVI_RE2<=0.07046616077423097)?((CL_GREEN<=2.802366733551026)?((B02<=0.060301041230559356)?-0.0642:-0.004):0.0014):-0.0752):-0.0835)):((B02<=0.06971464306116106)?((NDVI_RE2<=-0.0669133812189102)?((NDVI_GREEN<=0.2616051137447358)?-0.0425:((NDVI<=0.4532062560319901)?0.0673:-0.0105)):((STI<=1.6956921219825747)?((CL_GREEN<=2.087425589561463)?((NDVI_RE2<=0.0298055661842227)?((NDVI_RE1<=0.15246459841728213)?-0.0643:((NDVI<=0.2770944386720658)?0.1116:-0.0234)):((NDVI_RE1<=0.3622625023126603)?-0.0661:0.0171)):-0.0004):-0.0773)):((NDVI_RE2<=0.036325341090559966)?((NDVI_GREEN<=0.019943750463426117)?-0.0724:((NDVI_RE2<=-0.008495850022882221)?0.0597:((STI<=1.6748912930488589)?((NDVI_RE1<=0.30392719805240637)?0.0047:0.0981):-0.0567))):((CL_GREEN<=0.4794586002826691)?0.0614:((NBSI<=0.026285595260560516)?((NBSI<=-0.1574296876788139)?-0.0636:((NDVI_RE1<=0.38447959721088415)?((STI<=1.5601074099540713)?((NDVI_RE1<=0.22271386533975604)?-0.0526:((NDVI<=0.33705575764179235)?0.0974:0.0001)):-0.0419):0.1344)):-0.0675)))));
 }
 
 
 function pt20(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4579291939735415)?((STI<=1.323105573654175)?((STI<=1.1723291873931887)?((B04<=0.05248837918043137)?((NDVI_RE2<=-0.018062793649733063)?0.0536:-0.0142):((NDVI_RE2<=0.02057573199272156)?0.0864:((NDWI<=-0.17589569091796872)?((CL_GREEN<=0.9756962060928346)?((NDVI_RE1<=0.11591762676835062)?((STI<=1.0844091176986697)?0.0681:((NDWI<=-0.21491517871618268)?((NDVI<=0.17860116809606555)?-0.0307:0.0457):((NDVI_RE1<=0.08810468763113023)?0.0067:0.0804))):((NDVI<=0.16880741715431216)?0.0962:((NDVI_RE1<=0.15980155766010287)?((NDWI<=-0.27190944552421564)?-0.002:((NBSI<=0.014652002137154342)?-0.0456:0.067)):0.0683))):((B04<=0.09305108711123468)?0.041:0.0879)):0.0896))):((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=0.05895834974944592)?((NDWI<=-0.06199452280998229)?-0.1306:((NDVI_RE1<=-0.04395834915339946)?-0.0448:0.0776)):((NBSI<=0.016704980283975605)?0.0294:((B04<=0.06177965365350247)?((NDVI_GREEN<=0.21753862500190738)?-0.0249:0.0612):0.0805))):((B02<=0.1154933348298073)?((B03<=0.13805885612964633)?((B02<=0.09469501301646234)?((B03<=0.1166234314441681)?((CL_GREEN<=1.4768152832984927)?((B02<=0.08043431490659715)?((B03<=0.09883464500308038)?((B02<=0.06914090365171434)?((B03<=0.0851743407547474)?((B02<=0.05786016210913659)?((NDVI_GREEN<=0.0694268085062504)?-0.0844:((B03<=0.0703757368028164)?((B02<=0.048453634604811675)?((B03<=0.05233593843877316)?0.0153:-0.0434):0.0465):-0.05)):0.0441):-0.0567):0.0458):((B04<=0.14642719924449923)?-0.0719:0.0523)):((NBSI<=-0.03570332005620002)?-0.0083:((B03<=0.10954647883772851)?0.0702:((B02<=0.08923896774649621)?-0.0247:0.0729)))):((B01<=0.016569104045629505)?-0.034:((NBSI<=-0.05469789914786815)?-0.0135:((NDVI_RE2<=0.0846245586872101)?0.0784:0.0254)))):((B04<=0.16875300556421283)?-0.0754:0.028)):((NBSI<=-0.06574492156505583)?-0.0174:0.0656)):-0.0711):((NBSI<=-0.06288710981607436)?((CL_GREEN<=0.21267797797918322)?0.0845:((NDVI_RE1<=0.19872817397117618)?-0.0777:0.0128)):((NDWI<=-0.2103619500994682)?((B04<=0.19600666314363482)?((B01<=0.10190454125404359)?0.0811:((NDVI_RE2<=0.06895190477371217)?0.0619:-0.0348)):((B02<=0.1483290269970894)?((B03<=0.17489226162433627)?0.0292:-0.1124):0.0494)):0.081))))):((NDVI_RE2<=0.0674010254442692)?((CL_GREEN<=1.9117515087127688)?((B02<=0.0720585808157921)?((B03<=0.09042041748762132)?((B02<=0.05598873645067216)?((B03<=0.0648285821080208)?((B02<=0.044819889590144164)?((NDVI_RE1<=0.17253246903419497)?-0.0522:((NDVI<=0.33705575764179235)?0.0991:-0.0314)):((B03<=0.05271602794528008)?0.1071:((NDVI_GREEN<=0.20878544449806216)?-0.0597:0.0419))):-0.0654):((B03<=0.07091819494962694)?0.0845:((CL_GREEN<=1.1242224574089053)?-0.0383:((B02<=0.060301041230559356)?-0.0113:0.0652)))):-0.0737):((B03<=0.10295885428786279)?((NBSI<=-0.025405615568161007)?0.0142:((CL_GREEN<=0.8788200020790101)?0.0305:0.0939)):((B02<=0.08923896774649621)?((B03<=0.11334807425737382)?((B02<=0.08126428350806238)?-0.0619:((NDVI_GREEN<=0.3495313376188279)?-0.0226:0.0806)):-0.0865):((NDVI_RE1<=0.15007524192333224)?((NDVI<=0.15530385822057727)?((NDVI_RE1<=-1.0000000180025095e-35)?-0.0324:0.0492):((NDVI_RE2<=0.00286904291715473)?0.045:-0.0484)):((NDVI_GREEN<=0.2761798799037934)?0.0854:((B04<=0.14187757670879367)?((B01<=0.09880064427852632)?0.0826:0.0025):((B02<=0.11180123314261438)?((B03<=0.13456431776285174)?0.0135:-0.0873):((B04<=0.17601270228624347)?0.0659:-0.0159)))))))):((B01<=0.020143119618296627)?-0.0288:((NBSI<=-0.07681557536125182)?-0.0333:0.0737))):((NBSI<=0.053852295503020293)?((B03<=0.17924222350120547)?((NDVI_RE1<=0.2542502880096436)?-0.0321:((NDVI<=0.37962871789932257)?0.0785:((NDVI_RE1<=0.33118134737014776)?((NDWI<=-0.44912043213844294)?-0.0493:0.0005):((NDVI<=0.4721661508083344)?0.1062:((NBSI<=-0.1699154824018478)?-0.0632:((B01<=0.020784516818821434)?-0.0598:((NDVI_RE1<=0.39294819533824926)?0.0083:0.1077))))))):0.0509):((STI<=1.3762062191963198)?-0.0334:-0.07)))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.0477014146745205)?((STI<=1.748494625091553)?((B04<=0.09983051940798761)?((CL_GREEN<=2.9228593111038212)?((B02<=0.05987116321921349)?-0.0504:0.0673):((B04<=0.04296734370291234)?-0.0249:0.0573)):0.1196):-0.0733):((STI<=1.7646435499191286)?((NDVI_RE2<=0.09239843860268594)?((STI<=1.5405033230781557)?((NDVI_RE1<=0.3594877421855927)?-0.0523:0.0249):-0.0664):-0.0773):-0.0835)):((B02<=0.09584409743547441)?((NDVI_RE2<=-0.03932661190629005)?((NDVI_GREEN<=0.2616051137447358)?-0.0461:((STI<=1.8015787005424502)?0.0453:-0.0608)):((STI<=1.706083118915558)?((NDVI_RE1<=0.33377441763877874)?((NDVI_RE2<=0.03075048886239529)?((NDVI_RE1<=0.17773559689521792)?-0.0569:((NDVI<=0.3081031143665314)?0.0949:((STI<=1.556247413158417)?0.0166:-0.0353))):-0.0614):((NBSI<=-0.13460346311330793)?-0.0434:((NDVI_RE1<=0.3760855048894883)?((NDWI<=-0.4585308879613876)?-0.0015:0.11):0.1918))):-0.0765)):((NBSI<=-0.1574296876788139)?-0.0526:((B02<=0.28597779572010046)?((B01<=0.0674421973526478)?((NDVI_RE1<=0.2944221645593644)?0.0244:0.0951):-0.008):0.0944))));
 }
 
 
 function pt21(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4579291939735415)?((STI<=1.2234585881233218)?((NDVI_RE2<=0.01345981424674392)?((NDVI_GREEN<=-0.03240991197526454)?-0.0114:((NBSI<=-0.004328125156462192)?0.0306:0.0834)):((B02<=0.13355100154876712)?((B03<=0.1580944433808327)?((NBSI<=-0.01354785170406103)?-0.0036:((CL_GREEN<=1.1414074897766116)?((B02<=0.10380454733967782)?((B03<=0.12400087714195253)?((B02<=0.08825982362031938)?((B03<=0.10865565389394762)?((B02<=0.0767515152692795)?((B03<=0.09513485059142114)?((B02<=0.06914090365171434)?((STI<=1.090752720832825)?0.0696:((B03<=0.0851743407547474)?0.0196:-0.0554)):0.0697):((B04<=0.13480222225189212)?-0.0833:0.0219)):0.0666):((B04<=0.15489145368337634)?-0.0886:0.0281)):0.0735):((NDVI_RE2<=0.0674010254442692)?-0.0818:0.024)):((B04<=0.16666827350854876)?0.0804:((B02<=0.11748773232102395)?((B03<=0.1437979191541672)?0.0652:-0.0784):0.0744))):((B04<=0.08096692711114885)?0.016:0.0848))):-0.076):((NDWI<=-0.17589569091796872)?((B01<=0.15038280934095385)?((B04<=0.2195733338594437)?0.0779:((B02<=0.17154773324728015)?-0.045:0.0843)):-0.0131):0.0913))):((NDVI_RE2<=0.042587891221046455)?((NDVI_GREEN<=-0.03240991197526454)?-0.0678:((NDVI_RE2<=-0.014129589777439831)?((B04<=0.06577199324965478)?((NDVI_RE2<=-0.0814605951309204)?0.0693:((NDVI_RE1<=0.08529785275459291)?-0.0217:0.0369)):((NBSI<=0.014652002137154342)?((B02<=0.09029246866703035)?-0.0205:0.0688):((NDVI_GREEN<=0.12387001886963846)?((NDWI<=-0.10673359036445616)?-0.051:0.0604):0.078))):((B02<=0.11945968493819238)?((NDVI_RE1<=0.1425707042217255)?((NDVI_GREEN<=0.32538090646266943)?((NDVI_RE1<=0.03213383816182614)?-0.0736:((NDVI<=0.11422500014305116)?0.0819:((B03<=0.13805885612964633)?((B02<=0.09469501301646234)?((B03<=0.10696838796138765)?((B02<=0.07532335445284845)?((B03<=0.08440237864851953)?((B02<=0.059449218213558204)?-0.0351:0.0272):-0.0799):((NBSI<=0.06949682533740999)?-0.0241:0.0652)):-0.0822):0.0257):-0.0939))):((NDVI<=0.19142826646566394)?0.1255:((B01<=0.029125235043466095)?-0.0556:0.0359))):((B03<=0.1437979191541672)?((B02<=0.09584409743547441)?((B03<=0.11554257199168207)?((B02<=0.07892440259456636)?((B03<=0.10155119001865388)?((STI<=1.3334583044052126)?0.0619:((NDVI_RE1<=0.21733164042234424)?((NDVI<=0.24791220575571063)?0.0875:-0.0162):0.0438)):-0.056):((NBSI<=-0.04382646642625331)?0.0074:0.084)):-0.0557):0.0772):-0.0883)):((NBSI<=-0.09295503050088881)?-0.0387:((B01<=0.15792916715145114)?0.0674:0.006))))):((B02<=0.07604226469993593)?((B01<=0.051775379106402404)?((STI<=1.3494046330451968)?((B03<=0.0934501811861992)?((B02<=0.06593262404203416)?((NDVI_RE1<=0.10846064612269403)?-0.0713:((B03<=0.08440237864851953)?((B02<=0.05825050920248032)?((B04<=0.10628765448927881)?-0.0149:0.0729):0.0636):-0.0593)):0.0782):-0.0702):((NBSI<=0.0944611355662346)?((NDVI_RE1<=0.33118134737014776)?-0.0391:((NDVI<=0.4903052747249604)?0.1032:((NDVI_RE2<=0.07757026329636575)?0.0689:-0.0345))):-0.0656)):((B03<=0.10085071623325349)?((B04<=0.12326770648360254)?((NDVI_RE1<=0.2620453536510468)?-0.0122:((NBSI<=-0.15993413329124448)?-0.0666:0.0523)):0.1119):-0.0599)):((NDVI<=0.15530385822057727)?((NDVI_RE1<=0.0906309597194195)?((B04<=0.17601270228624347)?-0.0552:0.062):0.0893):((NDVI_RE1<=0.15980155766010287)?-0.0289:((NDVI_GREEN<=0.3078820854425431)?((NBSI<=-0.04382646642625331)?((NDVI_RE1<=0.22271386533975604)?((NDVI<=0.25130333006381994)?0.0403:-0.0485):0.0671):0.0743):((NDVI_RE1<=0.22271386533975604)?((STI<=1.328301548957825)?((B04<=0.12448374927043916)?0.0495:-0.0198):-0.0491):((NBSI<=-0.131990872323513)?-0.042:((NDVI_GREEN<=0.366509422659874)?0.0604:((B04<=0.11763518676161767)?((NDVI_RE2<=0.09641938656568529)?0.0757:0.0097):((B02<=0.09350283071398736)?((B03<=0.11554257199168207)?0.0034:-0.0675):((B04<=0.13617416471242907)?0.0476:-0.0111)))))))))))):((NDWI<=-0.5068446397781371)?((NDVI_RE2<=0.05200981348752976)?((STI<=1.7432169914245608)?((NDVI_GREEN<=0.5028909146785737)?-0.0673:((B04<=0.09983051940798761)?((CL_GREEN<=3.400943994522095)?-0.01:0.0445):0.0992)):-0.0725):((STI<=1.7646435499191286)?-0.0719:-0.083)):((B02<=0.05987116321921349)?((CL_GREEN<=2.506784319877625)?((STI<=1.6698968410491946)?((NDVI_RE2<=0.008335400372743608)?((NDVI_GREEN<=0.2616051137447358)?-0.0578:((NDVI<=0.3498153388500214)?0.0525:-0.0251)):-0.0596):-0.0753):((NBSI<=0.004295361228287221)?-0.0522:0.055)):((NDVI_RE2<=-0.0031968749826773997)?((NDVI_GREEN<=0.0951531268656254)?-0.0582:((B03<=0.08290072530508043)?0.1006:((B02<=0.07397386431694032)?((NDVI_GREEN<=0.37665230035781866)?-0.0786:0.0411):0.0574))):((CL_GREEN<=0.66087344288826)?((B04<=0.21223857253789905)?((NDVI_RE1<=0.14740498363971713)?-0.0365:((NDVI<=0.2373677268624306)?0.1127:0.0098)):0.0681):((NDVI_RE1<=0.30146333575248724)?((NDVI_RE2<=0.060275439172983176)?((STI<=1.5522618889808657)?-0.007:-0.0515):-0.0625):((NDVI<=0.449315831065178)?((NDVI_GREEN<=0.43670707941055303)?0.0888:-0.0102):((NBSI<=-0.13460346311330793)?-0.0637:((NDVI_RE1<=0.3760855048894883)?-0.0252:0.1284))))))));
 }
 
 
 function pt22(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4737354516983034)?((STI<=1.323105573654175)?((STI<=1.1379083991050722)?((B04<=0.0627630688250065)?((NBSI<=0.12103427574038507)?-0.0168:0.0611):((NDVI_RE2<=0.034533837810158736)?0.0847:((NDVI<=0.12253540009260179)?0.0887:((NDVI_GREEN<=0.3354904800653458)?((B02<=0.10100125148892404)?((B03<=0.12005131691694261)?0.0335:-0.0718):0.058):0.0806)))):((B02<=0.12602672725915912)?((B03<=0.15046904236078265)?((NDVI_RE2<=-0.0031968749826773997)?((NDVI_GREEN<=0.1028234362602234)?((NDWI<=-0.09932622313499449)?-0.1351:((NDVI_GREEN<=0.05895834974944592)?-0.0279:0.0766)):((NBSI<=0.018735595978796486)?0.0139:((B04<=0.03657005541026593)?-0.002:0.0786))):((B02<=0.09961602836847307)?((B03<=0.12130896002054216)?((CL_GREEN<=1.2911222577095034)?((B02<=0.08462265878915788)?((B03<=0.10374082997441293)?((B02<=0.07145178690552713)?((B03<=0.08724086731672288)?((NDVI_GREEN<=0.0694268085062504)?-0.0761:((B02<=0.05825050920248032)?((B03<=0.0682993344962597)?((B02<=0.045789211988449104)?((B03<=0.05340078100562096)?0.0125:-0.0549):0.0437):-0.0531):0.039)):((B04<=0.13083866983652118)?-0.0782:0.0168)):((NBSI<=0.008441015612334015)?-0.0019:0.0513)):((B04<=0.1530156880617142)?-0.0762:0.0318)):((NBSI<=-0.03570332005620002)?-0.0169:((B03<=0.1166234314441681)?0.0648:((B02<=0.09242625162005426)?-0.0472:0.056)))):((B01<=0.02169765252619982)?-0.0189:((NBSI<=-0.07956904545426367)?-0.0354:((CL_GREEN<=1.7801333069801333)?((B01<=0.053800705820322044)?((NDVI<=0.2340677231550217)?0.0928:((B02<=0.07532335445284845)?((B03<=0.09293205291032793)?0.0191:-0.0786):0.0669)):0.0735):0.0822)))):((B04<=0.18158413469791415)?-0.0739:0.0448)):((NBSI<=-0.04123667068779468)?((B01<=0.08856726437807085)?0.0634:-0.0492):((B04<=0.1565690413117409)?((B01<=0.0818055532872677)?0.0845:((NDVI_RE2<=0.08404052630066873)?0.0588:-0.0315)):((B02<=0.1136087253689766)?((B03<=0.13805885612964633)?0.0654:-0.0688):0.0665))))):((NDVI_RE2<=0.060275439172983176)?-0.0939:0.0006)):((NDVI_GREEN<=0.238358348608017)?((NBSI<=-0.11668505892157553)?-0.0242:0.0792):((B01<=0.1390786245465279)?((B04<=0.20071819424629214)?((B01<=0.10190454125404359)?0.0829:((NDVI_RE2<=0.060275439172983176)?0.0731:-0.0064)):((B02<=0.16062242537736895)?-0.0364:0.0693)):-0.032)))):((NDVI_RE2<=0.07553383708000184)?((CL_GREEN<=1.9309984445571902)?((B02<=0.07027230039238931)?((B03<=0.08994694426655771)?((B02<=0.05453062430024148)?((B03<=0.06230119056999684)?((B02<=0.04174775071442128)?((B03<=0.04382583312690259)?((B02<=0.03313442878425122)?-0.04:0.0726):-0.0688):((B03<=0.049799218773841865)?0.1128:((CL_GREEN<=1.307526767253876)?-0.0317:0.06))):-0.0641):((B03<=0.07011032477021219)?0.0755:((CL_GREEN<=1.3586125373840334)?-0.0302:((B02<=0.060301041230559356)?-0.0026:0.0701)))):-0.0768):((B03<=0.10015683248639108)?((B01<=0.07399199157953264)?((NDVI_RE1<=0.20400156080722812)?0.0535:0.1111):0.0145):((B02<=0.0854616090655327)?((B03<=0.10696838796138765)?((CL_GREEN<=1.1414074897766116)?-0.0715:((B02<=0.07746390625834466)?-0.0399:0.0748)):-0.0741):((NDVI_RE1<=0.15733867138624194)?((NDVI<=0.16880741715431216)?((NDVI_RE1<=0.10846064612269403)?((B02<=0.1483290269970894)?-0.0224:((NDVI<=0.10988955199718477)?0.0575:-0.0243)):0.0927):((NDVI_RE2<=0.0014408691204153003)?0.0399:-0.0459)):((NDWI<=-0.27190944552421564)?((B04<=0.140363022685051)?((B01<=0.07691055163741113)?0.0788:0.0184):((B02<=0.11010277643799783)?((B03<=0.1282046735286713)?0.0153:-0.078):((B04<=0.1787202283740044)?0.0583:-0.0119))):((NDVI<=0.265802875161171)?0.0965:0.0127)))))):((B04<=0.048229355365037925)?-0.0128:((B01<=0.09195745736360551)?((CL_GREEN<=2.396497488021851)?((B02<=0.045789211988449104)?-0.0114:0.0663):0.0879):-0.0401))):((NBSI<=0.03935468755662442)?((CL_GREEN<=0.5142365396022798)?0.0421:((NDVI_RE1<=0.25680805742740637)?-0.0429:((NDVI<=0.37962871789932257)?0.0793:((NDVI_RE1<=0.33118134737014776)?-0.0296:((NDVI<=0.48669750988483435)?0.0733:((NBSI<=-0.15993413329124448)?-0.0607:0.0072)))))):((STI<=1.3762062191963198)?-0.0294:-0.0688)))):((NDWI<=-0.5293491780757903)?((NDVI_RE2<=-0.001616503926925361)?((B04<=0.04017614573240281)?-0.0494:0.0539):((STI<=1.7646435499191286)?((NDVI_RE2<=0.05863818340003491)?-0.019:-0.0727):-0.0824)):((B02<=0.0649135932326317)?((NDVI_RE2<=-0.0669133812189102)?((NDVI_GREEN<=0.40375146269798284)?-0.0213:0.0617):((STI<=1.706083118915558)?((CL_GREEN<=2.1884781122207646)?-0.0572:-0.0156):-0.0754)):((NDVI_RE2<=0.04852749034762383)?((NBSI<=-0.08500478416681288)?((NDVI_RE1<=0.3515253961086274)?-0.0414:0.0536):((B03<=0.09087525680661203)?0.0873:((NDVI_RE1<=0.2820406258106232)?((B02<=0.09029246866703035)?-0.0374:0.0168):0.0555))):((CL_GREEN<=0.8788200020790101)?((NDVI<=0.1721291467547417)?0.0832:((NDVI_RE1<=0.20675697922706607)?-0.0489:0.0354)):((NDVI_RE1<=0.3111631870269776)?-0.0613:((NDVI<=0.46476015448570257)?((NDVI_RE1<=0.3412813544273377)?0.0104:0.1172):((B01<=0.038984343409538276)?0.0792:((STI<=1.6177917122840884)?-0.0252:-0.0692))))))));
 }
 
 
 function pt23(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.4737354516983034)?((STI<=1.3177593350410464)?((STI<=1.1379083991050722)?((B04<=0.0627630688250065)?((NBSI<=0.15400625020265582)?-0.0103:0.0641):((NDVI_RE2<=0.03264746069908143)?0.0832:((NDVI<=0.11842338740825654)?0.0874:((CL_GREEN<=0.8622690439224244)?((B02<=0.10380454733967782)?((B03<=0.12268121913075448)?0.0297:-0.0664):0.0566):0.0764)))):((B02<=0.12602672725915912)?((B03<=0.15046904236078265)?((NDVI_RE2<=-0.008495850022882221)?((NDVI_GREEN<=0.1028234362602234)?((NDWI<=-0.09932622313499449)?-0.123:((NDVI_GREEN<=0.03403227590024472)?-0.0318:0.0598)):((NBSI<=0.018735595978796486)?0.0104:0.0771)):((B02<=0.10236771032214166)?((B03<=0.12532094120979312)?((CL_GREEN<=1.4082869291305544)?((B02<=0.0854616090655327)?((B03<=0.10781164839863779)?((B02<=0.0720585808157921)?((B03<=0.09087525680661203)?((NDVI_RE1<=0.03213383816182614)?-0.0748:((B02<=0.06251833587884904)?((B03<=0.07511653378605844)?((B02<=0.048453634604811675)?((B03<=0.05340078100562096)?0.01:-0.0456):0.0363):((B01<=0.051775379106402404)?-0.0637:0.0202)):0.0401)):((B04<=0.13480222225189212)?-0.0853:0.0038)):((NDVI_GREEN<=0.13659472763538363)?-0.0412:((B03<=0.10155119001865388)?((NBSI<=0.016704980283975605)?0.0047:0.0635):((B02<=0.08043431490659715)?-0.035:0.0577)))):((B04<=0.1565690413117409)?-0.0847:0.0167)):((NBSI<=-0.03570332005620002)?-0.0128:((B03<=0.11890156194567682)?0.0626:((B02<=0.09469501301646234)?-0.0513:0.0595)))):((B04<=0.06901702657341958)?((B04<=0.0319668147712946)?-0.0554:0.0132):((NBSI<=0.06435278430581094)?0.0315:0.0771))):((B04<=0.18158413469791415)?-0.0772:0.017)):((B01<=0.07616676390171052)?((B04<=0.16033466905355456)?0.0864:((B02<=0.11180123314261438)?-0.0169:0.0882)):((NBSI<=-0.04123667068779468)?-0.0248:0.0494)))):((NDVI_RE2<=0.060275439172983176)?-0.0893:0.0036)):((NDVI_GREEN<=0.20415727794170382)?((NBSI<=-0.1063370108604431)?-0.01:0.0811):((B04<=0.206078477203846)?((B01<=0.1268444731831551)?0.0734:((NDVI_RE2<=0.0627037100493908)?0.04:-0.0459)):((B02<=0.16062242537736895)?((B03<=0.189938098192215)?0.0165:-0.1446):((B01<=0.13435278087854388)?0.0757:-0.037)))))):((NDVI_RE2<=0.06895190477371217)?((NDVI_RE1<=0.18034848570823672)?((NDVI_RE2<=-0.046895459294319146)?((NDVI_GREEN<=0.08702031150460245)?-0.0142:0.0616):((B02<=0.051340768113732345)?((NDVI_GREEN<=0.4719956517219544)?-0.051:0.0199):((CL_GREEN<=1.3586125373840334)?((B02<=0.1308928579092026)?((B03<=0.06400729343295099)?0.0729:((B02<=0.06593262404203416)?-0.0585:((B03<=0.08900079876184465)?0.029:((B02<=0.08207769691944124)?-0.0631:((B03<=0.14595153182744983)?((NDVI_RE1<=0.10105102509260179)?-0.0378:((NDVI_RE2<=0.009643310680985452)?0.0487:-0.0068)):-0.0882))))):((NBSI<=-0.06840727478265761)?-0.0396:((B01<=0.15792916715145114)?0.0455:-0.0232))):0.0602))):((NDWI<=-0.3160030543804168)?((CL_GREEN<=2.0460765361785893)?((B02<=0.07532335445284845)?((B03<=0.09692708402872087)?((B02<=0.06695322692394258)?((B03<=0.0851743407547474)?((B02<=0.05598873645067216)?-0.0139:0.0558):-0.0623):0.0652):-0.0759):((B04<=0.12448374927043916)?((B01<=0.07691055163741113)?0.0803:0.0141):((B02<=0.10236771032214166)?((B03<=0.11554257199168207)?0.0426:-0.0609):((B03<=0.15046904236078265)?0.0732:((B02<=0.1308928579092026)?-0.0643:0.0264))))):((NBSI<=-0.06015141680836677)?-0.0181:((B01<=0.02283964212983847)?-0.0089:0.0742))):((NDVI<=0.32040624320507055)?0.0865:-0.008))):((NBSI<=0.057254150509834296)?((NDVI<=0.2273640111088753)?((NDVI_RE1<=0.16230156272649768)?((B03<=0.23994126915931704)?-0.023:0.0723):0.0943):((NDVI_RE1<=0.21733164042234424)?-0.0539:((NDVI<=0.32040624320507055)?0.0791:((NDVI_RE1<=0.30630499124526983)?((NDWI<=-0.4031736850738525)?-0.0434:((NDVI_RE1<=0.2542502880096436)?-0.036:0.0251)):((NDVI<=0.449315831065178)?0.0701:((NBSI<=-0.1699154824018478)?-0.0596:((NDVI_RE1<=0.36771742999553686)?-0.0184:((B01<=0.019789993762969974)?-0.0497:0.0613)))))))):((STI<=1.3762062191963198)?-0.027:-0.0691)))):((NDWI<=-0.5293491780757903)?((NDVI_RE2<=0.03264746069908143)?((STI<=1.8442108035087588)?((NDVI_GREEN<=0.5262220203876496)?-0.0684:0.032):-0.075):((STI<=1.7646435499191286)?((NDVI_RE2<=0.07046616077423097)?-0.0372:-0.0728):-0.0819)):((B02<=0.0649135932326317)?((NDVI_RE2<=-0.0814605951309204)?((NDVI_GREEN<=0.40375146269798284)?-0.0115:0.0692):((STI<=1.706083118915558)?((CL_GREEN<=2.1884781122207646)?-0.0549:-0.012):-0.0739)):((NDVI_RE2<=0.04852749034762383)?((STI<=1.6748912930488589)?((NDVI_RE1<=0.2845685034990311)?((B03<=0.08557638898491861)?0.0667:((B04<=0.0867784582078457)?-0.0593:0.0024)):0.0594):-0.0414):((CL_GREEN<=0.8788200020790101)?((NDVI<=0.17548989504575732)?0.0782:((NDVI_RE1<=0.20675697922706607)?-0.0472:((NDVI<=0.2958944290876389)?0.0952:0.0045))):((NBSI<=0.018735595978796486)?((B01<=0.06102052703499795)?((NDVI_RE1<=0.3760855048894883)?((B02<=0.1053585670888424)?-0.0315:0.0537):((NDVI<=0.543138086795807)?0.1685:-0.0173)):((STI<=1.6177917122840884)?-0.0327:-0.0697)):-0.0732)))));
 }
 
 
 function pt24(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.481654763221741)?((STI<=1.24541711807251)?((B02<=0.1362387537956238)?((B03<=0.1610488146543503)?((NDVI_GREEN<=0.048014063388109214)?((NDWI<=-0.0505495723336935)?-0.1712:((NDVI_GREEN<=1.0000000180025095e-35)?-0.0611:0.057)):((NDVI_RE2<=0.008335400372743608)?((NBSI<=0.018735595978796486)?-0.0026:0.0785):((NBSI<=-0.025405615568161007)?((B01<=0.08452363684773447)?0.0102:-0.0534):((B02<=0.11180123314261438)?((B03<=0.13128144294023517)?((CL_GREEN<=1.1414074897766116)?((B02<=0.09242625162005426)?((B03<=0.1123677045106888)?((B02<=0.07892440259456636)?((B03<=0.09755014628171922)?((B02<=0.06914090365171434)?((B03<=0.08440237864851953)?((NDVI<=0.13824721425771716)?0.0753:0.0173):((B04<=0.12326770648360254)?-0.0673:0.044)):0.0597):((B04<=0.14187757670879367)?-0.085:0.036)):0.0587):((B01<=0.07190192490816118)?-0.0852:0.0376)):0.0663):((B04<=0.08025865256786348)?((B02<=0.03864967450499535)?-0.0158:0.0503):0.0754)):((NDVI_GREEN<=0.31502427160739904)?((B04<=0.15489145368337634)?0.0091:-0.0952):0.014)):0.0707)))):((NDVI_RE2<=0.05032836832106114)?-0.1127:-0.0091)):((NDWI<=-0.1865568086504936)?((B03<=0.189938098192215)?((B01<=0.13050333410501483)?0.0808:((NDVI_RE2<=0.05279555544257165)?0.0635:-0.0376)):((B02<=0.16062242537736895)?-0.1302:((B01<=0.14414770156145099)?0.0719:-0.0233))):0.0869)):((NDVI_RE2<=0.05200981348752976)?((NDVI_GREEN<=-0.03240991197526454)?-0.0702:((NDVI_RE2<=-0.04296430572867393)?((B02<=0.03545078076422215)?0.0257:0.0693):((NDVI_RE1<=0.13533662259578708)?((B02<=0.14200919866561892)?((NDVI_GREEN<=0.32538090646266943)?((B02<=0.07892440259456636)?((B03<=0.08854399621486665)?((B02<=0.059449218213558204)?((B03<=0.055793933570384986)?((B02<=0.04288011230528355)?-0.0467:0.0812):-0.0681):((B03<=0.07453429326415063)?0.0624:((NBSI<=0.06257182359695436)?-0.0719:0.0215))):-0.0796):((NDVI_RE2<=0.00286904291715473)?0.0311:((B03<=0.1580944433808327)?-0.0139:-0.0939))):((B02<=0.041300993412733085)?-0.0272:0.0632)):((NDVI<=0.10988955199718477)?0.0651:((NDVI_RE1<=0.08256332948803903)?-0.0427:0.0386))):((NDWI<=-0.27567014098167414)?((NDVI_RE1<=0.20400156080722812)?((NDVI_GREEN<=0.38360355794429785)?((NDVI_GREEN<=0.2692397832870484)?-0.1085:((B04<=0.1512982100248337)?((B02<=0.08923896774649621)?((B04<=0.11115099862217905)?((B02<=0.06914090365171434)?((B04<=0.09552817419171335)?((NDVI<=0.3247791528701783)?0.0414:-0.036):-0.0729):0.0504):-0.0579):0.053):-0.0368)):((B01<=0.04138750024139882)?-0.0036:0.0691)):((NBSI<=-0.06840727478265761)?((B01<=0.0792653150856495)?0.0131:-0.0558):((NDVI_RE1<=0.26724292337894445)?((NDWI<=-0.3378017991781234)?((B03<=0.1363918632268906)?((NDVI_GREEN<=0.44612294435501104)?((B02<=0.08923896774649621)?((B03<=0.1123677045106888)?((B02<=0.0767515152692795)?((B04<=0.10432572290301324)?((B02<=0.06392236426472665)?0.0:0.0673):-0.0523):0.0714):-0.0784):0.0666):((B02<=0.04603585600852967)?0.0204:0.0872)):-0.0438):0.0746):0.0677))):((NDVI<=0.28087069094181066)?((NDVI_RE1<=0.15980155766010287)?((NDVI<=0.21712666004896167)?0.0872:0.0193):0.0949):-0.0016))))):((B02<=0.07269713282585145)?((STI<=1.381537199020386)?((B03<=0.09240317344665529)?((B04<=0.1198597624897957)?((B02<=0.061179706826806075)?((NDVI_RE1<=0.2968018054962159)?-0.03:((B03<=0.031903348863124854)?-0.0471:0.0371)):0.0275):0.1166):-0.0593):((NBSI<=0.030088574625551704)?((NDVI_RE1<=0.36771742999553686)?-0.0296:0.0179):-0.0629)):((NDVI<=0.16880741715431216)?((NDVI_RE1<=0.1208774894475937)?((NDVI<=0.126569040119648)?0.0661:-0.0301):0.0949):((NDVI_RE1<=0.19087333977222445)?((NDVI<=0.2340677231550217)?((NDVI_RE1<=0.15246459841728213)?-0.0483:0.0439):-0.0502):((NDVI<=0.26965312659740454)?0.0817:((NDVI_RE1<=0.22544038295745852)?((NDVI_RE2<=0.08026313409209253)?-0.0035:-0.0587):((NDVI<=0.3328343182802201)?0.063:((NDVI_RE1<=0.26976308226585394)?((NDVI_RE2<=0.10033413022756578)?-0.0032:-0.0652):((NBSI<=-0.16742416471242902)?-0.0505:((NDVI_GREEN<=0.42044702172279363)?((B01<=0.10538072511553766)?0.0655:0.001):((B04<=0.11115099862217905)?0.0553:-0.021)))))))))))):((NDWI<=-0.5293491780757903)?((NDVI_RE2<=-0.001616503926925361)?((B04<=0.04175732284784318)?-0.0431:0.0511):((STI<=1.7646435499191286)?((NDVI_RE2<=0.05946547910571099)?-0.0191:-0.0707):-0.0813)):((B02<=0.11010277643799783)?((STI<=1.7219603061676028)?((NDVI_RE2<=-0.0031968749826773997)?((NDVI_GREEN<=0.2616051137447358)?-0.0449:((B02<=0.04458348639309407)?-0.011:0.048)):((NDVI_RE1<=0.3594877421855927)?((NDVI_RE2<=0.061121629551053054)?((B02<=0.060750473290681846)?-0.0527:((B03<=0.08557638898491861)?((B01<=0.05828982777893544)?0.1124:-0.005):-0.0307)):((CL_GREEN<=0.9924629032611848)?-0.0189:-0.0665)):((NDVI<=0.5202820897102357)?0.1059:((NBSI<=-0.15005259215831754)?-0.0546:((NDVI_RE1<=0.39294819533824926)?-0.0131:0.1847))))):-0.0697):((NDVI<=0.46476015448570257)?((NDVI_RE1<=0.323624461889267)?((NDVI<=0.19142826646566394)?0.0502:((NDVI_RE1<=0.20675697922706607)?-0.0439:((NDVI<=0.3081031143665314)?0.0802:-0.0062))):0.105):-0.0564)));
 }
 
 
 function pt25(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.485558092594147)?((STI<=1.2234585881233218)?((B02<=0.14200919866561892)?((B03<=0.16719687730073932)?((NBSI<=0.018735595978796486)?((B01<=0.10719124972820283)?((B02<=0.09584409743547441)?-0.0069:0.0507):-0.0651):((NDVI_GREEN<=0.048014063388109214)?((NDWI<=-0.037908930331468575)?-0.1343:-0.0203):((NDVI_RE2<=0.009643310680985452)?0.0783:((STI<=1.0970582962036135)?0.072:((B02<=0.11748773232102395)?((B03<=0.13805885612964633)?((B02<=0.09706594422459604)?((B03<=0.11554257199168207)?((CL_GREEN<=1.2911222577095034)?((B02<=0.08207769691944124)?((B03<=0.10085071623325349)?((B02<=0.07086091116070749)?((B03<=0.08637938648462297)?((B02<=0.059043304994702346)?((B03<=0.07285690307617189)?0.0186:-0.0566):0.0536):-0.0476):0.0584):-0.0596):0.0681):((B04<=0.06901702657341958)?-0.0063:0.0796)):((B04<=0.17105077952146533)?-0.0747:0.0644)):0.0699):((NDVI_GREEN<=0.3114387691020966)?-0.091:0.0117)):0.0749))))):-0.0943):((NDWI<=-0.17052649706602094)?((B01<=0.15038280934095385)?((B04<=0.228210523724556)?0.0755:((B02<=0.17814772576093676)?-0.0646:0.0789)):-0.0124):0.088)):((NDVI_RE2<=0.05200981348752976)?((NDVI_GREEN<=-0.03240991197526454)?-0.0664:((NDVI_RE2<=-0.014129589777439831)?((B04<=0.06577199324965478)?((B03<=0.06670332327485086)?((B02<=0.03908942453563214)?((B03<=0.048266144469380386)?0.0266:-0.064):((B03<=0.05376018583774567)?0.0952:0.032)):-0.0627):((NBSI<=0.018735595978796486)?((B02<=0.08462265878915788)?-0.0248:0.0534):((NDVI_GREEN<=0.12387001886963846)?((NDVI<=0.09627846628427507)?0.0489:-0.0547):0.0698))):((NDVI_RE1<=0.1425707042217255)?((B02<=0.14508166909217837)?((B03<=0.16719687730073932)?((NDVI_RE1<=0.03213383816182614)?-0.0623:((NDVI<=0.12253540009260179)?((NDVI_RE1<=0.07402094826102258)?0.0323:0.1281):((STI<=1.328301548957825)?((NDVI_GREEN<=0.3495313376188279)?((B02<=0.1154933348298073)?((B03<=0.13291762024164203)?((B02<=0.08923896774649621)?((B03<=0.10532546415925027)?-0.0087:-0.0832):0.027):-0.0824):0.045):((B01<=0.0330927036702633)?-0.0175:0.0787)):-0.0323))):-0.1177):((NBSI<=-0.06574492156505583)?-0.0556:((STI<=1.338957726955414)?0.0687:0.0164))):((NDWI<=-0.27567014098167414)?((NDVI_RE1<=0.20400156080722812)?((STI<=1.338957726955414)?((NDVI_GREEN<=0.37665230035781866)?((B04<=0.14968333393335345)?((B02<=0.09350283071398736)?((B04<=0.12326770648360254)?0.0242:-0.0629):0.069):-0.031):0.0555):-0.0195):((NBSI<=-0.06288710981607436)?-0.0141:((NDWI<=-0.3378017991781234)?((B03<=0.1363918632268906)?((NDVI_RE1<=0.2794806510210038)?((STI<=1.328301548957825)?0.0567:((B02<=0.09469501301646234)?((B03<=0.1123677045106888)?((B02<=0.0767515152692795)?0.009:0.073):-0.0559):0.0764)):0.0693):((B02<=0.11010277643799783)?-0.0886:0.0313)):0.0742))):((NDVI<=0.28087069094181066)?0.08:-0.0045))))):((B02<=0.07397386431694032)?((STI<=1.381537199020386)?((B03<=0.09293205291032793)?((B04<=0.12326770648360254)?((B02<=0.06251833587884904)?((B03<=0.08290072530508043)?((B01<=0.044493541121482856)?((NDVI_RE1<=0.12790469080209735)?-0.0704:-0.0135):0.0245):-0.075):0.0263):0.1228):-0.0535):((NBSI<=0.07287250831723215)?((NDVI_RE1<=0.33377441763877874)?-0.0381:((NDVI_RE2<=0.10913818329572679)?0.0369:-0.0322)):-0.0681)):((NDVI<=0.16544179618358615)?((NDVI_RE1<=0.1208774894475937)?((NDVI<=0.11422500014305116)?0.0671:-0.0148):0.0932):((NDVI_RE1<=0.19087333977222445)?((NDVI<=0.2340677231550217)?((NDVI_RE1<=0.15246459841728213)?-0.0437:0.0423):-0.0451):((NDVI<=0.26965312659740454)?0.0773:((NDVI_RE1<=0.23069053143262866)?((NDVI_RE2<=0.08086308836936952)?0.0044:-0.0514):((NDVI<=0.3454474657773972)?0.0578:((B01<=0.09445248171687128)?((NDVI_RE1<=0.274548426270485)?-0.0109:((NDWI<=-0.4264546781778335)?((B04<=0.11115099862217905)?0.0489:-0.0193):0.0607)):-0.0227))))))))):((NDWI<=-0.5595692992210387)?((NDVI_RE2<=-0.006635351572185754)?((B04<=0.03473563492298127)?-0.0498:0.0568):((STI<=1.7753232121467593)?((NDVI_RE2<=0.05863818340003491)?-0.0122:-0.0716):-0.081)):((B02<=0.05987116321921349)?((CL_GREEN<=2.802366733551026)?((STI<=1.706083118915558)?((NDVI_RE2<=0.027828369289636615)?((NDVI_GREEN<=0.13659472763538363)?-0.0752:((NDWI<=-0.2526364624500274)?((NDVI_GREEN<=0.2616051137447358)?-0.0858:((NDVI<=0.3838898986577988)?0.0294:-0.0358)):0.0926)):-0.0613):-0.0742):((NBSI<=-0.06015141680836677)?-0.0634:((B02<=0.03398756310343743)?-0.0189:0.0768))):((NDVI_RE2<=0.04852749034762383)?((NBSI<=-0.08500478416681288)?((B03<=0.06985807418823244)?0.078:((NDVI_RE1<=0.34646122157573706)?-0.0504:((NBSI<=-0.1525480970740318)?-0.0534:0.0857))):((B03<=0.08290072530508043)?0.0933:((NDVI_RE1<=0.30392719805240637)?((B02<=0.07335069403052331)?-0.0416:0.0072):0.0604))):((CL_GREEN<=0.9420691430568696)?((B04<=0.21223857253789905)?-0.0006:0.0713):((B01<=0.032300781458616264)?((NDVI_RE1<=0.34902831912040716)?-0.0063:0.1697):((NBSI<=0.018735595978796486)?((STI<=1.6223055720329287)?((NDVI_RE1<=0.4072673916816712)?-0.0258:((B01<=0.0674421973526478)?0.2024:-0.0448)):-0.0608):-0.0742))))));
 }
 
 
 function pt26(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.485558092594147)?((STI<=1.2234585881233218)?((B02<=0.14200919866561892)?((CL_GREEN<=0.9589622020721437)?((B03<=0.16719687730073932)?((B02<=0.10100125148892404)?((B03<=0.12130896002054216)?((NDVI_GREEN<=0.05895834974944592)?-0.0628:((NDVI_RE2<=-0.024895849637687203)?0.0746:((B02<=0.0863718129694462)?((B03<=0.10450260713696481)?((B02<=0.07466711848974229)?((B03<=0.09136417135596277)?((NDVI<=0.13077988475561145)?0.0645:0.0121):-0.059):((NBSI<=0.05903876945376397)?-0.003:0.0622)):-0.0695):((NBSI<=0.026285595260560516)?-0.0139:0.0657)))):((NDVI_RE2<=0.0674010254442692)?-0.0986:0.015)):((B04<=0.17341081053018573)?((NBSI<=0.0206858403980732)?((B01<=0.09445248171687128)?0.0639:-0.0347):0.0727):((B02<=0.12374580651521684)?((B03<=0.14595153182744983)?0.0588:-0.0896):0.072))):-0.0929):((NBSI<=0.07811884954571725)?((NBSI<=-0.09040625020861624)?-0.0698:0.0283):((B01<=0.019789993762969974)?-0.0077:((NDVI_RE2<=0.04170097783207894)?0.084:((NDVI<=0.18818705528974536)?0.0955:((NDVI_GREEN<=0.40375146269798284)?0.019:0.0718)))))):((NDWI<=-0.17052649706602094)?((B01<=0.15038280934095385)?((B04<=0.228210523724556)?0.0733:((B02<=0.17814772576093676)?-0.058:0.0769)):-0.0113):0.0869)):((NDVI_RE2<=0.019403125159442428)?((NDVI_GREEN<=0.0694268085062504)?((NDWI<=-0.0725390464067459)?-0.1131:((NDVI_RE1<=-0.008339843712747095)?((NDVI_GREEN<=-0.03240991197526454)?-0.0725:0.0045):0.0783)):((NDVI_RE2<=-0.046895459294319146)?((B02<=0.03908942453563214)?0.0296:0.0703):((NDVI_RE1<=0.10350712761282922)?((NDVI<=0.13824721425771716)?0.0451:((NDVI_GREEN<=0.16518501192331317)?((NDWI<=-0.16520314663648603)?-0.1309:-0.0115):((NDVI<=0.2409009709954262)?((NDVI_GREEN<=0.3219416439533234)?0.0116:0.0834):((NDVI_GREEN<=0.2761798799037934)?-0.1114:0.0032)))):((B01<=0.12365422397851945)?((B02<=0.08923896774649621)?((B03<=0.11334807425737382)?((NDVI_GREEN<=0.41711547970771795)?((B02<=0.07466711848974229)?((B03<=0.0934501811861992)?((NDWI<=-0.25648647546768183)?((NDVI_GREEN<=0.2652686387300492)?-0.0826:((B02<=0.06392236426472665)?((B03<=0.07627709582448007)?((NDVI<=0.3838898986577988)?0.0368:-0.0446):-0.0577):0.0594)):0.0759):-0.0784):0.0569):((B04<=0.06630077958106996)?0.017:0.0739)):-0.0817):0.0667):-0.0349)))):((B02<=0.08290749788284303)?((B03<=0.10532546415925027)?((B04<=0.13900588452816012)?((B02<=0.06801850721240045)?((B03<=0.08854399621486665)?((B01<=0.040939696133136756)?((B02<=0.05987116321921349)?((STI<=1.381537199020386)?((NDVI_RE1<=0.10846064612269403)?-0.0648:((B03<=0.07880226522684099)?((NDVI<=0.20123964548110965)?0.081:-0.0102):-0.0781)):((NBSI<=0.08903139829635622)?-0.035:-0.069)):((B04<=0.09640957042574884)?0.1016:-0.0149)):((CL_GREEN<=1.8539234399795534)?((STI<=1.3601498007774355)?0.012:-0.0279):((NBSI<=-0.1574296876788139)?-0.0634:((NDVI_RE2<=0.09290732443332674)?0.0701:0.0063)))):((B01<=0.05780416540801526)?-0.0778:-0.0066)):((B01<=0.03443535789847375)?0.1016:((CL_GREEN<=1.7260288596153261)?((B04<=0.11115099862217905)?((B01<=0.05740040168166161)?0.0527:-0.011):-0.0346):((NBSI<=-0.09566875174641608)?-0.0106:0.0781)))):0.1218):((B04<=0.15848452597856524)?-0.0697:0.0359)):((NBSI<=-0.13974130898714063)?((NDVI_RE2<=0.12300527468323709)?-0.0594:0.0418):((B02<=0.13355100154876712)?((B04<=0.16033466905355456)?((B01<=0.05278799310326577)?((B04<=0.13335108757019046)?0.089:((B02<=0.09584409743547441)?-0.0476:0.0815)):((NDVI_RE2<=0.08631689473986627)?((NDVI_RE1<=0.16480463743209842)?((NBSI<=0.0206858403980732)?-0.0398:0.0085):((B02<=0.10680788010358812)?((B03<=0.1298549994826317)?((B04<=0.13209118694067004)?((B01<=0.08758090808987619)?0.0589:0.0049):-0.0086):-0.0714):((B01<=0.10030156373977663)?0.0783:0.0091))):((NDVI_RE1<=0.2894106507301331)?-0.037:0.0304))):((B03<=0.12532094120979312)?0.0886:((B03<=0.16402678191661837)?((B02<=0.11748773232102395)?-0.0545:((B01<=0.07767129316926004)?0.0777:-0.0115)):-0.0914))):((B01<=0.13050333410501483)?0.0589:((NDVI<=0.11422500014305116)?0.063:-0.0242))))))):((NDWI<=-0.5595692992210387)?((NDVI_RE2<=0.01345981424674392)?((STI<=1.8442108035087588)?0.0292:-0.0675):((STI<=1.7646435499191286)?((NDVI_RE2<=0.07046616077423097)?-0.0239:-0.0714):-0.0804)):((B02<=0.05987116321921349)?((NDVI_RE2<=-0.09178124740719794)?((NDVI_GREEN<=0.4071627408266068)?-0.0103:0.0776):((STI<=1.748494625091553)?((NDVI_RE2<=0.03356181643903256)?((NDVI_RE1<=0.16230156272649768)?-0.062:((NDVI<=0.3498153388500214)?((B03<=0.05867516994476319)?0.1614:0.0147):-0.0246)):-0.0602):-0.0744)):((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=0.0951531268656254)?-0.0532:0.0357):((CL_GREEN<=0.8470142483711244)?((B04<=0.21223857253789905)?((NDVI_RE1<=0.1701307147741318)?-0.0419:((NDVI<=0.25857524573802954)?0.1011:0.004)):0.0556):((B01<=0.03520078025758267)?((NDVI_RE1<=0.37906250357627874)?0.0047:0.1938):((STI<=1.6799213886260989)?((NDVI_RE1<=0.33377441763877874)?((NDVI_RE2<=0.07340229302644731)?-0.0243:-0.0644):((NDVI<=0.4721661508083344)?0.1003:-0.0157)):-0.0647))))));
 }
 
 
 function pt27(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5003421902656557)?((STI<=1.328301548957825)?((STI<=1.1379083991050722)?((B04<=0.07192642986774446)?((NBSI<=0.10734448209404947)?-0.0191:0.0544):((NDVI_RE2<=0.026892334222793583)?0.079:((NDWI<=-0.17052649706602094)?((CL_GREEN<=0.8317038118839265)?((NDVI_RE1<=0.10846064612269403)?((STI<=1.070420801639557)?0.0554:((NBSI<=0.09820322319865228)?0.0455:-0.0239)):((NDVI<=0.16544179618358615)?0.085:0.0276)):0.0735):0.0828))):((B02<=0.11945968493819238)?((B03<=0.14197602868080142)?((NDVI_RE2<=-0.008495850022882221)?((NDVI_GREEN<=0.1486560553312302)?((NDWI<=-0.14769867062568662)?-0.1696:((NDVI_GREEN<=0.08702031150460245)?-0.0196:0.063)):((NBSI<=0.018735595978796486)?-0.0022:0.0709)):((NDVI_RE1<=0.1208774894475937)?((NDVI_GREEN<=0.3219416439533234)?((B02<=0.09137656167149545)?((B03<=0.10532546415925027)?((B02<=0.07746390625834466)?((B03<=0.09187578037381174)?((NDVI_RE1<=0.01797319389879704)?-0.0817:((B02<=0.06251833587884904)?((B03<=0.06881464272737504)?((B02<=0.051948139443993575)?-0.0237:0.0537):-0.0818):0.0177)):-0.0914):((NBSI<=0.06949682533740999)?-0.0216:0.0579)):-0.0914):((NBSI<=0.03568061627447606)?-0.0324:((B03<=0.13128144294023517)?0.0514:((B02<=0.11010277643799783)?-0.0907:0.0432)))):((B01<=0.023654616437852386)?-0.0556:0.0718)):((NDVI<=0.17548989504575732)?0.1092:((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.4270268082618714)?((B02<=0.09584409743547441)?((B03<=0.11890156194567682)?((B02<=0.08043431490659715)?((B03<=0.10155119001865388)?((B02<=0.06857759505510332)?((B03<=0.08682929351925851)?0.0326:-0.0657):0.063):-0.0662):0.064):-0.0721):0.0677):0.0764):((NDVI_RE1<=0.19087333977222445)?((NDWI<=-0.2867323160171508)?((NDWI<=-0.4427617341279983)?0.0371:-0.0262):((NBSI<=0.006308300886303187)?-0.0335:0.0373)):((NDVI<=0.28446918725967413)?0.0746:((NBSI<=-0.14492363482713697)?-0.0597:((NDVI_RE1<=0.24095068871974948)?((NDVI_RE2<=0.07960156351327898)?0.0188:-0.031):((NDVI<=0.3454474657773972)?0.0849:((B01<=0.008471500128507616)?-0.0493:0.0323)))))))))):((NDVI_RE2<=0.07046616077423097)?-0.0778:0.0307)):((NBSI<=-0.04929843731224536)?((NDVI_GREEN<=0.0951531268656254)?0.0901:((NDVI_RE1<=0.1701307147741318)?-0.0798:0.013)):((NDWI<=-0.2103619500994682)?((B04<=0.19600666314363482)?((B01<=0.10190454125404359)?0.0746:((NDVI_RE2<=0.06895190477371217)?0.0543:-0.0416)):((B02<=0.15203206241130832)?((B03<=0.17489226162433627)?0.0406:-0.0924):((B01<=0.1390786245465279)?0.0587:-0.0276))):0.0724)))):((NDVI_RE2<=0.07553383708000184)?((NDVI_RE1<=0.20400156080722812)?((NDVI_RE2<=-0.030343847349286076)?((NDVI_GREEN<=-0.03240991197526454)?-0.0704:((NDVI_RE2<=-0.0814605951309204)?0.0639:((B02<=0.05671952478587628)?-0.0018:0.0459))):((B02<=0.051051361486315734)?-0.0427:((CL_GREEN<=1.6211632490158083)?((B02<=0.13355100154876712)?((B03<=0.06400729343295099)?0.0684:((NDVI_RE1<=0.10105102509260179)?-0.0466:((NDVI<=0.17548989504575732)?0.1051:-0.021))):((NBSI<=-0.08216499164700507)?-0.0557:((B01<=0.11328282579779626)?0.051:-0.0018))):0.073))):((NDVI<=0.2998929619789124)?((B03<=0.08637938648462297)?0.1654:((NDVI_GREEN<=0.31502427160739904)?0.0954:0.0124)):((NDVI_RE2<=0.006991747999563814)?((B01<=0.0818055532872677)?0.062:-0.0185):((NDVI_RE1<=0.26976308226585394)?((NDWI<=-0.36610218882560724)?-0.0188:((NBSI<=-0.04123667068779468)?-0.0114:0.0494)):((NDVI<=0.3971154689788819)?0.0742:((NBSI<=-0.1063370108604431)?-0.0356:((NDVI_RE1<=0.3439658731222153)?((B03<=0.1166234314441681)?((B02<=0.07820178568363191)?((B03<=0.09883464500308038)?((B02<=0.0649135932326317)?((B03<=0.08724086731672288)?((B02<=0.05352944880723954)?0.0003:0.081):-0.0692):0.0815):-0.0665):0.085):((B02<=0.09350283071398736)?-0.0818:0.0217)):0.0896))))))):((NBSI<=0.03935468755662442)?((CL_GREEN<=0.5142365396022798)?0.0326:((NDVI_RE1<=0.25680805742740637)?-0.0417:((NDVI<=0.37962871789932257)?0.0654:((NDVI_RE1<=0.33118134737014776)?-0.0307:((NDVI<=0.47589842975139623)?0.075:((NBSI<=-0.1848046854138374)?-0.0603:((NDVI_RE1<=0.39294819533824926)?-0.0148:((B01<=0.02169765252619982)?-0.044:0.0761)))))))):((STI<=1.3871238231658938)?-0.0296:-0.067)))):((NDWI<=-0.5618591010570525)?((NDVI_RE2<=0.02057573199272156)?((STI<=1.8442108035087588)?0.0214:-0.0684):((STI<=1.7859050035476687)?((NDVI_RE2<=0.06895190477371217)?-0.0277:-0.0713):-0.0802)):((B02<=0.062045969069004066)?((CL_GREEN<=2.778666257858277)?((STI<=1.748494625091553)?((NDVI_RE2<=0.00286904291715473)?((NDVI_GREEN<=0.2692397832870484)?-0.0568:((NDVI<=0.39265298843383795)?0.0396:-0.0323)):-0.0565):-0.0745):((NBSI<=-0.07127466052770613)?-0.0613:((B02<=0.03419045358896256)?-0.0199:0.066))):((NBSI<=-0.1574296876788139)?-0.0518:((NDVI_RE1<=0.41288730502128607)?((B02<=0.12602672725915912)?((B03<=0.08766765519976617)?((NDVI_RE2<=0.06665093079209329)?((B01<=0.052441192790865905)?0.1248:0.0293):-0.0416):((B02<=0.07269713282585145)?-0.0577:((B01<=0.04741437360644341)?((B04<=0.12448374927043916)?0.058:-0.0279):-0.0315))):0.028):((NDVI<=0.5741828083992006)?0.3279:0.0528)))));
 }
 
 
 function pt28(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5145724415779116)?((STI<=1.323105573654175)?((STI<=1.1331367492675783)?((B04<=0.07192642986774446)?((NBSI<=0.13347954303026202)?-0.0139:0.0563):((NDVI_RE2<=0.026892334222793583)?0.078:((NDWI<=-0.16520314663648603)?((CL_GREEN<=0.8622690439224244)?((NDVI_RE2<=0.09838510677218439)?((B02<=0.10100125148892404)?((B03<=0.11890156194567682)?0.0158:-0.0732):((NBSI<=0.014652002137154342)?-0.037:0.0477)):0.074):0.0742):0.0824))):((B02<=0.12826388329267505)?((B03<=0.15046904236078265)?((NDVI_RE2<=-0.008495850022882221)?((NDVI_GREEN<=0.13027084618806842)?((NDWI<=-0.12855845689773557)?-0.153:((NDVI_GREEN<=0.05895834974944592)?-0.0231:0.0565)):((NBSI<=0.018735595978796486)?0.0006:((B04<=0.05142015591263772)?0.0246:0.0723))):((B02<=0.10380454733967782)?((B03<=0.1282046735286713)?((NDVI_RE1<=0.10350712761282922)?((NDVI_GREEN<=0.3078820854425431)?((NDVI_RE1<=1.0000000180025095e-35)?-0.0918:((NDVI<=0.09627846628427507)?0.0401:((NDVI_GREEN<=0.13659472763538363)?-0.0697:((B04<=0.12815856933593753)?((B02<=0.06914090365171434)?((B03<=0.07784198969602586)?-0.0085:-0.0882):0.0162):((B02<=0.09029246866703035)?-0.0976:0.0077))))):((B01<=0.038984343409538276)?-0.011:0.085)):((NDVI<=0.15876333415508273)?0.1136:((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.380191057920456)?((B02<=0.08729497343301774)?((B04<=0.11440277844667436)?0.0339:-0.0403):0.0578):0.0652):((NDVI_RE1<=0.18280434608459475)?((NDWI<=-0.26832075417041773)?((NDVI_GREEN<=0.43029105663299566)?-0.0263:0.038):((NDVI<=0.22383354604244235)?((NDVI_RE1<=0.1329019069671631)?-0.0087:0.0744):-0.0408)):((NDVI<=0.25857524573802954)?0.0843:((NBSI<=-0.13460346311330793)?-0.0532:((NDVI_RE1<=0.22271386533975604)?-0.0029:((NDVI<=0.3288708478212357)?0.0786:((NDVI_RE2<=0.09239843860268594)?0.0357:((NDVI_RE1<=0.2845685034990311)?-0.0402:0.0279)))))))))):-0.0721):((B01<=0.07691055163741113)?0.0736:((NBSI<=-0.025405615568161007)?-0.0188:0.0422)))):((NDVI_RE2<=0.06582656130194665)?-0.0776:0.0391)):((NDVI_GREEN<=0.1903062537312508)?((NBSI<=-0.11939819529652594)?-0.0243:0.0746):((B04<=0.206078477203846)?((B01<=0.10190454125404359)?0.0764:((NDVI_RE2<=0.060275439172983176)?0.0532:-0.0242)):((B02<=0.16062242537736895)?((B03<=0.189938098192215)?0.0169:-0.1315):((B01<=0.14414770156145099)?0.0621:-0.0361)))))):((NDVI_RE2<=0.07890122011303903)?((NDVI_RE1<=0.17773559689521792)?((NDVI_RE2<=-0.05119062401354312)?0.0412:((NDVI_RE1<=0.012542089913040401)?-0.0646:((NDVI<=0.16880741715431216)?((NDVI_RE1<=0.10846064612269403)?((NDVI<=0.09627846628427507)?0.0645:((NDVI_RE2<=0.004309716634452344)?0.0323:-0.0449)):0.1017):((NDVI_RE2<=0.019403125159442428)?((NDVI_RE1<=0.10846064612269403)?((NDVI_GREEN<=0.2652686387300492)?-0.0629:-0.0015):((NDVI<=0.26965312659740454)?0.0321:((NDVI_GREEN<=0.2692397832870484)?-0.078:0.0029))):((NDVI_RE1<=0.14740498363971713)?-0.0581:((NDVI<=0.21712666004896167)?0.0797:-0.0371)))))):((NDVI<=0.26224751770496374)?((B03<=0.09692708402872087)?0.1622:((NDWI<=-0.290214255452156)?-0.0038:0.0927)):((NDVI_RE2<=0.006991747999563814)?((B01<=0.09445248171687128)?0.053:-0.0338):((NDVI_RE1<=0.23560624569654467)?((NDVI<=0.3162324279546738)?((NDWI<=-0.3268184661865234)?((NDWI<=-0.41659614443778986)?0.0622:-0.0343):((NDVI_RE1<=0.21479062736034396)?0.012:0.088)):-0.0291):((NDVI<=0.3622031211853028)?((B03<=0.09187578037381174)?0.1274:((NDWI<=-0.36247250437736506)?0.0009:0.0763)):((NDVI_RE1<=0.2944221645593644)?-0.006:((NBSI<=-0.11668505892157553)?-0.0304:((B03<=0.10532546415925027)?((B02<=0.06971464306116106)?((B03<=0.09240317344665529)?((NDVI_RE1<=0.36771742999553686)?0.0449:0.1313):-0.0659):0.1099):((B02<=0.08462265878915788)?-0.065:0.0419))))))))):((NBSI<=0.024418457411229614)?((NBSI<=-0.2088358402252197)?-0.064:((NDVI<=0.17548989504575732)?0.0595:((NDVI_RE1<=0.23560624569654467)?-0.0409:((NDVI<=0.3328343182802201)?0.0835:((NDVI_RE1<=0.323624461889267)?((NDWI<=-0.4031736850738525)?-0.0378:0.0103):((NDVI<=0.46476015448570257)?0.0844:-0.0018)))))):((STI<=1.3871238231658938)?-0.0227:-0.066)))):((NDWI<=-0.5644080936908721)?((NDVI_RE2<=0.01345981424674392)?((STI<=1.8442108035087588)?0.0244:-0.0646):((STI<=1.7806743979454043)?((NDVI_RE2<=0.07046616077423097)?-0.0264:-0.0707):-0.0795)):((B02<=0.11010277643799783)?((STI<=1.748494625091553)?((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.32538090646266943)?((NDWI<=-0.3268184661865234)?-0.0868:((NDVI_RE1<=0.18821440637111667)?-0.0489:((NDVI<=0.32040624320507055)?0.1443:0.008))):((B02<=0.04817561432719231)?((NDWI<=-0.38982205092906946)?((CL_GREEN<=3.025187492370606)?-0.049:0.0258):0.0702):((B03<=0.07395751029253007)?0.0834:((B02<=0.05987116321921349)?-0.0498:((B03<=0.09572583436965944)?0.0547:-0.0061))))):((NDVI_RE1<=0.38447959721088415)?((NBSI<=-0.006625537062063812)?-0.0436:-0.0703):((NDVI<=0.5583937466144563)?((B01<=0.06054248288273812)?0.1545:-0.0107):-0.024))):((CL_GREEN<=3.4290853738784794)?-0.0696:0.0595)):((NDVI<=0.46476015448570257)?((NDVI_RE1<=0.323624461889267)?((B02<=0.23761110752820971)?-0.0035:0.0737):0.0898):-0.0546)));
 }
 
 
 function pt29(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5145724415779116)?((STI<=1.268606245517731)?((B02<=0.13886794447898868)?((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=0.07861664891242982)?((NDWI<=-0.0725390464067459)?-0.1468:((NDVI_GREEN<=1.0000000180025095e-35)?-0.0529:0.0512)):((NBSI<=0.03935468755662442)?((B01<=0.09880064427852632)?0.0289:-0.0613):((B04<=0.08166462182998659)?((NDVI_RE2<=-0.03619375079870223)?0.0698:0.0183):0.0764))):((B03<=0.16402678191661837)?((B02<=0.11180123314261438)?((B03<=0.13291762024164203)?((B04<=0.16666827350854876)?((B02<=0.03335136361420155)?-0.0252:((CL_GREEN<=1.4598762989044192)?((B02<=0.09137656167149545)?((B03<=0.1123677045106888)?((B02<=0.07892440259456636)?((B03<=0.09755014628171922)?((B04<=0.12947083264589312)?((B02<=0.06857759505510332)?((B03<=0.0851743407547474)?((B04<=0.11542733013629915)?0.0109:0.0831):-0.0642):((NBSI<=0.07287250831723215)?-0.0019:0.0549)):0.0888):((B01<=0.06456458568573)?-0.0749:0.0543)):((NBSI<=0.028245557099580768)?-0.0081:0.0561)):-0.0822):((B04<=0.11115099862217905)?((B01<=0.08658066391944887)?0.0431:-0.0533):((B04<=0.14341483265161517)?0.0645:((B03<=0.12130896002054216)?0.0749:((B02<=0.09961602836847307)?-0.0742:0.0337))))):((NBSI<=-0.07956904545426367)?-0.0317:0.0681))):0.0887):((NDVI_RE2<=0.07267748937010766)?((NDVI_GREEN<=0.3287046849727631)?-0.0886:-0.0124):0.0529)):((NBSI<=-0.03570332005620002)?-0.0175:((B01<=0.08272583410143854)?0.0752:((B04<=0.13480222225189212)?-0.0105:0.0516)))):((NDVI_RE2<=0.05112563446164132)?-0.1081:0.0003))):((NDVI_GREEN<=0.18531713634729388)?0.0807:((B01<=0.13435278087854388)?((B04<=0.2195733338594437)?0.0728:((B02<=0.17154773324728015)?-0.05:0.0737)):((NDVI_RE2<=0.060275439172983176)?0.0273:-0.0585)))):((NDVI_RE2<=0.07622363418340684)?((NDVI_GREEN<=-0.03240991197526454)?-0.0711:((NDVI_RE2<=-0.004883837886154651)?((B02<=0.031626971438527114)?-0.0071:((CL_GREEN<=1.6910117864608767)?((B02<=0.08462265878915788)?((B03<=0.09949970990419389)?((B03<=0.049799218773841865)?0.0862:((B02<=0.05671952478587628)?((B03<=0.0648285821080208)?((B02<=0.044819889590144164)?-0.0707:0.0389):-0.0785):((B03<=0.07453429326415063)?0.0785:((NBSI<=0.016704980283975605)?-0.0552:((B02<=0.06695322692394258)?-0.0199:0.0643))))):-0.0778):0.0536):((NBSI<=0.008441015612334015)?0.0006:0.0689))):((NDVI_RE1<=0.15246459841728213)?((NDVI<=0.15530385822057727)?((NDVI_RE1<=0.07992143556475641)?((NDVI<=0.08015815541148187)?((NDVI_RE1<=0.01797319389879704)?-0.0604:0.0831):((NDVI_GREEN<=0.18531713634729388)?-0.0661:0.0343)):((NDVI<=0.126569040119648)?0.1043:0.0458)):((NDVI_RE1<=0.1110069826245308)?((CL_GREEN<=1.042169749736786)?-0.0615:0.0071):((NDVI<=0.19142826646566394)?0.0361:((NDVI_RE2<=0.034533837810158736)?-0.0118:-0.0494)))):((NDVI<=0.22050224989652636)?((B03<=0.09817888587713243)?0.1679:0.0756):((NDVI_RE1<=0.21207749098539355)?((NDWI<=-0.3122135400772094)?((CL_GREEN<=1.4082869291305544)?-0.0295:((B01<=0.04602217674255372)?-0.0235:0.0349)):((NBSI<=-0.01354785170406103)?((NDVI<=0.25857524573802954)?0.0476:-0.0418):0.0496)):((NDVI<=0.32040624320507055)?((NDWI<=-0.3303243368864059)?((NDVI_GREEN<=0.42044702172279363)?-0.0018:0.1379):0.088):((NBSI<=-0.15993413329124448)?-0.062:((NDVI_RE1<=0.26976308226585394)?((STI<=1.3334583044052126)?0.0247:-0.0057):((B01<=0.10719124972820283)?((NDWI<=-0.4031736850738525)?((B03<=0.10532546415925027)?((B02<=0.07145178690552713)?((B03<=0.09240317344665529)?((NDVI_GREEN<=0.5449855029582978)?((B02<=0.060301041230559356)?0.0055:0.0808):((B02<=0.034825721755623824)?0.0166:0.1076)):-0.046):0.0884):((B02<=0.08462265878915788)?-0.0632:((B03<=0.13291762024164203)?0.061:-0.0409))):0.0801):-0.0335))))))))):((NBSI<=0.07287250831723215)?((NDVI<=0.2340677231550217)?((NDVI_RE1<=0.17505356669425967)?((NDVI<=0.16544179618358615)?((B04<=0.11763518676161767)?-0.0282:0.0724):-0.0294):0.0906):((NDVI_RE1<=0.2199927791953087)?-0.0463:((NDVI<=0.32040624320507055)?0.0686:((NDVI_RE1<=0.28695434331893926)?-0.0317:((NDVI<=0.4339026361703873)?0.0519:((NDVI_RE1<=0.33377441763877874)?-0.0361:((NDVI<=0.49765063822269445)?0.0463:((B01<=0.020784516818821434)?-0.061:((B04<=0.07821670919656755)?((NBSI<=-0.19190468639135358)?-0.0556:((B02<=0.054901514202356345)?0.0216:0.156)):-0.0255))))))))):((STI<=1.3871238231658938)?((NDVI<=0.21072914451360705)?0.0519:-0.0295):-0.0706)))):((NDWI<=-0.5644080936908721)?((NDVI_RE2<=0.0259086424484849)?((B04<=0.04453385435044766)?-0.0495:0.0442):((STI<=1.7859050035476687)?((NDVI_RE2<=0.07046616077423097)?-0.028:-0.0697):-0.0791)):((B02<=0.05987116321921349)?((CL_GREEN<=2.778666257858277)?((STI<=1.748494625091553)?-0.0488:-0.0729):((NDVI<=0.5779633224010469)?0.034:-0.0499)):((B02<=0.23761110752820971)?((B01<=0.03443535789847375)?((B04<=0.09811464697122575)?0.1195:0.0075):((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.3321822881698609)?((NBSI<=0.06596123054623605)?-0.0333:0.0633):((NDVI_RE2<=-1.0000000180025095e-35)?0.0522:-0.0006)):((CL_GREEN<=0.9420691430568696)?0.0015:-0.0439))):0.0667)));
 }
 
 
 function pt30(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5145724415779116)?((STI<=1.2149919271469118)?((B02<=0.1362387537956238)?((CL_GREEN<=0.9589622020721437)?((B03<=0.1610488146543503)?((B02<=0.10680788010358812)?((B03<=0.12532094120979312)?((NDVI_GREEN<=0.048014063388109214)?-0.0606:((B02<=0.09029246866703035)?((B03<=0.11042871326208116)?((NDVI<=0.13451108336448672)?0.054:((NDVI_GREEN<=0.1486560553312302)?-0.0716:((B02<=0.08207769691944124)?((B03<=0.09755014628171922)?0.0195:-0.0537):0.0548))):-0.0754):((NBSI<=0.026285595260560516)?-0.0039:0.0666))):((NDVI_RE2<=0.06665093079209329)?-0.0868:0.023)):((NBSI<=0.006308300886303187)?((B01<=0.0896708369255066)?0.0597:-0.0399):((B04<=0.17105077952146533)?0.0695:((B02<=0.12374580651521684)?((B03<=0.14595153182744983)?0.0569:-0.0763):0.076)))):-0.0881):((NBSI<=0.09266332909464838)?((B02<=0.06251833587884904)?-0.0224:0.0357):((B01<=0.0210945587605238)?-0.0058:((NDVI_RE2<=0.042587891221046455)?0.081:0.0535)))):((NDWI<=-0.16520314663648603)?((B01<=0.13435278087854388)?((B04<=0.228210523724556)?0.0699:((B02<=0.17154773324728015)?-0.0628:0.0673)):((NDVI_RE2<=0.044321143999695785)?0.0528:-0.0347)):0.083)):((NDVI_RE2<=0.06818032264709474)?((NDVI_RE2<=-0.03309721685945987)?((NDVI_GREEN<=-0.09261362254619597)?-0.0699:((B02<=0.023925089277327064)?-0.0214:((NDVI_GREEN<=0.17040834575891498)?((NDWI<=-0.17052649706602094)?-0.1237:0.0463):((NBSI<=0.006308300886303187)?0.0056:0.0613)))):((NDVI_RE1<=-0.008339843712747095)?-0.0793:((B02<=0.1053585670888424)?((B03<=0.12671381235122683)?((NDVI_RE1<=0.1701307147741318)?((B04<=0.16238205879926684)?((STI<=1.3442766666412356)?((CL_GREEN<=1.1579588651657107)?((B02<=0.08729497343301774)?((B03<=0.10085071623325349)?((B02<=0.07466711848974229)?((B03<=0.07598786801099779)?((B02<=0.058636385947465904)?((B03<=0.057079844176769264)?((B02<=0.043601643294096)?-0.0064:0.0853):-0.0484):0.0515):-0.0479):0.0314):-0.0755):0.0211):((B01<=0.04028458148241044)?-0.0097:0.0498)):-0.0239):0.1064):((B02<=0.08462265878915788)?((B03<=0.10696838796138765)?((NDVI<=0.2409009709954262)?0.123:((B02<=0.07604226469993593)?((B03<=0.09240317344665529)?((B02<=0.060301041230559356)?((NDVI_GREEN<=0.517701029777527)?((B03<=0.08043900877237321)?((B02<=0.051948139443993575)?((NDVI<=0.3328343182802201)?((NDVI_RE1<=0.20675697922706607)?0.0115:0.1135):-0.0238):0.0419):((B04<=0.11010101810097696)?-0.0808:0.0263)):((B04<=0.044847453013062484)?-0.0242:0.0693)):((NBSI<=-0.11416723579168318)?-0.0512:((NDVI_GREEN<=0.43670707941055303)?((B03<=0.08290072530508043)?0.0754:((B02<=0.06801850721240045)?-0.0286:0.0657)):0.0911))):((B04<=0.13480222225189212)?((B02<=0.07086091116070749)?-0.0753:((B03<=0.10085071623325349)?0.0291:-0.0711)):0.0874)):((NBSI<=-0.07681557536125182)?-0.014:0.0786))):-0.0617):((B01<=0.09320741519331933)?((B03<=0.11890156194567682)?0.0741:((B02<=0.09469501301646234)?-0.0469:0.0751)):((NBSI<=-0.025405615568161007)?-0.0491:0.0591)))):-0.0694):((B01<=0.1390786245465279)?((NBSI<=-0.13974130898714063)?-0.0688:((B02<=0.1483290269970894)?((B03<=0.17087922245264056)?((B04<=0.17341081053018573)?((NDVI_RE1<=0.11839243024587633)?((NBSI<=0.030088574625551704)?-0.037:0.0391):((B01<=0.09740234538912775)?0.0712:0.0289)):((B02<=0.1308928579092026)?((B03<=0.15046904236078265)?0.0599:-0.0698):0.0573)):-0.0907):0.0628)):((NDVI<=0.08015815541148187)?0.0679:-0.0261))))):((NDVI<=0.20123964548110965)?((NDVI_RE1<=0.13533662259578708)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0872:((NDVI<=0.14860527217388156)?0.0646:-0.0385)):0.0871):((NBSI<=0.09820322319865228)?((STI<=1.381537199020386)?((NDVI_RE1<=0.18821440637111667)?-0.0408:((NDVI<=0.28446918725967413)?0.0637:((NDVI_RE1<=0.2542502880096436)?-0.0189:((NDVI<=0.37092305719852453)?0.0711:((NBSI<=-0.11416723579168318)?-0.0312:((NDVI_RE1<=0.2968018054962159)?-0.0084:0.0354)))))):((NBSI<=-0.0021980956662446256)?((NBSI<=-0.2139034643769264)?-0.0634:((NDVI_RE1<=0.3985851109027863)?-0.0088:0.0483)):-0.0442)):((STI<=1.3601498007774355)?-0.0195:-0.0686))))):((NDWI<=-0.5644080936908721)?((NDVI_RE2<=0.05364853516221047)?((STI<=1.8442108035087588)?((NDVI_GREEN<=0.5649468600749971)?-0.0611:0.025):-0.0721):-0.0751):((STI<=1.748494625091553)?((B02<=0.0644010975956917)?((CL_GREEN<=2.5952501296997075)?((NDVI_RE2<=0.004309716634452344)?((NDVI_RE1<=0.21479062736034396)?-0.0408:((NDVI<=0.42583915591239935)?0.0809:-0.0191)):((NDVI_RE1<=0.38447959721088415)?-0.0571:((NDVI<=0.543138086795807)?0.1542:-0.0204))):((NDVI_RE2<=-0.07358540222048758)?0.0635:-0.0085)):((B01<=0.0465829186141491)?((NDVI_RE1<=0.39294819533824926)?((B03<=0.08766765519976617)?0.1202:((B02<=0.08043431490659715)?-0.0435:0.0491)):0.2029):((B02<=0.12602672725915912)?((NDVI_RE2<=0.060275439172983176)?((NDVI_RE1<=0.3210999965667725)?((B03<=0.08180931583046915)?0.0438:-0.0284):((NDVI<=0.4793779850006104)?0.1212:0.0147)):-0.0431):((B01<=0.10030156373977663)?0.0487:((NDVI<=0.151965044438839)?0.0592:-0.0393))))):((B04<=0.17105077952146533)?-0.0648:0.06)));
 }
 
 
 function pt31(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5145724415779116)?((STI<=1.2149919271469118)?((B02<=0.14200919866561892)?((NBSI<=0.18008374422788623)?((B03<=0.16719687730073932)?((NBSI<=0.018735595978796486)?((B01<=0.09740234538912775)?((B02<=0.09029246866703035)?-0.0103:0.044):-0.0516):((NDVI_GREEN<=0.048014063388109214)?-0.0601:((B02<=0.11748773232102395)?((B03<=0.13805885612964633)?((B02<=0.09706594422459604)?((B03<=0.1166234314441681)?((CL_GREEN<=0.9589622020721437)?((B02<=0.08290749788284303)?((B03<=0.09755014628171922)?0.0234:((NDVI_RE1<=0.13533662259578708)?-0.0941:0.007)):0.0548):((B02<=0.04872565902769566)?0.009:0.0637)):((B04<=0.16666827350854876)?-0.0771:0.0252)):0.0648):-0.0718):0.0697))):-0.0829):((B01<=0.019789993762969974)?-0.0221:((CL_GREEN<=0.9420691430568696)?((STI<=1.0970582962036135)?0.0822:((B01<=0.07055131718516351)?-0.0134:0.0633)):0.0797))):((NDWI<=-0.16520314663648603)?((B01<=0.15038280934095385)?0.0564:-0.0134):0.0828)):((NDVI_RE2<=0.06582656130194665)?((NDVI_RE2<=-0.04296430572867393)?((NDVI_GREEN<=-0.09261362254619597)?-0.0679:((B02<=0.03545078076422215)?0.0123:0.0551)):((NDVI_RE1<=-0.008339843712747095)?-0.0716:((B02<=0.11180123314261438)?((B03<=0.13128144294023517)?((NDVI_RE1<=0.1701307147741318)?((NDVI_GREEN<=0.3598115295171738)?((B02<=0.09029246866703035)?((B03<=0.10532546415925027)?((B02<=0.06971464306116106)?((B03<=0.07784198969602586)?((B02<=0.05635406263172627)?((B03<=0.057390609756112106)?((B02<=0.04384472407400609)?((B03<=0.04341328144073487)?((B02<=0.0329193975776434)?-0.0351:0.0819):-0.0594):0.0652):-0.0565):((NBSI<=0.07468403503298761)?((B03<=0.0648285821080208)?0.0757:-0.0433):0.0775)):-0.0714):((NBSI<=0.06949682533740999)?((B03<=0.08440237864851953)?0.039:-0.0432):0.044)):-0.0697):((NBSI<=0.03568061627447606)?((B03<=0.10613397508859636)?0.0276:-0.0458):((B03<=0.12532094120979312)?0.0514:-0.0189))):((B02<=0.04708753153681756)?((NDVI_GREEN<=0.45268544554710394)?-0.0372:((B04<=0.0627630688250065)?-0.024:0.0799)):((NDVI<=0.20753227174282077)?0.1225:0.0458))):((B02<=0.08923896774649621)?((B03<=0.11042871326208116)?((B02<=0.07604226469993593)?((B03<=0.09692708402872087)?((B04<=0.1198597624897957)?((NDVI<=0.24442593008279803)?0.1242:((B02<=0.06641361862421037)?((B03<=0.0851743407547474)?((B02<=0.05671952478587628)?((NDVI_GREEN<=0.5289515554904939)?((B03<=0.0754094496369362)?((NDVI<=0.3838898986577988)?((NDVI_RE1<=0.21207749098539355)?0.006:0.0751):((B02<=0.04872565902769566)?-0.0302:0.028)):-0.0582):((B02<=0.023231696337461475)?-0.0274:0.0715)):((NBSI<=-0.01354785170406103)?0.008:0.0703)):-0.0549):((NBSI<=-0.07408061623573302)?-0.0294:0.0629))):0.0959):((B04<=0.13617416471242907)?-0.0682:0.0585)):((B01<=0.07691055163741113)?0.0758:((NBSI<=-0.01354785170406103)?-0.038:0.0735))):-0.0603):((B01<=0.09195745736360551)?0.0679:((NBSI<=-0.03306982293725013)?-0.0398:0.0523)))):((B02<=0.10100125148892404)?-0.0892:((B03<=0.14000078290700915)?0.0072:-0.0812))):((B01<=0.15792916715145114)?((NBSI<=-0.13974130898714063)?-0.0743:((B02<=0.15203206241130832)?((B03<=0.17489226162433627)?((B01<=0.12365422397851945)?((B04<=0.1787202283740044)?((NDVI_RE1<=0.09610176086425783)?((NDVI_RE2<=0.027828369289636615)?0.0387:-0.0637):0.0657):((B02<=0.13355100154876712)?-0.044:0.0582)):((NBSI<=0.016704980283975605)?-0.0417:0.0491)):-0.0925):0.0593)):((CL_GREEN<=0.8788200020790101)?0.0024:-0.0783))))):((STI<=1.3653404116630556)?((NDVI<=0.19142826646566394)?((NDVI_RE1<=0.1329019069671631)?0.0057:0.0951):((NDVI_RE1<=0.20935487747192386)?((B01<=0.09078950807452203)?((B02<=0.10841339081525804)?-0.0257:0.0446):-0.0614):((NDVI<=0.30394615232944494)?0.0763:((NDVI_RE1<=0.25680805742740637)?-0.0183:((NDVI<=0.37537060678005224)?0.0701:0.0048))))):((NBSI<=0.05549311451613904)?((CL_GREEN<=0.5648686587810517)?0.0274:((NDVI_RE1<=0.3210999965667725)?((NDWI<=-0.43324717879295344)?-0.0477:((NDVI_RE1<=0.2593447864055634)?-0.0352:((NDVI<=0.37092305719852453)?0.0693:-0.0062))):((NDVI<=0.46476015448570257)?0.0671:((NDVI_RE2<=0.0993814952671528)?((NBSI<=-0.16233124583959577)?-0.0594:((NDVI_RE1<=0.38173642754554754)?0.0044:0.0981)):-0.0276)))):-0.0595)))):((NDWI<=-0.5644080936908721)?((NDVI_RE2<=0.05863818340003491)?((STI<=1.7753232121467593)?0.0038:-0.0658):-0.0745):((STI<=1.759184777736664)?((B02<=0.0644010975956917)?((CL_GREEN<=2.5952501296997075)?((NDVI_RE2<=0.0259086424484849)?((NDVI_GREEN<=0.17040834575891498)?-0.0675:((NDVI<=0.31210766732692724)?0.0527:-0.0263)):((NDVI_RE1<=0.37906250357627874)?-0.0584:-0.0057)):0.0071):((B01<=0.0465829186141491)?((NDVI_RE1<=0.4013453125953675)?((B03<=0.09087525680661203)?0.0918:((B02<=0.07892440259456636)?-0.0521:0.0439)):0.193):((B02<=0.11010277643799783)?((NDVI_RE2<=0.060275439172983176)?((B03<=0.10085071623325349)?((NDVI_GREEN<=0.45914448797702795)?-0.0011:0.0896):-0.037):-0.0448):((B01<=0.09320741519331933)?((NDVI_RE1<=0.26455278694629675)?0.0049:0.0811):((NDVI<=0.17860116809606555)?0.0483:-0.0344))))):-0.062));
 }
 
 
 function pt32(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5257589817047121)?((STI<=1.2066099643707278)?((B02<=0.14508166909217837)?((NBSI<=0.18008374422788623)?((B03<=0.17087922245264056)?((NBSI<=0.018735595978796486)?((B01<=0.11577638983726503)?((B03<=0.12400087714195253)?-0.0084:0.0488):-0.0757):((B02<=0.11748773232102395)?((B03<=0.13805885612964633)?((NDVI_GREEN<=0.0694268085062504)?-0.0562:((B02<=0.09706594422459604)?((B03<=0.1177211031317711)?((CL_GREEN<=0.9589622020721437)?((B02<=0.08290749788284303)?((B03<=0.09949970990419389)?((NDVI<=0.13451108336448672)?0.0549:((NDVI_GREEN<=0.18531713634729388)?-0.0549:0.0183)):-0.0685):0.0526):((B02<=0.037773763760924346)?-0.0154:0.0604)):((NDVI_GREEN<=0.3219416439533234)?-0.0836:0.0159)):0.0632)):((NDVI_GREEN<=0.2937012761831284)?-0.0924:-0.0036)):0.0659)):-0.0887):((B01<=0.021990550681948665)?-0.0125:((CL_GREEN<=0.9420691430568696)?((STI<=1.0970582962036135)?0.0806:((B01<=0.07055131718516351)?-0.0116:0.062)):0.0792))):((NDWI<=-0.16520314663648603)?((B01<=0.13435278087854388)?((B04<=0.228210523724556)?0.0718:0.0039):0.0054):0.083)):((STI<=1.3442766666412356)?((B02<=0.11010277643799783)?((B03<=0.13128144294023517)?((CL_GREEN<=1.6020361185073855)?((B02<=0.08375453203916551)?((B03<=0.10374082997441293)?((B02<=0.07086091116070749)?((B03<=0.08854399621486665)?((B02<=0.058636385947465904)?((B03<=0.06906982138752939)?((B02<=0.045789211988449104)?((B03<=0.04671584814786912)?((B02<=0.03523561917245389)?((NDVI_GREEN<=0.16518501192331317)?-0.0726:-0.0006):0.055):-0.0464):((B03<=0.05803415179252625)?0.0638:((B04<=0.06630077958106996)?-0.0502:0.0327))):-0.0527):((NBSI<=0.09640625119209291)?0.0104:0.0504)):((B04<=0.13083866983652118)?-0.0783:0.0265)):((CL_GREEN<=0.8470142483711244)?0.0058:((NBSI<=-0.022962938994169232)?-0.0188:0.055))):((B04<=0.1565690413117409)?-0.0681:0.0289)):((NBSI<=-0.02051328122615814)?((B01<=0.08007953315973283)?0.0359:-0.0283):((B03<=0.1177211031317711)?((CL_GREEN<=0.8317038118839265)?0.0302:0.0659):((B02<=0.09469501301646234)?-0.0488:((NDVI_GREEN<=0.21322158724069598)?-0.0343:0.0531))))):((B01<=0.016569104045629505)?-0.0323:((NBSI<=-0.0158623531460762)?-0.0155:((NDVI_RE2<=0.09442900493741037)?0.0648:0.0022)))):-0.0577):((NBSI<=-0.04929843731224536)?((CL_GREEN<=0.186455711722374)?0.0786:((NDVI_RE1<=0.14740498363971713)?-0.0889:((B01<=0.10190454125404359)?0.0467:-0.0216))):((B02<=0.1483290269970894)?((B03<=0.17087922245264056)?((B01<=0.09590333327651025)?((B04<=0.16666827350854876)?0.0707:((B02<=0.12162440270185472)?-0.0428:0.0639)):((NDVI_RE2<=0.0627037100493908)?0.0356:-0.0336)):-0.0681):((B01<=0.13050333410501483)?0.0687:((NDVI<=0.16206493973731997)?0.0578:-0.0061))))):((NDVI_RE2<=0.09290732443332674)?((NDVI_RE1<=0.22271386533975604)?((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0668:((NDVI_RE2<=-0.07358540222048758)?0.0493:((B02<=0.05224461108446122)?((B03<=0.05340078100562096)?((B02<=0.03733175247907639)?-0.0148:0.0858):((NDVI_GREEN<=0.44000415503978735)?-0.0642:0.0369)):((NBSI<=0.0503569319844246)?0.0028:0.0402)))):((B02<=0.04817561432719231)?-0.0479:((CL_GREEN<=0.34793071448802954)?((NDVI_RE1<=0.023243115283548835)?-0.0805:0.0487):((NDVI_RE1<=0.13042353838682177)?-0.0492:((NDVI<=0.20123964548110965)?0.0812:((NDVI_GREEN<=0.45268544554710394)?((CL_GREEN<=0.8167875111103059)?((NDVI_RE1<=0.15494769811630252)?-0.0475:((NDVI<=0.2548899948596955)?0.0639:-0.0158)):((NBSI<=-0.03306982293725013)?-0.0698:-0.0247)):0.0636)))))):((NDVI<=0.3328343182802201)?((B03<=0.08253202587366106)?0.1536:((NDWI<=-0.34506456553936)?((NDVI_GREEN<=0.4071627408266068)?-0.0312:0.0831):0.0829)):((NDVI_RE2<=0.01345981424674392)?((NBSI<=-0.04653061553835868)?-0.0103:0.056):((NDVI_RE1<=0.2944221645593644)?((NDWI<=-0.39319068193435663)?-0.0231:((NBSI<=-0.04653061553835868)?-0.011:0.0408)):((NBSI<=-0.13974130898714063)?-0.037:((NDVI_RE1<=0.365093544125557)?((NDVI<=0.44571338593959814)?0.0545:((B03<=0.11554257199168207)?((B02<=0.07086091116070749)?((B03<=0.09240317344665529)?0.0177:-0.0643):0.0539):-0.0382)):0.0808)))))):((NBSI<=0.0206858403980732)?((CL_GREEN<=0.582307130098343)?0.0295:((NDVI_RE1<=0.28695434331893926)?-0.0452:((NDVI<=0.40986122190952307)?0.0736:-0.0172))):((NDVI<=0.2998929619789124)?((NDVI_RE1<=0.20935487747192386)?-0.0311:0.1389):-0.0637))))):((NDWI<=-0.5644080936908721)?((NDVI_RE2<=-0.006635351572185754)?((B04<=0.033501762896776206)?-0.0461:0.0529):((STI<=1.7959281206130984)?((NDVI_RE2<=0.07046616077423097)?-0.0216:-0.0661):-0.0775)):((STI<=1.812153995037079)?((B02<=0.07145178690552713)?((CL_GREEN<=2.5952501296997075)?((NDVI_RE1<=0.39025855064392095)?((NDWI<=-0.49248664081096644)?-0.063:((NDVI_GREEN<=0.07861664891242982)?-0.0756:((NDWI<=-0.17589569091796872)?-0.0325:0.1669))):((NDVI<=0.543138086795807)?0.1439:-0.013)):((NDVI_RE2<=-0.04296430572867393)?0.0545:-0.0111)):((B01<=0.050431367009878166)?((NDVI_RE1<=0.39025855064392095)?0.0162:0.151):((B02<=0.23761110752820971)?((NDVI_RE2<=-0.022470312193036076)?0.0303:-0.024):0.0614))):-0.0662));
 }
 
 
 function pt33(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5405033230781557)?((STI<=1.2877417206764223)?((STI<=1.1190367341041567)?((NBSI<=0.041253857314586646)?((B04<=0.16666827350854876)?((B01<=0.09740234538912775)?((B04<=0.11872766539454462)?-0.0283:0.0568):-0.1089):0.0805):((B02<=0.022875499911606315)?-0.0348:((NDVI_RE2<=0.021679053083062175)?0.0763:((STI<=1.090752720832825)?0.0665:0.0377)))):((B02<=0.12602672725915912)?((B03<=0.14595153182744983)?((NDVI_RE2<=-0.014129589777439831)?((NDVI_GREEN<=0.11712084710597993)?((NDWI<=-0.10673359036445616)?-0.1078:((NDVI_GREEN<=0.05895834974944592)?-0.0169:0.0632)):((NBSI<=0.04863115213811398)?0.0022:0.0682)):((B02<=0.10100125148892404)?((B03<=0.12130896002054216)?((CL_GREEN<=1.5483346581459048)?((B02<=0.08043431490659715)?((B03<=0.10155119001865388)?((NDVI_RE1<=0.006617822451516987)?-0.0829:((B04<=0.13480222225189212)?((B02<=0.06914090365171434)?((B03<=0.08724086731672288)?((B02<=0.059043304994702346)?((B03<=0.07312709465622903)?((B02<=0.05016706325113774)?((B03<=0.057390609756112106)?0.0045:-0.0469):0.0357):-0.0634):((NBSI<=0.09640625119209291)?0.0025:0.0483)):-0.0763):0.0247):0.0824)):((B04<=0.15489145368337634)?-0.0761:0.0595)):((NBSI<=0.006308300886303187)?((B01<=0.07616676390171052)?0.0321:-0.0392):((B03<=0.1123677045106888)?0.0531:((B02<=0.09137656167149545)?-0.041:0.0507)))):((B04<=0.07312165200710298)?((B04<=0.03136377781629563)?-0.0586:0.0093):((NBSI<=0.008441015612334015)?0.0007:0.0719))):((B04<=0.1787202283740044)?-0.0652:0.0513)):((B01<=0.0668299123644829)?0.0775:((NDVI_RE2<=0.042587891221046455)?0.0496:((B01<=0.0896708369255066)?0.0319:((B04<=0.12565166503190997)?-0.0636:0.0082)))))):((NDVI_RE2<=0.07046616077423097)?-0.0685:0.0472)):((NBSI<=-0.04929843731224536)?((NDVI_GREEN<=0.0951531268656254)?0.0729:((NDVI_RE1<=0.18821440637111667)?-0.0812:0.0036)):((NDWI<=-0.1865568086504936)?((B04<=0.206078477203846)?((B01<=0.11107559874653818)?0.0685:((NDVI_RE2<=0.05863818340003491)?0.0561:-0.0372)):((B02<=0.16062242537736895)?((B03<=0.189938098192215)?0.0152:-0.117):0.0354)):0.0699)))):((NDVI_RE2<=0.09442900493741037)?((CL_GREEN<=2.1675282716751103)?((B02<=0.05786016210913659)?((B03<=0.06906982138752939)?((B02<=0.04817561432719231)?((B03<=0.04671584814786912)?((B02<=0.037124127149581916)?((B02<=0.030043932609260086)?((B03<=0.031903348863124854)?-0.0132:-0.0678):((B03<=0.03490845300257207)?0.1407:-0.0172)):0.0931):((NDVI_GREEN<=0.22598373889923098)?-0.0844:((B02<=0.04174775071442128)?-0.055:((B03<=0.05610442720353604)?0.0614:-0.0318)))):((B03<=0.05867516994476319)?0.078:((NDVI_GREEN<=0.2652686387300492)?-0.0565:0.0418))):((B04<=0.1198597624897957)?-0.0618:0.1083)):((B03<=0.08290072530508043)?((B01<=0.05828982777893544)?0.0712:((NBSI<=0.06949682533740999)?-0.0001:0.062)):((B02<=0.07269713282585145)?((B03<=0.09187578037381174)?((B02<=0.06392236426472665)?-0.048:((NDVI_GREEN<=0.3287046849727631)?-0.0459:0.0531)):((B04<=0.14187757670879367)?-0.0709:0.0831)):((B03<=0.10295885428786279)?((B01<=0.07538722828030588)?((NDVI_GREEN<=0.1486560553312302)?-0.0147:0.0665):((NBSI<=0.07811884954571725)?-0.0124:0.0608)):((B02<=0.08923896774649621)?((B03<=0.1123677045106888)?((B02<=0.07892440259456636)?-0.0588:((NDVI_GREEN<=0.2867670953273774)?-0.0789:0.0351)):-0.0697):((NDVI_RE1<=0.18821440637111667)?((NDVI_RE2<=0.021679053083062175)?((NDVI_RE1<=-1.0000000180025095e-35)?-0.0256:0.0288):((NDVI<=0.10545512661337854)?((NDVI_RE1<=0.04442031309008599)?-0.0295:0.073):((NDVI_RE1<=0.1208774894475937)?-0.0635:((NDVI<=0.20426249504089358)?0.0455:-0.0316)))):((B01<=0.12365422397851945)?((B02<=0.12162440270185472)?((B03<=0.1437979191541672)?((B01<=0.07260294258594514)?((B04<=0.13335108757019046)?0.0826:((B02<=0.10100125148892404)?-0.0491:0.0773)):0.0181):-0.0637):0.0655):-0.0223))))))):((B01<=0.018275338225066665)?-0.0356:((B01<=0.10030156373977663)?((NBSI<=-0.15005259215831754)?-0.0542:((NDWI<=-0.5887944400310515)?0.1129:((NDVI<=0.42188565433025366)?0.0727:((B02<=0.05320839025080205)?((CL_GREEN<=2.733966231346131)?-0.0132:0.0389):((B03<=0.08854399621486665)?0.0864:((B02<=0.0649135932326317)?-0.0488:0.0558)))))):-0.0946))):((NDWI<=-0.3967169672250747)?((NBSI<=0.006308300886303187)?-0.0146:((STI<=1.3871238231658938)?-0.029:-0.0666)):((NDVI_RE1<=0.24615854024887088)?((NDVI<=0.24442593008279803)?((NDVI_GREEN<=0.048014063388109214)?-0.0558:0.0408):-0.0377):((NDVI<=0.3413531184196473)?0.0857:0.016))))):((NDWI<=-0.5618591010570525)?((NDVI_RE2<=-0.008495850022882221)?0.0077:((STI<=1.7959281206130984)?((NDVI_RE2<=0.08215507492423059)?((CL_GREEN<=3.400943994522095)?-0.0473:0.0091):-0.0666):-0.0769)):((STI<=1.8228190541267397)?((NDVI_RE2<=-0.03619375079870223)?((NDVI_GREEN<=0.05895834974944592)?-0.0787:0.0263):((B02<=0.06544505059719087)?((NDVI_RE1<=0.41004189848899847)?-0.0472:((NBSI<=-0.15993413329124448)?-0.0428:0.1618)):((CL_GREEN<=0.3676504939794541)?0.0446:((B01<=0.04138750024139882)?((B04<=0.10152247548103334)?0.0917:-0.0079):-0.023)))):-0.0658));
 }
 
 
 function pt34(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.556247413158417)?((STI<=1.328301548957825)?((STI<=1.1190367341041567)?((NBSI<=0.041253857314586646)?((B04<=0.16666827350854876)?((B01<=0.09078950807452203)?-0.0044:-0.0864):0.0795):((NDVI_RE2<=0.021679053083062175)?0.0743:((STI<=1.090752720832825)?0.0627:0.0337))):((B02<=0.13355100154876712)?((B03<=0.15526540577411654)?((NDVI_RE2<=0.034533837810158736)?((NDVI_GREEN<=0.13027084618806842)?((NDWI<=-0.13522861152887342)?-0.168:((NDVI_GREEN<=0.08702031150460245)?((NDWI<=-0.09049139916896819)?-0.1462:((NDVI_RE1<=1.0000000180025095e-35)?((NDVI_RE2<=-0.03619375079870223)?0.0089:-0.0802):0.0428)):0.0515)):((NDVI_GREEN<=0.3391032218933106)?((B02<=0.10680788010358812)?((B03<=0.12671381235122683)?((NDVI_RE2<=-0.03619375079870223)?((B02<=0.04408183693885804)?-0.0054:0.0668):((B02<=0.08729497343301774)?((B03<=0.10450260713696481)?((B02<=0.07145178690552713)?((B03<=0.08599451929330827)?((B02<=0.059449218213558204)?((B03<=0.06510064005851747)?0.0153:-0.0728):0.0394):-0.0895):0.0428):-0.0846):((NBSI<=-0.008820996154099701)?-0.0276:0.0563))):-0.0876):((NBSI<=-0.01814477518200874)?-0.0121:0.0673)):((NBSI<=-0.06015141680836677)?-0.0686:((B01<=0.02140156272798777)?-0.0031:((NBSI<=0.07636733353137971)?0.0362:0.0711))))):((NDVI_RE1<=0.16230156272649768)?((NDVI<=0.14527748525142672)?((NDVI_RE1<=0.09340712800621988)?((NDVI_RE1<=0.04442031309008599)?-0.0822:((NDVI<=0.10988955199718477)?0.0619:-0.0349)):0.0997):((CL_GREEN<=1.190575957298279)?((NDWI<=-0.264309749007225)?-0.0318:((NDVI_RE1<=0.12325952202081682)?-0.0275:((NDVI<=0.20123964548110965)?0.0607:((CL_GREEN<=0.5477968752384187)?-0.0621:0.0232)))):((B02<=0.03250073455274106)?-0.0469:0.0436))):((NDVI<=0.23066874593496325)?0.0805:((NDVI_RE1<=0.19872817397117618)?((NDVI_RE2<=0.060275439172983176)?((NDWI<=-0.3122135400772094)?-0.0048:0.0479):-0.0256):((NDVI<=0.30394615232944494)?((NDVI_RE1<=0.22544038295745852)?0.0379:0.0873):((NBSI<=-0.1295739263296127)?-0.05:((NDVI_RE1<=0.2620453536510468)?((NDVI_RE2<=0.08086308836936952)?0.0189:-0.0286):((NDVI<=0.388244241476059)?0.0711:((B01<=0.01703985314816237)?-0.0407:0.0309))))))))):((NDVI_RE2<=0.06582656130194665)?-0.0772:0.0396)):((NBSI<=-0.04653061553835868)?((NDVI_GREEN<=0.0951531268656254)?0.0841:((NDVI_RE1<=0.15733867138624194)?-0.0822:0.0041)):((NDWI<=-0.1865568086504936)?((B04<=0.21223857253789905)?((B01<=0.10190454125404359)?0.0772:((NDVI_RE2<=0.07553383708000184)?0.0468:-0.0564)):((B02<=0.16571547091007235)?-0.0591:0.0336)):0.0679)))):((NDVI_RE2<=0.08751294016838075)?((NDVI_RE1<=0.21733164042234424)?((NDVI_RE2<=0.004309716634452344)?((NDVI_GREEN<=-0.03240991197526454)?-0.0723:((NDVI_RE2<=-0.0814605951309204)?0.0491:((B02<=0.0538686215877533)?((B03<=0.053072396665811546)?((B02<=0.036480307579040534)?-0.0183:0.0719):((NDVI_GREEN<=0.41711547970771795)?-0.0579:0.0273)):((NDVI_GREEN<=0.3731461316347123)?((B03<=0.06723110750317575)?0.0774:((B02<=0.07604226469993593)?((B03<=0.08478516340255739)?((B04<=0.07071055099368097)?-0.0578:0.0325):-0.0741):((B03<=0.09513485059142114)?0.0759:((B02<=0.08923896774649621)?-0.0398:0.0274)))):0.0686)))):((B02<=0.04817561432719231)?-0.0456:((NDVI<=0.21712666004896167)?((NDVI_RE1<=0.14009204506874087)?((NDVI<=0.126569040119648)?((NDVI_RE1<=0.06500556692481042)?((NDVI<=0.0609327144920826)?((NDVI_RE1<=0.012542089913040401)?-0.0746:0.0902):-0.0659):0.0748):-0.0343):0.0751):((CL_GREEN<=1.5842652916908266)?((NDVI_RE1<=0.15733867138624194)?-0.0502:((NDVI<=0.26224751770496374)?((NDWI<=-0.29761244356632227)?-0.036:0.046):-0.0286)):0.0307)))):((NDVI<=0.32040624320507055)?((B03<=0.0754094496369362)?0.1632:((NDWI<=-0.3303243368864059)?((NDVI_GREEN<=0.4104285687208176)?-0.0184:0.1061):0.0841)):((NDVI_RE2<=0.01345981424674392)?((B01<=0.0818055532872677)?0.048:-0.0218):((NDVI_RE1<=0.27716182172298437)?((NDVI<=0.36650180816650396)?((NDVI_RE1<=0.248970702290535)?-0.0088:0.0471):-0.0234):((NDVI<=0.41774740815162664)?0.0576:((NDVI_RE1<=0.3412813544273377)?-0.0048:((NBSI<=-0.15005259215831754)?-0.044:((NDVI_RE1<=0.4043699204921723)?0.0393:0.1225)))))))):((NBSI<=0.030088574625551704)?((CL_GREEN<=0.66087344288826)?0.0207:((NDVI_RE1<=0.28695434331893926)?-0.04:((NDVI<=0.41774740815162664)?0.059:((NDVI_RE1<=0.3594877421855927)?-0.0299:((NDVI<=0.5052433311939241)?0.0973:-0.01))))):((NDVI<=0.3247791528701783)?((NDVI_RE1<=0.23560624569654467)?-0.0279:0.1525):-0.063)))):((NDWI<=-0.5618591010570525)?((NDVI_RE2<=0.0227322755381465)?((NDVI_GREEN<=0.5553296804428102)?-0.0782:((NDVI<=0.6756237447261811)?0.0513:-0.0425)):((STI<=1.7959281206130984)?-0.0607:-0.0765)):((STI<=1.8228190541267397)?((B02<=0.11010277643799783)?((NDVI_RE2<=-0.03619375079870223)?((NDVI_GREEN<=0.2616051137447358)?-0.0448:0.0299):((NDVI_RE1<=0.41288730502128607)?((NDVI_RE1<=0.33869116008281713)?-0.0465:((NDVI<=0.49392700195312506)?0.0866:-0.0374)):((NBSI<=-0.1699154824018478)?-0.0383:((NDVI<=0.5930861234664918)?0.2133:0.0439)))):((NDVI<=0.23066874593496325)?0.0496:((B01<=0.11328282579779626)?((NDVI_RE1<=0.23811025172472003)?-0.0432:0.038):-0.0537))):-0.0643));
 }
 
 
 function pt35(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.556247413158417)?((STI<=1.2108089923858645)?((B02<=0.16062242537736895)?((NBSI<=0.18343691527843478)?((NBSI<=0.006308300886303187)?((B01<=0.08758090808987619)?((B02<=0.09029246866703035)?-0.0073:0.0481):-0.038):((B03<=0.18426073342561725)?((B02<=0.1154933348298073)?((B03<=0.1363918632268906)?((NDVI_GREEN<=0.08702031150460245)?((NDWI<=-0.0725390464067459)?-0.1238:((NDVI_GREEN<=1.0000000180025095e-35)?-0.0716:0.0464)):((NDVI_RE2<=-0.004883837886154651)?0.0601:((B02<=0.09706594422459604)?((B03<=0.1123677045106888)?((B02<=0.07892440259456636)?((NDVI_GREEN<=0.397048830986023)?((B03<=0.09633446484804155)?((B02<=0.06801850721240045)?((B03<=0.08290072530508043)?0.0093:-0.0595):0.0427):-0.0574):((B04<=0.08025865256786348)?-0.0006:0.0749)):0.0524):((NDVI_GREEN<=0.29726518690586096)?((B04<=0.13617416471242907)?0.005:-0.0988):0.0066)):0.0538))):((NDVI_GREEN<=0.3114387691020966)?-0.0871:0.0054)):((B04<=0.188202939927578)?0.0636:((B02<=0.1362387537956238)?((B03<=0.16402678191661837)?0.0439:-0.0903):0.0643))):-0.0848)):((NDVI_RE2<=0.05112563446164132)?0.0725:((B01<=0.05110151506960393)?-0.0099:0.0612))):((NDWI<=-0.17052649706602094)?0.0378:0.0822)):((B02<=0.04817561432719231)?((B04<=0.09983051940798761)?((B01<=0.03424120694398881)?((B03<=0.06456569209694864)?((NDVI_RE2<=0.10865947231650354)?((NDVI_GREEN<=0.13659472763538363)?-0.0733:((B02<=0.04107515886425973)?((B03<=0.048645384609699256)?((B02<=0.03184409812092782)?-0.019:((B03<=0.03878153488039971)?0.0969:0.0092)):((CL_GREEN<=2.6867834329605107)?-0.0637:0.0317)):0.0289)):-0.0522):-0.0772):((CL_GREEN<=2.802366733551026)?((B03<=0.04296443611383439)?((NDVI<=0.2732515633106232)?0.0881:0.0004):((NDVI_GREEN<=0.23021430522203448)?-0.0723:((NDVI<=0.2958944290876389)?((B03<=0.06316692754626275)?0.0543:-0.0788):-0.0253))):((NBSI<=-0.07681557536125182)?-0.019:0.066))):0.0836):((NDVI_RE2<=0.009643310680985452)?((NDVI_GREEN<=0.13659472763538363)?((NDWI<=-0.13522861152887342)?-0.1161:((NDVI_RE1<=-1.0000000180025095e-35)?-0.0223:((NDVI<=0.053988868370652206)?0.1092:0.035))):((NBSI<=0.006308300886303187)?((B01<=0.10906458273530008)?((B02<=0.08462265878915788)?-0.006:0.0534):-0.0708):((CL_GREEN<=1.6383758187294009)?((B02<=0.07466711848974229)?((B03<=0.09187578037381174)?((B02<=0.059449218213558204)?((B03<=0.06906982138752939)?0.0498:-0.0689):0.0492):-0.0749):0.0523):0.0676))):((NBSI<=-0.17752534151077268)?((NDVI_RE2<=0.1246543936431408)?-0.067:0.0091):((B02<=0.11010277643799783)?((B03<=0.13456431776285174)?((NDVI_RE1<=0.39294819533824926)?((NDVI_RE2<=0.09290732443332674)?((B03<=0.0797676518559456)?((B04<=0.10532441362738611)?((NDVI_RE1<=0.2620453536510468)?((B03<=0.06108932197093964)?0.0683:((B02<=0.054901514202356345)?-0.0316:((B01<=0.044224502518773086)?0.0638:0.0079))):0.0635):0.1227):((B02<=0.0767515152692795)?((B03<=0.09633446484804155)?((B02<=0.0644010975956917)?((B04<=0.1268424764275551)?((B01<=0.056120157241821296)?-0.0599:0.0205):0.0997):((NDVI_GREEN<=0.3731461316347123)?((B01<=0.04602217674255372)?0.039:-0.0289):0.0576)):((B04<=0.1512982100248337)?((B01<=0.06102052703499795)?-0.0741:-0.0151):0.0795)):((B03<=0.10954647883772851)?((B01<=0.07538722828030588)?((NDVI_RE1<=0.1425707042217255)?0.0126:0.0677):-0.005):((B02<=0.09029246866703035)?((B03<=0.11554257199168207)?-0.0197:-0.0683):((NDVI_RE1<=0.17253246903419497)?((NBSI<=0.024418457411229614)?-0.0651:0.003):((B01<=0.06628697365522386)?((B04<=0.13617416471242907)?0.0826:((B02<=0.09706594422459604)?-0.037:0.0739)):0.0193)))))):((STI<=1.3762062191963198)?((NDVI<=0.20753227174282077)?0.0781:((NDVI_RE1<=0.2794806510210038)?-0.0118:0.0298)):((NBSI<=-0.038366064429283135)?-0.0046:((NDVI<=0.24791220575571063)?0.0694:-0.0556)))):((B04<=0.07562782615423204)?0.1454:((NDVI_GREEN<=0.5423451960086824)?0.1145:0.002))):-0.0636):((B01<=0.10361535474658014)?((NDVI_RE1<=0.17253246903419497)?((CL_GREEN<=0.6146293580532075)?((NDVI_RE1<=0.08256332948803903)?((B02<=0.156236045062542)?-0.0557:0.0493):0.0533):((B03<=0.15046904236078265)?0.0295:((B02<=0.1308928579092026)?-0.0776:((B03<=0.17924222350120547)?0.0351:-0.0532)))):((NDVI_GREEN<=0.2832608819007874)?0.0733:((B04<=0.16666827350854876)?((NDVI_RE2<=0.09491098672151567)?0.0639:0.0061):((B02<=0.13355100154876712)?-0.0358:0.0549)))):((NDVI<=0.08015815541148187)?0.0661:((NDVI_RE1<=0.068004347383976)?-0.1026:((NDVI<=0.126569040119648)?0.0711:((B01<=0.15792916715145114)?((NDVI_RE1<=0.11839243024587633)?-0.054:((NDVI_RE2<=0.060275439172983176)?0.0272:-0.0132)):-0.0478)))))))))):((NDWI<=-0.5618591010570525)?((NDVI_RE2<=0.0227322755381465)?((STI<=1.9655944108963015)?((NDVI_GREEN<=0.5649468600749971)?-0.0544:0.0393):-0.0757):((STI<=1.7959281206130984)?-0.0592:-0.0758)):((STI<=1.8228190541267397)?((NDVI_RE2<=-0.024895849637687203)?((NDVI_GREEN<=0.05895834974944592)?-0.0769:0.0198):((B02<=0.062045969069004066)?-0.0449:((B01<=0.03462516702711583)?0.0646:((B04<=0.188202939927578)?-0.0244:0.0324)))):-0.0628));
 }
 
 
 function pt36(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.556247413158417)?((STI<=1.3334583044052126)?((STI<=1.1190367341041567)?((B04<=0.0989782363176346)?((NBSI<=0.10360278561711313)?-0.0308:((B02<=0.022875499911606315)?-0.0349:0.0623)):((NDVI_RE2<=0.021679053083062175)?0.0753:((NDWI<=-0.16520314663648603)?((NDVI_GREEN<=0.3321822881698609)?0.0226:0.078):0.0777))):((B02<=0.12826388329267505)?((B03<=0.15046904236078265)?((NDVI_RE2<=-0.03309721685945987)?((NDVI_GREEN<=0.1486560553312302)?((NDVI<=0.14860527217388156)?0.0238:-0.0844):((NBSI<=0.0206858403980732)?-0.0205:0.0652)):((NDVI_RE1<=-0.017756347544491288)?-0.0925:((B02<=0.10236771032214166)?((B03<=0.12400087714195253)?((B04<=0.16033466905355456)?((CL_GREEN<=1.6211632490158083)?((B02<=0.08290749788284303)?((B03<=0.10374082997441293)?((B02<=0.07086091116070749)?((B03<=0.09087525680661203)?((B04<=0.1198597624897957)?((B02<=0.058636385947465904)?((B03<=0.07425058260560037)?((B02<=0.05016706325113774)?((B03<=0.055793933570384986)?((B02<=0.04174775071442128)?((B03<=0.041646251454949386)?0.0125:-0.0406):0.0426):-0.0436):((NBSI<=0.12920556217432025)?((B03<=0.057079844176769264)?0.0574:((NDVI_RE1<=0.11839243024587633)?-0.0752:0.0142)):0.0574)):-0.0773):((B03<=0.08325061202049257)?((NBSI<=0.0944611355662346)?((B01<=0.0455140732228756)?0.0533:-0.0098):0.0545):((B02<=0.06344648450613023)?-0.0748:0.0002))):0.0746):((B01<=0.05962087027728558)?-0.0842:0.0201)):((CL_GREEN<=0.8470142483711244)?((B01<=0.04348806850612164)?0.0657:-0.0043):0.0436)):((B01<=0.06510125100612642)?-0.078:-0.0052)):((B01<=0.05917573533952237)?((B04<=0.13900588452816012)?0.0651:-0.0091):((NBSI<=-0.0158623531460762)?-0.0158:((CL_GREEN<=1.042169749736786)?((B04<=0.13617416471242907)?((NBSI<=0.09266332909464838)?0.0071:0.0497):-0.0391):0.0519)))):((B04<=0.06901702657341958)?-0.005:((NBSI<=0.008441015612334015)?-0.0018:0.064))):0.0931):((B04<=0.18474590778350833)?((NDVI_RE2<=0.08280219882726671)?-0.0696:0.0231):0.065)):((B01<=0.07691055163741113)?((B04<=0.16033466905355456)?0.0698:((B02<=0.1136087253689766)?-0.012:0.0753)):((NDVI_RE2<=0.042587891221046455)?0.0405:-0.0004))))):((NDVI_RE2<=0.06582656130194665)?-0.0722:0.0298)):((NBSI<=-0.04653061553835868)?((NDVI_GREEN<=0.0951531268656254)?0.0806:((NDVI_RE1<=0.14740498363971713)?-0.0832:0.0022)):((NDWI<=-0.20545751601457593)?((B03<=0.18426073342561725)?((B01<=0.09590333327651025)?0.0721:((NDVI_RE2<=0.057870605960488326)?0.0515:-0.0195)):((B02<=0.156236045062542)?-0.0897:((B01<=0.14414770156145099)?0.0477:-0.0289))):0.0609)))):((NDVI_RE2<=0.09442900493741037)?((NDVI_RE1<=0.24357885867357257)?((NDVI_RE2<=0.009643310680985452)?((NDVI_GREEN<=-0.03240991197526454)?-0.072:((NDVI_RE2<=-0.07358540222048758)?0.0427:((NDVI_RE1<=0.11591762676835062)?((NDVI<=0.20123964548110965)?((NDVI_GREEN<=0.11022988334298135)?((NDWI<=-0.09932622313499449)?-0.0976:0.0311):0.0433):((NDVI_GREEN<=0.2652686387300492)?-0.0763:-0.0148)):((NDVI<=0.24791220575571063)?0.0575:((NDVI_GREEN<=0.2344174310564995)?-0.0527:((NDVI<=0.39265298843383795)?0.022:((NDVI_GREEN<=0.39020498096942907)?-0.0781:0.0014))))))):((NDVI<=0.2998929619789124)?((NDVI_RE1<=0.1855014115571976)?((CL_GREEN<=1.4950801730155947)?((NDVI<=0.19142826646566394)?((NDVI_RE1<=0.1110069826245308)?((NDVI_RE1<=0.027753272093832496)?-0.0741:((NDVI<=0.09627846628427507)?0.06:-0.0425)):0.0593):((NDVI_RE1<=0.14740498363971713)?-0.0567:((NDVI<=0.2340677231550217)?0.0231:-0.0348))):0.0808):((B03<=0.07660077884793283)?0.1458:((NDVI_GREEN<=0.31502427160739904)?0.0608:-0.0094))):-0.0314)):((NDVI<=0.3622031211853028)?((B04<=0.08754031360149385)?0.1662:((NDVI_GREEN<=0.3598115295171738)?0.0775:((NDVI_GREEN<=0.44000415503978735)?-0.0105:0.1116))):((NBSI<=-0.12181713804602622)?-0.0296:((NDVI_RE1<=0.3439658731222153)?((NDVI_RE2<=0.04940356500446797)?((NBSI<=-0.06015141680836677)?-0.0096:0.0315):((NDWI<=-0.4264546781778335)?-0.0181:((NDVI_RE1<=0.28695434331893926)?-0.0078:0.0501))):((B03<=0.08637938648462297)?((B02<=0.05786016210913659)?0.0602:0.1508):((B02<=0.06695322692394258)?-0.0391:((B04<=0.09552817419171335)?0.1242:0.0263))))))):((NBSI<=0.030088574625551704)?((NDWI<=-0.5448791682720183)?-0.0334:((NDVI_RE1<=0.33377441763877874)?((CL_GREEN<=0.9106562435626985)?0.0076:-0.0317):((B01<=0.08272583410143854)?0.0541:-0.0207))):((NDVI<=0.2998929619789124)?((NDVI_RE1<=0.21207749098539355)?-0.0235:0.1195):-0.0609)))):((NDWI<=-0.5736719667911528)?((NDVI_RE2<=-0.008495850022882221)?0.0138:((STI<=1.8015787005424502)?((NDVI_RE2<=0.08086308836936952)?-0.0247:-0.0647):-0.0751)):((B02<=0.0556209720671177)?((NDVI_RE2<=-0.10487622022628783)?0.0363:-0.0491):((B01<=0.026981478556990627)?0.1232:((NDVI_RE2<=0.043409131467342384)?((B03<=0.07482920587062837)?((B01<=0.05415885336697102)?0.1738:0.0462):((NDVI_GREEN<=0.45914448797702795)?((B02<=0.09961602836847307)?-0.0372:0.0207):0.0506)):((NDVI<=0.2139101028442383)?0.069:((NBSI<=-0.02051328122615814)?((STI<=1.6849821805953982)?((NDVI_RE1<=0.4299640506505967)?-0.0166:((B01<=0.06010104157030583)?0.2569:-0.0264)):-0.0521):-0.0629))))));
 }
 
 
 function pt37(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.5836724638938906)?((STI<=1.3334583044052126)?((B02<=0.14200919866561892)?((NDVI_RE2<=0.0014408691204153003)?((NDVI_GREEN<=0.11022988334298135)?((NDWI<=-0.11437351629137991)?-0.1864:((NDVI_GREEN<=0.05895834974944592)?((NDWI<=-0.0505495723336935)?-0.1173:((NDVI<=-0.037938721477985375)?-0.0799:0.0313)):0.0521)):((NBSI<=0.07468403503298761)?((B01<=0.12083030492067338)?((B02<=0.0767515152692795)?((B01<=0.07538722828030588)?0.0164:-0.0799):0.0469):-0.0821):((B04<=0.06087101250886918)?((NDVI_RE2<=-0.0669133812189102)?0.0542:-0.0159):((STI<=1.1937267780303957)?0.0746:((CL_GREEN<=1.2739368677139284)?((B02<=0.06971464306116106)?-0.0173:0.053):0.0716))))):((B03<=0.16719687730073932)?((B02<=0.11010277643799783)?((B03<=0.13128144294023517)?((B04<=0.16666827350854876)?((NDVI_GREEN<=0.0694268085062504)?-0.0544:((NBSI<=-0.13460346311330793)?-0.0516:((B02<=0.09242625162005426)?((B03<=0.11139115691184999)?((B04<=0.14187757670879367)?((CL_GREEN<=1.8539234399795534)?((B02<=0.07532335445284845)?((B03<=0.09513485059142114)?((B04<=0.12448374927043916)?((B02<=0.06544505059719087)?((B03<=0.08112240210175516)?((B04<=0.107292328029871)?((NDWI<=-0.2277099937200546)?((NDVI_GREEN<=0.23021430522203448)?-0.0915:((B02<=0.054901514202356345)?((B03<=0.06934532150626184)?((NDVI<=0.2409009709954262)?((NDVI_RE1<=0.15007524192333224)?((B01<=0.028076573275029663)?-0.0483:((B03<=0.057390609756112106)?0.0916:-0.0015)):0.1001):-0.0133):-0.068):((B01<=0.032300781458616264)?0.0889:0.0145))):((NDVI_RE1<=0.10846064612269403)?0.0087:0.0772)):0.0718):((B01<=0.05570178478956223)?-0.0718:0.015)):((B01<=0.044224502518773086)?0.0614:0.0164)):0.0697):-0.0745):((B01<=0.040714642032980926)?0.0863:((CL_GREEN<=1.008592188358307)?((NBSI<=0.06596123054623605)?-0.0123:((B04<=0.12100714072585107)?0.0455:((B02<=0.08290749788284303)?-0.0532:0.0321))):0.0448))):((B02<=0.014472048729658129)?-0.0452:0.0511)):0.0743):((B04<=0.12448374927043916)?0.0106:((B01<=0.07538722828030588)?-0.0743:0.0146))):((B01<=0.0674421973526478)?0.064:((B04<=0.11115099862217905)?-0.0188:0.0295))))):0.0883):((B04<=0.19600666314363482)?((NDVI_RE2<=0.07553383708000184)?-0.0716:0.0229):0.0551)):((B01<=0.0818055532872677)?((B04<=0.17105077952146533)?0.0709:((B02<=0.12162440270185472)?-0.0286:0.074)):((NBSI<=0.0206858403980732)?((NDVI_RE1<=0.16480463743209842)?-0.0602:0.0125):((NDVI_RE2<=0.03809482418000699)?0.0524:0.0139)))):((NDVI_RE2<=0.05618833005428315)?-0.0965:0.0164))):((NDVI_GREEN<=0.15965215116739276)?((NBSI<=-0.131990872323513)?-0.0587:0.0742):((B01<=0.13050333410501483)?((B04<=0.2195733338594437)?0.063:((B02<=0.17154773324728015)?-0.0602:0.0571)):((NDVI_RE2<=0.05618833005428315)?0.025:-0.0378)))):((NDVI_RE2<=0.09442900493741037)?((NDVI_RE1<=0.2279845178127289)?((NDVI_RE2<=0.017201562412083152)?((NDVI_GREEN<=-0.03240991197526454)?-0.0731:((NDVI_RE2<=-0.07358540222048758)?0.0399:((NDVI<=0.37537060678005224)?((NDVI_RE1<=0.1110069826245308)?((NDVI<=0.19795737415552142)?((NDVI_GREEN<=0.1755621135234833)?((NDWI<=-0.17589569091796872)?-0.0985:((NDVI_RE1<=0.03654956072568894)?-0.0172:0.0411)):0.0566):((NDVI_GREEN<=0.2652686387300492)?-0.0757:-0.002)):((NDVI<=0.19470713287591937)?0.0861:0.0148)):((NDVI_GREEN<=0.3731461316347123)?-0.0857:-0.0102)))):((NDVI<=0.2998929619789124)?((NDVI_RE1<=0.18034848570823672)?((NDVI<=0.18818705528974536)?((NDVI_RE1<=0.1208774894475937)?((NDVI_RE1<=0.023243115283548835)?-0.0759:-0.0117):0.0721):((CL_GREEN<=1.4950801730155947)?-0.0407:0.0636)):((NDVI<=0.24442593008279803)?0.0988:0.0106)):-0.0385)):((NDVI<=0.3288708478212357)?((B04<=0.09381388872861864)?0.1576:((NDWI<=-0.3378017991781234)?((NDVI_GREEN<=0.42044702172279363)?-0.0191:0.1135):0.0798)):((NDVI_RE1<=0.30630499124526983)?((NDVI_RE2<=0.0014408691204153003)?0.039:((NDVI<=0.40986122190952307)?((NDVI_RE1<=0.2593447864055634)?-0.0127:((NDWI<=-0.3998789638280868)?0.0003:0.0503)):-0.0221)):((NDVI<=0.449315831065178)?0.0671:((NBSI<=-0.15005259215831754)?-0.046:((NDVI_RE1<=0.4157565385103226)?((B04<=0.09381388872861864)?((B02<=0.060301041230559356)?((B03<=0.08043900877237321)?((B02<=0.05320839025080205)?0.0137:0.107):-0.0511):0.0653):((B02<=0.07820178568363191)?-0.0417:((B03<=0.1177211031317711)?0.06:-0.0134))):0.1392)))))):((NBSI<=0.030088574625551704)?((NDVI_GREEN<=0.5449855029582978)?((NDVI_RE1<=0.3622625023126603)?((NDWI<=-0.44912043213844294)?-0.0384:((NDVI_RE1<=0.28695434331893926)?((NDVI<=0.25130333006381994)?0.0265:-0.0307):0.0339)):((B01<=0.07767129316926004)?0.0852:-0.0208)):-0.0357):((NDVI<=0.3247791528701783)?((NDVI_RE1<=0.23560624569654467)?-0.0239:0.1299):-0.0622)))):((STI<=1.7859050035476687)?((NDVI_RE2<=0.04520156234502793)?((NDVI_RE1<=0.34646122157573706)?((NDVI_RE2<=-0.09178124740719794)?0.0394:((B02<=0.04458348639309407)?-0.0477:((B03<=0.060795571655035026)?0.1744:-0.0181))):((NDVI<=0.543138086795807)?0.1279:0.0155)):((CL_GREEN<=1.4598762989044192)?0.0025:-0.0529)):((NDVI_RE2<=-0.03932661190629005)?-0.0101:((B02<=0.2069833353161812)?-0.0724:0.0909)));
 }
 
 
 function pt38(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.613278150558472)?((STI<=1.3442766666412356)?((STI<=1.1239394545555117)?((NBSI<=0.041253857314586646)?((B04<=0.16666827350854876)?((B01<=0.09078950807452203)?-0.0041:-0.0785):0.0754):((NDVI_RE2<=0.021679053083062175)?0.0689:((STI<=1.090752720832825)?0.0564:0.0255))):((B02<=0.13355100154876712)?((B03<=0.15526540577411654)?((NDVI_RE2<=-0.03309721685945987)?((NDVI_GREEN<=0.0951531268656254)?((NDWI<=-0.0821104012429714)?-0.0739:((NDVI_RE1<=-0.09160434454679488)?-0.0425:0.0453)):((NBSI<=0.03935468755662442)?((B01<=0.07399199157953264)?0.0389:-0.0481):((B04<=0.05564841628074647)?((NDVI_GREEN<=0.2538980841636658)?-0.0513:0.0448):0.065))):((NDVI_RE1<=-0.008339843712747095)?-0.0793:((B02<=0.10841339081525804)?((B03<=0.1298549994826317)?((B04<=0.16875300556421283)?((B02<=0.09029246866703035)?((B03<=0.11042871326208116)?((B04<=0.13900588452816012)?((CL_GREEN<=1.7981321811676028)?((B02<=0.07532335445284845)?((B03<=0.09513485059142114)?((B02<=0.0644010975956917)?((B03<=0.08112240210175516)?((B04<=0.10823859646916391)?((B02<=0.05598873645067216)?((B03<=0.06510064005851747)?((B02<=0.04288011230528355)?((B03<=0.04341328144073487)?0.0062:-0.0441):0.0242):-0.0475):((B01<=0.03500534594058991)?0.078:0.01)):0.0748):((B01<=0.050431367009878166)?-0.0776:0.0041)):((B01<=0.03500534594058991)?0.0828:((CL_GREEN<=1.2417582869529726)?0.0079:0.0477))):((B01<=0.06300444155931474)?-0.0836:-0.0028)):((B01<=0.0455140732228756)?0.0688:((CL_GREEN<=1.0257187485694887)?0.0049:((NBSI<=-0.04382646642625331)?-0.0272:0.0484)))):((B04<=0.04718591272830964)?-0.0277:((NBSI<=-0.03064028266817331)?-0.0256:0.0567))):0.0686):((B01<=0.07123385369777681)?((B04<=0.1198597624897957)?0.0094:-0.0743):0.0022)):((B01<=0.06870217248797418)?((B04<=0.14341483265161517)?0.0646:0.0106):((NDVI_RE2<=0.044321143999695785)?0.0318:-0.0046))):0.0959):((B04<=0.188202939927578)?((B04<=0.140363022685051)?0.0059:-0.0721):0.048)):((B01<=0.0792653150856495)?0.0647:((NDVI_RE2<=0.034533837810158736)?0.0448:0.0021))))):((NDVI_RE2<=0.06665093079209329)?-0.0705:0.0332)):((NBSI<=-0.04653061553835868)?((CL_GREEN<=0.12493334710597993)?0.0807:((NDVI_RE1<=0.1425707042217255)?-0.0759:-0.0002)):((NDVI_GREEN<=0.2464258819818497)?((NDVI_RE1<=0.1329019069671631)?((NDVI_GREEN<=0.1806268095970154)?0.0588:0.0179):0.0737):((B01<=0.09880064427852632)?((B03<=0.189938098192215)?0.0725:-0.0039):((NDVI_RE2<=0.07046616077423097)?0.0215:-0.0475)))))):((NDVI_RE2<=0.08751294016838075)?((NDVI_RE1<=0.2199927791953087)?((NDVI_RE2<=-0.01029687514528632)?((NDVI_GREEN<=1.0000000180025095e-35)?-0.0641:((NDVI<=0.2732515633106232)?((B03<=0.05376018583774567)?0.0765:0.0263):((NDVI_GREEN<=0.2761798799037934)?-0.0759:((B02<=0.04061706736683846)?((B03<=0.04787667468190194)?0.0036:-0.0654):((NBSI<=0.016704980283975605)?-0.024:0.0399))))):((NDVI<=0.28087069094181066)?((NDVI_RE1<=0.17505356669425967)?((NDVI_GREEN<=0.4104285687208176)?((NDVI_RE1<=0.01797319389879704)?-0.0676:((NDVI<=0.10545512661337854)?((NDVI_RE1<=0.06178159080445767)?((NDVI<=0.06774038076400758)?0.068:-0.0518):0.0927):((NDVI_RE2<=0.03171547874808312)?((NDVI_RE1<=0.0906309597194195)?((NDVI_GREEN<=0.20415727794170382)?-0.061:0.0204):((NDVI<=0.17548989504575732)?0.0674:-0.0098)):-0.0394))):0.1169):((NDVI<=0.2340677231550217)?0.0984:((CL_GREEN<=0.9924629032611848)?0.0508:-0.0147))):((NDVI_GREEN<=0.27976748347282415)?-0.0645:-0.0284))):((NDVI<=0.32040624320507055)?((B03<=0.0754094496369362)?0.1516:((NDWI<=-0.3268184661865234)?((NDVI_GREEN<=0.40375146269798284)?-0.0175:0.0788):0.0835)):((NDVI_RE1<=0.30630499124526983)?((NDVI_RE2<=0.0014408691204153003)?((NBSI<=-0.03306982293725013)?-0.0122:0.045):((NDVI<=0.39265298843383795)?((NDVI_RE1<=0.25680805742740637)?-0.0086:((NDWI<=-0.38653907179832453)?0.0038:0.0665)):-0.0185)):((NDVI<=0.4532062560319901)?((B03<=0.08478516340255739)?0.1255:0.0526):((NBSI<=-0.11668505892157553)?-0.0245:((B03<=0.10015683248639108)?((B02<=0.06344648450613023)?((B03<=0.08364817872643472)?((B02<=0.05077014490962029)?((CL_GREEN<=2.802366733551026)?-0.0208:((B02<=0.02806812431663275)?-0.0264:0.0862)):0.0851):-0.0455):0.0895):((B02<=0.0767515152692795)?-0.0717:((B03<=0.11554257199168207)?0.0708:-0.0179)))))))):((NBSI<=0.030088574625551704)?((NDVI_GREEN<=0.5449855029582978)?((NDVI_RE1<=0.3515253961086274)?((NDVI_GREEN<=0.4071627408266068)?((NDVI_RE1<=0.2593447864055634)?((NDVI<=0.25130333006381994)?0.0218:-0.0402):((NDVI<=0.3413531184196473)?0.0887:0.0151)):-0.032):((B01<=0.08272583410143854)?0.0569:-0.0347)):((NDVI_RE1<=0.3985851109027863)?-0.0538:((NDVI_GREEN<=0.6096774339675904)?0.0313:-0.0356))):((STI<=1.4174937605857851)?-0.02:-0.0646)))):((NDVI<=0.6543088853359224)?((B04<=0.16666827350854876)?((NDVI_RE2<=-0.027574169449508187)?((NDVI_GREEN<=0.5089100301265718)?-0.0144:0.107):((NDVI_RE1<=0.43838334083557134)?((B02<=0.05786016210913659)?-0.0573:((B01<=0.03443535789847375)?0.0471:-0.0376)):((NBSI<=-0.18241677433252332)?-0.0471:((NDVI<=0.6051381826400758)?0.3624:0.026)))):0.0387):-0.0704);
 }
 
 
 function pt39(B01, B02, B03, B04, NDVI, NDWI, NDVI_GREEN, NDVI_RE1, NDVI_RE2, NBSI, CL_GREEN, STI) {
   return (STI<=1.6223055720329287)?((STI<=1.2877417206764223)?((B02<=0.156236045062542)?((NDVI_RE2<=1.0000000180025095e-35)?((NDVI_GREEN<=0.08702031150460245)?((NDWI<=-0.09049139916896819)?-0.1833:((NDVI_GREEN<=0.03403227590024472)?((NDWI<=-0.0208325944840908)?-0.0972:((NDVI_RE1<=-0.06297065317630766)?-0.0609:0.0558)):0.0511)):((NBSI<=0.07113593816757204)?((B01<=0.10190454125404359)?0.0262:((B02<=0.11010277643799783)?-0.1042:0.0289)):((B04<=0.08166462182998659)?((NDVI_RE2<=-0.03619375079870223)?0.0545:-0.0036):0.0682))):((B03<=0.17924222350120547)?((B02<=0.12162440270185472)?((B03<=0.14197602868080142)?((B04<=0.1787202283740044)?((B02<=0.09961602836847307)?((B03<=0.12005131691694261)?((B04<=0.1512982100248337)?((NDVI_RE1<=-0.017756347544491288)?-0.0878:((NDVI_RE2<=0.043409131467342384)?((NDVI_GREEN<=0.37665230035781866)?((B02<=0.0863718129694462)?((B03<=0.10295885428786279)?((B02<=0.0720585808157921)?((B03<=0.08599451929330827)?0.0135:-0.0581):((NBSI<=0.05208730511367322)?-0.0115:0.0521)):-0.0661):0.0431):0.0548):((NDVI_RE1<=0.21733164042234424)?((NDVI<=0.14527748525142672)?((NDVI_RE1<=0.09610176086425783)?-0.0085:0.0976):((NBSI<=0.008441015612334015)?-0.0405:-0.0047)):((NDVI<=0.3288708478212357)?0.0707:((B02<=0.04288011230528355)?-0.0306:0.0167))))):0.0701):-0.0598):((B01<=0.0809035710990429)?((B04<=0.1512982100248337)?0.0676:((B02<=0.10841339081525804)?-0.0251:0.06)):((NBSI<=0.057254150509834296)?((CL_GREEN<=0.7383229434490205)?-0.0481:0.0127):0.0406))):0.0893):((B04<=0.206078477203846)?((B04<=0.1565690413117409)?0.0214:-0.0769):0.0688)):((B01<=0.10719124972820283)?((B04<=0.18474590778350833)?0.0666:((B02<=0.13355100154876712)?-0.0297:0.0628)):((B04<=0.15489145368337634)?-0.0435:0.0351))):((NDVI_RE1<=0.09340712800621988)?-0.1637:-0.0403))):((NDVI<=0.17548989504575732)?((NBSI<=-0.12181713804602622)?-0.0906:0.0727):((B01<=0.14414770156145099)?0.0507:-0.0405))):((NDVI_RE2<=0.09442900493741037)?((NDVI_GREEN<=-0.03240991197526454)?-0.0678:((B02<=0.03755078092217446)?((NDVI_RE2<=-0.15317500382661817)?0.0684:((B04<=0.0867784582078457)?((B03<=0.048266144469380386)?((B02<=0.026718991808593277)?-0.0349:((B03<=0.03490845300257207)?((NDVI<=0.32040624320507055)?0.1337:0.0219):((B04<=0.048924118280410774)?-0.0278:0.0337))):((CL_GREEN<=3.208250761032105)?-0.0657:0.0339)):0.0812)):((CL_GREEN<=2.2910392284393315)?((B03<=0.049799218773841865