Hi all,
I found a problem using 'eventDate' in the occurrence API. I could only get results by range queries but not with a date.
14 results between 2014-03-10 and 2014-03-11 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2014-03-11 (It should be 14 results) http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2014-03-10 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
The example below is totally fine, so it seems that not all data have this problem.
14 results between 2015-03-17 and 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 14 results on 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2015-03-17 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
Is there anything wrong with data or API?
Cheers,
Kumiko -------------------------------------------------------- Kumiko Totsu Center for Environmental Biology and Ecosystem Studies National Institute for Environmental Studies, Japan totsu.kumiko@nies.go.jp --------------------------------------------------------
Hi,
Thanks for reporting the issue.
We recognize there are issues with the interpretation of some dates due to improper handling of timezones, the issues are with the API[1] and not the data. We will address those issues shortly but it will require some time. In the meantime, we kindly ask you to continue to use the date range query in order to get the expected results.
We are sorry for any inconvenience this may have caused you.
Kind regards,
Christian Gendreau Software Developer Global Biodiversity Information Facility (GBIF) cgendreau@gbif.org http://www.gbif.org
On 13/10/15 07:18, Kumiko Totsu wrote:
Hi all,
I found a problem using 'eventDate' in the occurrence API. I could only get results by range queries but not with a date.
14 results between 2014-03-10 and 2014-03-11 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2014-03-11 (It should be 14 results) http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2014-03-10 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
The example below is totally fine, so it seems that not all data have this problem.
14 results between 2015-03-17 and 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 14 results on 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=... 0 result on 2015-03-17 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
Is there anything wrong with data or API?
Cheers,
Kumiko
Kumiko Totsu Center for Environmental Biology and Ecosystem Studies National Institute for Environmental Studies, Japan totsu.kumiko@nies.go.jp
API-users mailing list API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
Sorry, the link to the issue was missing: [1] http://dev.gbif.org/issues/browse/POR-1508
Christian Gendreau Software Developer Global Biodiversity Information Facility (GBIF) cgendreau@gbif.org http://www.gbif.org
On 15/10/15 12:23, Christian Gendreau [GBIF] wrote:
Hi,
Thanks for reporting the issue.
We recognize there are issues with the interpretation of some dates due to improper handling of timezones, the issues are with the API[1] and not the data. We will address those issues shortly but it will require some time. In the meantime, we kindly ask you to continue to use the date range query in order to get the expected results.
We are sorry for any inconvenience this may have caused you.
Kind regards,
Christian Gendreau Software Developer Global Biodiversity Information Facility (GBIF) cgendreau@gbif.org http://www.gbif.org
On 13/10/15 07:18, Kumiko Totsu wrote:
Hi all,
I found a problem using 'eventDate' in the occurrence API. I could only get results by range queries but not with a date.
14 results between 2014-03-10 and 2014-03-11 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2014-03-11 (It should be 14 results) http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2014-03-10 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
The example below is totally fine, so it seems that not all data have this problem.
14 results between 2015-03-17 and 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
14 results on 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2015-03-17 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
Is there anything wrong with data or API?
Cheers,
Kumiko
Kumiko Totsu Center for Environmental Biology and Ecosystem Studies National Institute for Environmental Studies, Japan totsu.kumiko@nies.go.jp
API-users mailing list API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
Hi Christian,
Thank you for your reply. I will use the range query for now.
Kumiko
On 2015/10/15 19:27, Christian Gendreau [GBIF] wrote:
Sorry, the link to the issue was missing: [1] http://dev.gbif.org/issues/browse/POR-1508
Christian Gendreau Software Developer Global Biodiversity Information Facility (GBIF) cgendreau@gbif.org http://www.gbif.org
On 15/10/15 12:23, Christian Gendreau [GBIF] wrote:
Hi,
Thanks for reporting the issue.
We recognize there are issues with the interpretation of some dates due to improper handling of timezones, the issues are with the API[1] and not the data. We will address those issues shortly but it will require some time. In the meantime, we kindly ask you to continue to use the date range query in order to get the expected results.
We are sorry for any inconvenience this may have caused you.
Kind regards,
Christian Gendreau Software Developer Global Biodiversity Information Facility (GBIF) cgendreau@gbif.org http://www.gbif.org
On 13/10/15 07:18, Kumiko Totsu wrote:
Hi all,
I found a problem using 'eventDate' in the occurrence API. I could only get results by range queries but not with a date.
14 results between 2014-03-10 and 2014-03-11 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2014-03-11 (It should be 14 results) http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2014-03-10 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
The example below is totally fine, so it seems that not all data have this problem.
14 results between 2015-03-17 and 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
14 results on 2015-03-18 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
0 result on 2015-03-17 http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=...
Is there anything wrong with data or API?
Cheers,
Kumiko
Kumiko Totsu Center for Environmental Biology and Ecosystem Studies National Institute for Environmental Studies, Japan totsu.kumiko@nies.go.jp
API-users mailing list API-users@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
participants (2)
-
Christian Gendreau
-
Kumiko Totsu