Skip to content

Scrapes and processes daily temperature and precipitation data from SENHAMI (Peruvian government agency).

Notifications You must be signed in to change notification settings

PeruData/Weather

Repository files navigation

Weather (1990 - 2016)

Author: Sebastian Sardon

These programs create a dataset of Peruvian weather data at a daily frequency.

Instructions:

      Step 1. Retrieve raw data from SENHAMI's official webpage using the program "1.1 - Scrap SENHAMI.py", then preprocess it with "1.2 - Clean Scrapped.py" [requires Python]

      Step 2. Clean raw data using the program "2 - Weather Dataset.do" [requires Stata]

Step 1's output can be downloaded here.

Information available from the author at sebastiansardonbisso@gmail.com. Suggestions are welcome.

The following figures can be replicated using the output dataset:

Below, nearest neighbor (1-NN) maps of local averages over 1990-2016. Left panel: average temperature (°C, 7 a.m.). Right panel: average precipitation (milimters, daily).

About

Scrapes and processes daily temperature and precipitation data from SENHAMI (Peruvian government agency).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages