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

Implement all-station IEM Upper Air request #234

Merged
merged 3 commits into from
Jul 5, 2018

Conversation

jthielen
Copy link
Contributor

This PR adds in the ability to request upper air data for all stations for a given time from the Iowa State archive via the request_all_data method. Additionally, a separate commit in the PR adds the simple web services other than wyoming to the docs.

Copy link
Contributor

@jrleeman jrleeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending our discussion about modifying this to handle no data cases and one minor comment, this looks good.

@@ -107,7 +138,7 @@ def _get_data(self, time, site_id):
'time': None}
return df

def _get_data_raw(self, time, site_id):
def _get_data_raw(self, time, site_id, pressure):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if pressure defaulted to None?

Based on akrherz/iem#117, this commit
implements the new all-station upper air request from Iowa State.
Modifications were made to the parsing backend to allow for the returned
JSON with multiple files.
Copy link
Contributor

@jrleeman jrleeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy - I'll merge by COB unless there is protest from @dopplershift or @lesserwhirls

@jrleeman jrleeman merged commit e2fab0b into Unidata:master Jul 5, 2018
@jrleeman
Copy link
Contributor

jrleeman commented Jul 5, 2018

FYI @bryanguarente that this is merged in master now! 🎆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants