Skip to content

Instantly share code, notes, and snippets.

View bennyistanto's full-sized avatar

Benny Istanto bennyistanto

View GitHub Profile
@bennyistanto
bennyistanto / tur_economic_monitor_charts.ipynb
Created December 10, 2023 16:38
Turkey Economic Monitor - plot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / Propagation_Met2Hyd_Drought_Using_CCA.ipynb
Last active December 10, 2023 16:36
Propagation Meteorological to Hydrological Drought using cross-correlation analysis at the pixel level
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / Steps_to_Generate_SPI_Using_CHIRPS_Data.ipynb
Last active May 17, 2024 10:10
Steps to Generate Standardized Precipitation Index Using CHIRPS Data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / Steps_to_Generate_SSI_Using_GloFAS-ERA5_Data.ipynb
Last active December 10, 2023 16:37
Steps to Generate Standardized Streamflow Index (SSI) Using GloFAS-ERA5 Data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / OSS_ZonalStats_regular_era5land.ipynb
Created November 15, 2023 00:44
Zonal Statistics using rasterstats on ERA5-Land temperature and admin boundaries, then join the csv's into single csv file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / OSS_ZonalStats_regular_CHIRPS.ipynb
Last active November 15, 2023 00:43
Zonal Statistics using rasterstats on CHIRPS and admin boundaries, then join the csv's into single csv file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bennyistanto
bennyistanto / modis_quarter.py
Created November 7, 2023 23:19
MXD13Q1 quarter mean (JFM, AMJ, JAS, OND) from 8-day data
# -*- coding: utf-8 -*-
"""
NAME
modis_quarter.py
MXD13Q1 quarter mean (JFM, AMJ, JAS, OND) from 8-day data
DESCRIPTION
Input data for this script will use MXD13Q1 8-days data generate from GEE or downloaded from NASA
This script can do MEAN calculation to derive quarter data (JFM, AMJ, JAS, OND)
REQUIREMENT
ArcGIS must installed before using this script, as it required arcpy module.
@bennyistanto
bennyistanto / 08_mxd13q1_stats_quarter.py
Last active March 13, 2024 08:15
MXD13Q1 quarter statistics data, long-term average, max, min and stdev
# -*- coding: utf-8 -*-
"""
NAME
08_mxd13q1_stats_quarter.py
MXD13Q1 quarter statistics data, long-term average, max, min and stdev
DESCRIPTION
Input data for this script will use MXD13Q1 quarter data generate from modis_quarter.py
This script can do annual statistics calculation (AVERAGE, MAXIMUM, MINIMUM and STD)
REQUIREMENT
ArcGIS must installed before using this script, as it required arcpy module.
@bennyistanto
bennyistanto / modis_viproducts_quarter.py
Created November 7, 2023 23:11
Generate derivative product from Vegetation Indices per quarter
# -*- coding: utf-8 -*-
"""
NAME
modis_viproducts_quarter.py
Generate derivative product from Vegetation Indices
DESCRIPTION
Input data for this script will use MXD13Q1 8-days data generate from GEE or downloaded
from NASA. This script can do calculation for ratio, difference, standardize anomaly
and vegetation condition index.
The calculation required timeseries VI and the long-term statistics (min, mean, max, std)