The project aim to identify the nearest meteorological station of each municipality of Brazil. It can be used to choose the best data source in researches that depends on brazilian weather data.
To achive this goal, we built a list of all meteorological station from the query form available on the CPTEC/INPE website.
Moreover, we have used two sources of geojsons to visualize data and as input to distance algorithms:
- Brazil geojson was taken from here.
- States and municipalities geojsons was generated using the br-atlas tool.
The first step is install nodejs.
After that, install node modules, download csv and start the app:
$ npm install
$ npm run get-data
$ npm start
Assuming the web server is configured to forward requests to the port 8001:
$ docker build .
$ docker run -d -p8001:8000 <id of container>