-
Notifications
You must be signed in to change notification settings - Fork 2
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
GBIF throws 404 (not 410) for deleted resources #156
Conversation
tpoisot
commented
Feb 18, 2023
•
edited
Loading
edited
- Update the tests with a failing occurrence
- Add a way to handle 404 when querying deleted occurrences
Documentation for this PR at https://poisotlab.github.io/SpeciesDistributionToolkit.jl/previews/PR156/ |
Codecov ReportBase: 47.49% // Head: 40.53% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #156 +/- ##
==========================================
- Coverage 47.49% 40.53% -6.96%
==========================================
Files 36 28 -8
Lines 1196 1014 -182
==========================================
- Hits 568 411 -157
+ Misses 628 603 -25
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
* 🤢 GBIF throws 404 (not 410) for deleted resources * 🐛 throws an error when the occurrence is not available * ✅ 404 error on single occurrence is handled
#153) * 🩹 SimpleSDMLayers version bump * ✅ test for clipping with natural coordinates (#152) * 🐛 no use of stride in clip / expand keyword * 🐛 Update the stitching code to get the right bounding box (#155) * 🐛 Stitch returns the wrong bounding box in the end Fixes #154 * 🟩 test the stitch patch * 🟩 some more tests for the right coordinate * 🟩 removed a test where the layer type changes * ➖ drop dependencies for SimpleSDMLayers test * 🟩 tests with the expand keyword * GBIF throws 404 (not 410) for deleted resources (#156) * 🤢 GBIF throws 404 (not 410) for deleted resources * 🐛 throws an error when the occurrence is not available * ✅ 404 error on single occurrence is handled * 🟥 remove the subsetting test (handled by clip) * 🐛 fix clipping with natural coordinates * 🐛 fix approximation in displayed coordinate * 🐛 tests when clipping exactly on the limit * ✅ add test comparing clip with gdalwarp * 🐛 missing end for test module --------- Co-authored-by: Gabriel Dansereau <gabriel.dansereau@umontreal.ca>