Last active
February 7, 2024 16:48
-
-
Save giswqs/bab47213f0cbd3d1073ea47b01331c62 to your computer and use it in GitHub Desktop.
Pucallpa, Peru
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to run the code to get a time series for the Everglades and though I have changed my Map center and created a rectangle around the box, when I run the last line of code I keep getting the map from Peru. How do I fix this? Also how do you calculate NDWI in code instead of NDVI. Below is my current code.
Map.setCenter(25.4931887, -81.1582436, 9)
Map.add_landsat_ts_gif(label= 'Everglades', bands=['SWIR1', 'NIR', 'Red'], nd_bands=['NIR', 'SWIR1'], nd_palette=['brown', 'green'], nd_threshold=0.3, start_year=2013, end_year=2023, start_date='03-01', end_date='03-30', frames_per_second=2)