---
# System prepended metadata

title: Weather Map

---

# Weather Map
## Design
ask the user for latitude and longitude 

## Find the nearest weather station, or return "out of bounds" if not within 100 miles
We use a quadtree to store the longitude/latitude of all weather stations. Users input is used to calculate the closest weather station. If none are found return "out of bounds".

## Process data from NOAA
Each node is a struct: 
-> longitude, latitude
-> station code and name of weather station
-> Last Updated (Timestamp of current observation):	
-> Weather:	
-> Temperature:	
-> Dewpoint:	
-> Relative Humidity:	
-> Wind:	
-> Visibility:
-> MSL Pressure:	
-> Altimeter:

## Updating information 
Every hour we have an "update period" at the :54 minute. During the update period users can access the structs but the information may be an hourish old. 

## Displaying information
Create a new page and display information from the weather station node. 
