

def _get_extensive_modis_learning_bands(domain, b):
    'Like _get_modis_learning_bands but adding a lot of simple classifiers'
    a = b['b1'].select(['sur_refl_b01'], ['b1'])
    a = a.addBands(b['b2'].select(['sur_refl_b02'], ['b2']))
    a = a.addBands(b['b2'].divide(b['b1']).select(['sur_refl_b02'], ['ratio']))
    a = a.addBands(b['LSWI'].subtract(b['NDVI']).subtract(0.05).select(['sur_refl_b02'], ['LSWIminusNDVI']))
    a = a.addBands(b['LSWI'].subtract(b['EVI']).subtract(0.05).select(['sur_refl_b02'], ['LSWIminusEVI']))
    a = a.addBands(b['EVI'].subtract(0.3).select(['sur_refl_b02'], ['EVI']))
    a = a.addBands(b['LSWI'].select(['sur_refl_b02'], ['LSWI']))
    a = a.addBands(b['NDVI'].select(['sur_refl_b02'], ['NDVI']))
    a = a.addBands(b['NDWI'].select(['sur_refl_b01'], ['NDWI']))
    a = a.addBands(get_diff(b).select(['b1'], ['diff']))
    a = a.addBands(get_fai(b).select(['b1'], ['fai']))
    a = a.addBands(get_dartmouth(b).select(['b1'], ['dartmouth']))
    a = b.addBands(get_mod_ndwi(b).select(['b1'], ['MNDWI']))
    return a

dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/modis/ee_classifiers.py _get_extensive_modis_learning_bands/VarMisuse@326/558 `a`->`b`