How to exclude certain elevation ranges from the extracted image #2008
Answered
by
giswqs
Huanglh1001
asked this question in
Q&A
Replies: 1 comment 1 reply
-
mask = dem.lt(135)
area = NDVI_1.updateMask(mask)
Map.addLayer(area, {'palette': 'white'}, 'area') |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Professor Wu, I want to subtract the NDVI calculated from my own computation by areas with elevation above 135. However, the expected effect is not achieved after applying the masking formula. Could you please tell me why? Here is the code (kindly advise on necessary modifications):
Beta Was this translation helpful? Give feedback.
All reactions