Overview of My Submission
"My city's climate" is a free online viewer for historical weather data of Poland. The web application is a simple way to get information about temperature and precipitations in a long time.
The application is a web map. The map displays weather stations as a points. If you click on the point will be opened color calendar. The calendar will be painted in different colors to indicate the respective weather characteristics.
The application was published on GitHub Pages. You can open it by link https://karavanjo.github.io/mcc-frontend/.
Data
The application uses public historical weather dataset IMGW-PIB.
You can explore the dataset on a page of Institute of Meteorology and Water Management by link.
Technical notes
The app built with React and D3. It's uses MongoDB Atlas as back-end. The app uses Time Series Collections for weather observations data storing.
To import initial data was created a console application using python and PyMongo.
Submission Category:
Prime Time
Link to Code
Front-end application
karavanjo / mcc-frontend
Free online viewer for historical weather data
"My city's climate" - historical weather data viewer
"My city's climate" is a free online viewer for historical weather data.
The application requires a climate database created by mcc-import application.
Run
- Fill
.env
file with your Realm data. npm install
npm run dev
- Open your browser (http://localhost:3000/)
Screenshots
Calendar: average air temperature
Demo
Import tool
karavanjo / mcc-import
Import tool for "My city's climate"
Import tool for "My city's climate"
The command line application imports historical weather data in MongoDB Atlas database.
Technical notes
The application requires MongoDB > 5.0 with support time series.
You should specify connection credentials. The application only supports X.509 Authentication with .pem
certificate.
How to use
- Copy your weather data files to
data/observations
anddata/stations
. - Apply your credentials to
config.yaml
. - Install poetry.
poetry install --no-dev
poetry run import
About data
It is assumed that input weather data format corresponds to public data IMGW-PIB format.
You can explore the dataset on a page of Institute of Meteorology and Water Management by link.
Additional Resources / Info
"My city's climate" in a web browser
Top comments (0)