Issue 13188

On homepage, occurrence count sticks at 3000000 an...

13188
Reporter: feedback bot
Assignee: cvizitiu
Type: Bug
Summary: On homepage, occurrence count sticks at 3000000 an...
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-05-29 10:24:41.964
Updated: 2013-09-25 17:44:00.095
Resolved: 2013-09-25 17:44:00.058
        
        
Description: On homepage, occurrence count sticks at 3000000 and species count at 2000000 (on Firefox and Safari).

Also data publisher count shows 419, inconsistent with 486 data publishers shown on current portal.

*Reporter*: Tim Hirsch
*E-mail*: [mailto:thirsch]]]>
    


Author: trobertson@gbif.org
Created: 2013-07-01 08:49:22.342
Updated: 2013-07-01 08:49:22.342
        
Regarding homepage counts - I suspect that you had an older version cached, or you lost VPN.  They should update asynchronously after the page loads.  Can you please confirm that a "apple-r" (hard refresh of the page flushing caches) fixes it?

Regarding counts - I will check, but there are many publishers that don't publish a dataset.  The new portal I believe discounts them, and we have it as a task to clean those out of the registry.  This is internal to GBIFS only, but you can see on the registry console, there are many:
  http://jawa.gbif.org:8080/registry2-ws/web/index.html#/organization-search


    


Author: thirsch@gbif.org
Comment: The counts are updating now fine, but ... we need to resolve which numbers we use for the homepage on species, datasets and data publishers. The totals now do not conform e.g. to the total species on the search page at http://uat.gbif.org/species, nor to the totals for datasets and data publishers used in the current portal. I know there are different ways of setting up the definitions for these counts but it is important we have consistent figures across our communications. 
Created: 2013-07-01 10:59:01.738
Updated: 2013-07-01 10:59:01.738


Author: trobertson@gbif.org
Comment: This task is to make sure counts are consistent in homepage and section home screens for 0.5
Created: 2013-08-19 12:01:31.215
Updated: 2013-08-19 12:01:31.215


Author: fmendez@gbif.org
Comment: Count for BasisOfRecord.LIVING_SPECIMEN is wrong, the error is described in the linked issue
Created: 2013-08-23 12:38:18.238
Updated: 2013-08-23 12:38:18.238


Author: trobertson@gbif.org
Created: 2013-08-27 12:48:54.139
Updated: 2013-08-27 12:48:54.139
        
This is _still_ wrong.

Dataset count and species counts are not consistent
    


Author: ahahn@gbif.org
Comment: Apart from the value itself, the label needs to accurately state what the number refers to. With currently only about 1.4 million species described, it should be renamed to "total species names", "names" or something similar, depending.
Created: 2013-08-28 10:59:02.009
Updated: 2013-08-28 10:59:02.009


Author: trobertson@gbif.org
Comment: also, with the new (awesome looking) publisher search page, the publisher count can click through too
Created: 2013-09-11 09:37:08.397
Updated: 2013-09-11 09:37:08.397


Author: mdoering@gbif.org
Comment: added link: https://code.google.com/p/gbif-portal/source/detail?r=2031
Created: 2013-09-11 10:39:27.729
Updated: 2013-09-11 10:39:27.729


Author: cvizitiu@gbif.org
Comment: So what's the issue to be solved on this one? It's clearly past 30000000... The link to the publisher's page is now active; if the numbers are wrong, pardon me for asking: compared to what, what's the reference to check them against? In other words, what's in for me to fix? :-|
Created: 2013-09-11 14:42:47.979
Updated: 2013-09-11 14:42:47.979


Author: trobertson@gbif.org
Created: 2013-09-11 15:11:08.971
Updated: 2013-09-11 15:11:08.971
        
The count of species on the hompage shows  "2,399,889 SPECIES"
It needs to show the same number as the headline on the species home page: http://uat.gbif.org/species e.g. "1,426,888"

Not sure what WS call it needs to use for that... [~mdoering@gbif.org] ?


    


Author: thirsch@gbif.org
Comment: Another flag on this is that the new portal homepage shows 706 data publishers, as opposed to 562 on the current gbif.org homepage - and datasets are at 11957 as opposed to 10140 at present, so again they must be calling up different sources.
Created: 2013-09-11 16:05:33.073
Updated: 2013-09-11 16:05:33.073


Author: cvizitiu@gbif.org
Created: 2013-09-11 16:44:57.497
Updated: 2013-09-11 16:44:57.497
        
Tim, the very page you give as ref. for species has two values: http://uat.gbif.org/species says

   "Search 1,426,888 species"

and just below:

    2,497,114total species     691total infraspecific    700,303common names in 155 languages

so the counters are probably reading the second value from somewhere (and the cache needs to be cleared or smth). 
    


Author: mdoering@gbif.org
Comment: the lower number is the number coming from CoL not our backbone. So Cip you gotta use datasetKey=7ddf754f-d193-4cc9-b351-99906754a03b with the same query. It does not make sense to me at all to show the number of CoL species here, but what can I say...
Created: 2013-09-11 17:06:29.692
Updated: 2013-09-11 17:06:29.692


Author: cvizitiu@gbif.org
Created: 2013-09-11 17:48:29.894
Updated: 2013-09-11 17:48:29.894
        
OK, key added for species (you gave me the other key to begin with :-o  ). What about the other figures? Here's the current list

			$.getJSON(cfg.wsMetrics + 'occurrence/count?callback=?', function (data)
			$.getJSON(cfg.wsClbSearch + '?dataset_key=7ddf754f-d193-4cc9-b351-99906754a03b&limit=1&rank=species&status=accepted&callback=?', function (data)
			$.getJSON(cfg.wsRegSearch + '?limit=1&callback=?', function (data)
			$.getJSON(cfg.wsReg + 'organization?limit=1&callback=?', function (data)

    


Author: mdoering@gbif.org
Comment: I gave you the backbone key cause I (still) think it is wrong to show the catalogue of life numbers instead of our backbone. It is not what we use internally, so why do we pretend we do? 
Created: 2013-09-11 18:59:24.457
Updated: 2013-09-11 18:59:24.457


Author: trobertson@gbif.org
Created: 2013-09-25 17:44:00.091
Updated: 2013-09-25 17:44:00.091
        
Fixed species count to include doubtful with https://code.google.com/p/gbif-portal/source/detail?r=2242