Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a method to get air quality data for all stations a pair of latitude-longitude bounds #44

Closed
Milind220 opened this issue Mar 6, 2022 · 2 comments · Fixed by #59
Assignees
Labels
beginner Slightly more complex than 'good first issue', but not difficult either enhancement New feature or request help wanted Extra attention is needed

Comments

@Milind220
Copy link
Collaborator

Milind220 commented Mar 6, 2022

This should allow users to enter in two pairs of lat-long coordinates. The WAQI API has an endpoint available to get all air quality measuring stations between two pairs of lat-long pairs. This list of stations could be used with the get_multiple_coordinate_air method in Ozone, to get the air quality for all of them.

This would be really useful, as users would essentially be able to get data for an entire area of the world, without necessarily knowing the name/location of each station in that area (Ozone would take care of that part).

Ideally create a private method that takes in a two pairs of lat-long coordinates, and returns a list of several lat-long pairs, one for each station in that range.
Then create a separate method that uses get_multiple_coordinate_air under the hood and returns the data in the same way all other data methods do.

@Milind220 Milind220 added enhancement New feature or request help wanted Extra attention is needed beginner Slightly more complex than 'good first issue', but not difficult either labels Mar 6, 2022
@Samxx97
Copy link
Contributor

Samxx97 commented Mar 10, 2022

hello @Milind220 can i work on this?

@Milind220
Copy link
Collaborator Author

@Sam-damn That'd be awesome! Your contributions have been 🔥 🔥

Milind220 added a commit that referenced this issue Mar 13, 2022
Implement a method to obtain air quality data for a range of coordinates bounds  fixes #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner Slightly more complex than 'good first issue', but not difficult either enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
2 participants