RoxasWally / AirQuality

Your program will read a sequence of lines of input from the Python shell that configure its behavior, then generate and print some output consistent with that configuration. The general goal of the program is this: Given a "center" point, a range (in miles), and an AQI threshold, describe the locations within the given range of the center point having the n worst AQI values that are at least as much as the threshold. (That's a mouthful, so you'll want to read that sentence a few times; there's a lot going on there. Read further, too, and you'll see an example that will help to clarify.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirQuality

This program will read several input from the user, CENTER NOMINATIM location, where location is anywhere in the US. The word "NOMINATIM" means we will be using nominatim's api if CENTER FILE path, where path is a data that is previously collected from NOMINATIM api's; the data should be in the same format. Second line of input is RANGE miles, where miles is a positive integer and is the distance from the center location Third line of input is THRESHOLD AQI means the user is looking for an API that is at least as high as the threshold Fourth line of input MAX # which is the max number of locations the user wants to find Fifth line AQI PURPLEAIR means want to obtain the quality of air from PURPLEAIR API if fifth like is AQI file means we want to obtain the air quality from the hard drive that follows same format as PURPLEAIR API Sixth Line REVERSE NOMINATIM which means the user's want to do reverse geocoding if the user inputs REVERSE filees path1, path2... which means the user wants to reverse geocode of the data in his file path.

About

Your program will read a sequence of lines of input from the Python shell that configure its behavior, then generate and print some output consistent with that configuration. The general goal of the program is this: Given a "center" point, a range (in miles), and an AQI threshold, describe the locations within the given range of the center point having the n worst AQI values that are at least as much as the threshold. (That's a mouthful, so you'll want to read that sentence a few times; there's a lot going on there. Read further, too, and you'll see an example that will help to clarify.)

License:Apache License 2.0


Languages

Language:Python 100.0%