This code is used in an scholarly publication on wildfires in Indonesia. It is developed to be run inside the Google Earth Engine platform. You need to have both Google (Gmail) and Google Earth Engine accounts in order to use it.
The code allows studying the precipitation distribution for the whole Indonesia by making clusters from ERA5-Land monthly averaged - ECMWF climate reanalysis data. You are free to change input variables, such as the period for data clustering or area of interest.
In its current realization, it computes three clusters based on a total precipitation band and saves the result as a GeoTiff file (WGS84).
The script (code.js
) is divided into distinct sections:
- Input variables
- Area of interest
- Data
- Period
- Styling & display
- Export
- Functions
- Implementation
- Data preparation
- Clustering - perform k-means clustering
- Visualization
- Console - print statistics about identified clusters
- Basemap - change default basemap to something dimmer
- Computed layers - add newly created layers to the map
- Legend - create and add a legend to the map
- Export - save GeoTIFF to your Google Drive folder
- Vasily Lobanov, RUDN University, Moscow
- Yaroslav Vasyunin, independent researcher, Italy
This project is licensed under the GNU General Public License v3.0.