1

Using the .and(image2) in python gives an 'invalid syntax' error because it confuses it with the boolean operator that returns a boolean. Whereas in earth engine JavaScript, ee.Image.and(image2) returns an ee.Image. What is the Python equivalent for this .and operator?

Hiba Jamal
  • 43
  • 5

1 Answers1

1

The equivalent statement is .And(image2), as noted here:

enter image description here

Jesse Anderson
  • 4,507
  • 26
  • 36