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

adds a couple of datasets to skip_datasets #35

Merged
merged 7 commits into from
Jul 2, 2021

Conversation

apkrelling
Copy link
Member

@apkrelling apkrelling commented Jun 14, 2021

adds UNH_CML and UNH_WBD to skip_datasets - see issues #34 and #31 .

@@ -47,7 +47,7 @@ def search_datasets(e, standard_name, cdm_data_type, min_time, max_time, skip_da
continue

except HTTPError:
df = []
pass
Copy link
Member

@ocefpaf ocefpaf Jun 18, 2021

Choose a reason for hiding this comment

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

It this fails do we have a DataFrame to return below? Returning an empty list is not OK but maybe we should return an empty df or None. Not sure how this function is used down the pipeline to check if this makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

You were right. It was working in some instances, but I made new changes to the PR that make it more correct and more readable. Let me know what you think.

@ocefpaf ocefpaf merged commit c4858bd into reproducible-notebooks:master Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants