Skip to content

Error MappedWater #46

@Felix-1000

Description

@Felix-1000

Hi, I am currently working with the LandTrendr.js and since tonight I get the following error message:
In users/emaprlab/public:Modules/LandTrendr.js
MappedWaterMappedWater is not defined

I checked and I think an error in Line 130 was added in the LandTrendr.js script:
//makes a global water mask
var MappedWater = ee.Image("JRC/GSW1_1/GlobalSurfaceWater"); //PETER ADD
// calculates water persistence 0 to 100 //PETER ADD
var MappedWaterBinary = MappedWaterMappedWater.select('max_extent').eq(1).not()

I think with MappedWaterMappedWater the duplication is too much

can anyone check this?

best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions