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

managers.py: issues with entry_id #128

Merged
merged 4 commits into from
Aug 17, 2020
Merged

Conversation

mortenwh
Copy link
Contributor

See comments in the code for explanations.

…ates the string representation of the uuid, don't let Dataset.MultipleObjectsReturned error silently pass. tests.py: Removed 'entry_id' from predefined metadata dict and added test for a case when the metadata actually contains an entry_id.
@akorosov akorosov self-requested a review August 4, 2020 13:51
@akorosov
Copy link
Member

@mortenwh , I generally agree with your edits. Did you test it?

@mortenwh
Copy link
Contributor Author

yes, it is tested - see geospaas/nansat_ingestor/tests.py. I also added another test to check an error I had problems with. Conclusion is added at the end of the test. I will remove the comments as well.

@mortenwh
Copy link
Contributor Author

I thought I could fix this in my own code - but it seems geospaas.nansat_ingestor.managers needs to be changed. I'll add a commit...

@mortenwh
Copy link
Contributor Author

No.. nansat.domain.Domain.get_border should be changed to have a maximum of, e.g., 4 decimal points for the lon/lat values - is that sufficient?

mortenwh added a commit to mortenwh/nansat that referenced this pull request Aug 14, 2020
akorosov pushed a commit to nansencenter/nansat that referenced this pull request Aug 17, 2020
@akorosov akorosov merged commit 704715d into nansencenter:master Aug 17, 2020
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.

2 participants