Skip to content

Releases: y-vasyunin/ee-idn-precip-clusters

K-means clustring to compute climatic regions

22 Jul 12:40
382bc20
Compare
Choose a tag to compare

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:

  1. Input variables
    • Area of interest
    • Data
    • Period
    • Styling & display
    • Export
  2. Functions
  3. Implementation
    • Data preparation
    • Clustering - perform k-means clustering
  4. 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
  5. Export - save GeoTIFF to your Google Drive folder

Developers

License

This project is licensed under the GNU General Public License v3.0.

First Zenodo publication

19 Jul 13:04
611c108
Compare
Choose a tag to compare

Although the code is functioning, it is still under development.

Initial release

19 Jul 12:55
9e3f1ff
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

This is an initial pre-release of the code.