⚠️ Still in development. The code may break at any time.
A Python tool to fetch and parse weather data from the OGIMET website for Indonesian weather stations.
- Fetch weather data for specific dates or date ranges
- Parse weather station information including:
- Temperature (max, min, medium)
- Wind direction and speed
- Atmospheric pressure
- Precipitation
- Cloud cover
- Sun duration
- Visibility
- Snow depth
- Export data to Excel format
- Clone this repository
git clone https://github.com/wargaberdaya/ogimet-scraper.git
- Install dependencies:
pip install -r requirements.txt
The tool provides a command-line interface with the following commands:
python main.py summary --from 2024-03-20
python main.py summary --from 2024-03-01 --to 2024-03-20
The data will be exported to an Excel file named data_YYYY-MM-DD.xlsx
for single dates or data_YYYY-MM-DD-_YYYY-MM-DD.xlsx
for date ranges.