Releases: y-vasyunin/ee-idn-precip-clusters
K-means clustring to compute climatic regions
Identifying climatic regions in Indonesia
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 first version of 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).
Code structure
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
Developers
- Vasily Lobanov, RUDN University, Moscow
- Yaroslav Vasyunin, independent researcher, Italy
License
This project is licensed under the GNU General Public License v3.0.
First Zenodo publication
Although the code is functioning, it is still under development.
Initial release
This is an initial pre-release of the code.