Extracting and Visualizing Annual Average Rainfall using GEE

Sry Handini Puteri
2 min readJun 30, 2023

--

Nepal Rainfall Extraction using CHIRPS data via Google Earth Engine

Today, I need to extract information on multi-temporal rainfall using GEE. In GEE, there are different option of satellite for extracting rainfall information, such as CHIRPS, ERA5 and GPM. Then I found the article from Ujaval Gandhi to analyze the rainfall data using GEE from his blog of SpatialThoughts.

I applied the code and changed the area of interest to Nepal. In the article, he is using his own asset (Bangalore shapefile), but I tried to use the FAO GAUL: Global Administrative Unit Layers 2015, Country Boundaries. Hence the result can be seen in the image above.

Running the code, and the resulting output is the annual rainfall per year that is exported as a .csv to the drive.

precipitation	year
1556.371502 1981
1364.74909 1982
1503.23592 1983
1614.977272 1984
1670.356952 1985
1435.466539 1986
1590.602906 1987
1592.100133 1988
1452.896057 1989
1588.0541 1990
1188.273655 1991
988.107941 1992
1293.368567 1993
1202.896864 1994
1119.635636 1995
1261.9624 1996
1152.786968 1997
1516.631908 1998
1457.050784 1999
1667.887454 2000
1417.749135 2001
1467.743795 2002
1464.886938 2003
1538.154067 2004
1284.725157 2005
1448.335097 2006
1561.787393 2007
1519.820535 2008
1499.986347 2009
1413.823807 2010
1562.726971 2011
1445.610702 2012
1626.984898 2013
1500.022624 2014
1362.375994 2015
1506.754509 2016
1335.147483 2017
1480.759812 2018
1393.383339 2019

Pro: It’s fast

Cons: Using FAO GAUL administrative boundary is not very updated. The boundary is produced in 2015. Also the data is not capturing a smaller area. You have to upload you own asset to determine the admin boundary.

Snippet code can be seen here.

The credit of the initial code to SpatialThought.

--

--

Sry Handini Puteri

Personal learning space ; A Geoenthusiast ; Interested in Disaster Risk Management