Comments (4)
Nice to see this @niconoe! 🥳
About filtering, I think it's better to filter as much as possible in the query and that only tests are performed from our side. This will make things easier to be reviewed also (if we doubt which data we used months ago, checking the download webpage will be easier). Or am I missing something?
from gbif-alert.
Update: I implemented the --source-dwca
option (will make the script more flexible but also make testing a bit easier).
Things be be tested (to be refined):
- that we can import an existing file with
--source-dwca
- that a correct request is sent to GBIF if we're not using the
--source-dwca
option - that the maintenance mode is correctly set and released (blocked by #22)
- basic import works: correct number of occurrences
- basic import works: correct values for the occurrence records
- basic import works: a new DataImport is created
- basic import works: DataImport values are correct
- previous occurrences (replaced or not!) are deleted
- that some filtering is applied (absence records, no date, no location, ...)
- that entities linked to occurrences are properly moved to the new occurrence
- atomicity (see #62)
- emails are sent reporting the status
- raw values (strings) are trimmed
- ...
from gbif-alert.
Thanks @damianooldoni, very good point.
I can't guarantee that there will always be a GBIF filter available to suit our needs (in that case, we'll also need to keep a lighter filtering stage at import stage), but indeed the better approach is to filter as much as possible at the "generate download" step. I'll create a new issue to focus on this point (this one is primarily for the unit tests of the import mechanism).
from gbif-alert.
I think all was covered a long time ago.
from gbif-alert.
Related Issues (20)
- Unselected polygons visualized on the map HOT 4
- Missing vernacular name on occurrence details page
- Show scientific name next GBIF ID in pop-ups HOT 4
- Allow users to assign tags to their own areas
- Remove code for now unnecessary HIDE_MY_CUSTOM_AREAS_PAGE settings HOT 1
- Better performances for Selenium-based testing
- WFS - some remarks HOT 15
- API instead of big download? HOT 1
- option to download data for a specific alert setting HOT 4
- option to select on IDVerificationstatus HOT 1
- Add EPSG:31370 (Lambert 72) as CRS to WFS https://alert.riparias.be/api/wfs/observations HOT 4
- Seen / unseen observations: performance improvements HOT 2
- Allow to use a genus or higher taxon ranks
- Background layers not visible HOT 2
- "ValueError at /my-custom-areas The file must contain a single feature, 212 features found" HOT 1
- maintenance mode error since yesterday's updates HOT 1
- maintenance mode: incorrect page/template HOT 1
- gbif-blocking-occurrence-download source code? HOT 4
- Distinguish between new observations and truely new populations
- git describe --always --tags issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbif-alert.