SkillAgentSearch skills...

Weather

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

Install / Use

/learn @PeruData/Weather
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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).

<p float="left"> <img src="images/Temperature.png" width="430" /> <img src="images/Rain.png" width="430" /> </p>

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks2

Languages

Python

Security Score

55/100

Audited on Aug 4, 2024

No findings