Comments (5)
I have updated the diversity code to fix this issue. The update is now available for testing, you can try it as follows:
https://training.paleobiodb.org/data1.2/occs/diversity.txt?base_name=Dinosauria&count=species
If it works correctly, I will push the update to our main server. In order to make this testing easier, I have added a new operation which allows you to check the diversity calculations. This is documented at:
https://training.paleobiodb.org/data1.2/occs/checkdiv
and can be used as follows:
I don't think I have documented it very clearly, but will be happy to explain to any of you what it does.
from bug_reports.
This fix looks to have corrected the issue. I examined the Cenomanian Dinosauria, Turonian Dinosauria, and Turonian Scleractinia occurrence data sets for testing. All three data sets ticked-and-tied correctly with both genera and species diversity matching on all points. Great work!
The diagnosis field was very helpful, by the way, to see how the data was being put together. Great addition.
The one item that I wasn't sure about was the new "implied_in_bin" response field in the diversity end point. It may not matter, but I couldn't clearly understand why certain values were included and others excluded. For example, in this URL:
the following value is returned:
"117","Cenomanian","implied","67049","Anomoepus","Anomoepus","583969"
It's not clear to me why this is returned but Allosaurus is not. Allosaurus has two occurrences resolved at the genera level in the interval (1345735, 1345736), but with no species occurrences in the interval. This would seem to match the definition in the data service documentation. I can't seem to find any clear differences that would indicate why Anomepus is being included but Allosaurus is not. It's very possible I'm missing something obvious, but the way the definition is worded I would expect Allosaurus to be an implied species in the bin.
Let me add that including the implied in bin is great - a very important piece of information that I hadn't even realized I was overlooking until you added this.
from bug_reports.
@jbryan6, thanks for checking the values of implied_in_bin. I had made a logic error which was mis-counting them. Allosaurus and several others are now counted.
I am still trying to figure out the best rule for computing the implied_in_bin value, and would love to talk to you more about it.
Also, I just added two more output blocks to the occs/list operation: 'timebins' and 'timecompare'. The former shows you which time intervals each occurrence gets binned in under the current timerule, and the latter shows you for all of the four timerules. This allows you to compare between them. This was Mark's idea, and I think it is a good one. Please check this out too and let me know what you think.
from bug_reports.
This should be fully resolved including the new diagnostic route in the return. Has this been pushed to the production server?
from bug_reports.
Yes, this change is now on the production server.
from bug_reports.
Related Issues (20)
- Everything stopped working yesterday 4/18/2022. HOT 1
- Inconsistency in mis-spelled opinions; can not download some mis-spelled taxa
- Stegodontidae species issues
- wrong author reference for species Dipoides williamsi HOT 3
- Proboscidea searches is giving Insects HOT 4
- no data on some /colls/summary.json requests HOT 1
- Stuck on "initialising
- Stuck on "initialising" HOT 2
- Opinion bugs HOT 2
- "Informal" group not being treated the same as "Unranked clade"
- synonymy of Shastasaurus perrini / Californosaurus perrini HOT 1
- Age dates not used HOT 1
- Disallowed interval names HOT 1
- Feature request: new fields to download
- Map update needed HOT 2
- Navigator not loading!
- Display image function not working HOT 1
- Broken link for time intervals linked to FossilWorks HOT 1
- Paleodatabase Search 504 Error
- Correct editting links at bottom of pages for students and enters
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 bug_reports.