Project

General

Profile

Actions

Feature #24653

closed

GRSF API does not include reference source for each datum

Added by Aureliano Gentile about 2 years ago. Updated about 2 years ago.

Status:
Completed
Priority:
Normal
Target version:
Start date:
Feb 24, 2023
Due date:
% Done:

100%

Estimated time:

Description

In the time series exposed via GRSF APIs these fields are missing:

db_source
data_owner

while these fields are in the KB and in the CKan catalogue, see for example:

https://isl.ics.forth.gr/grsf/grsf-api/resources/getstock?uuid=ff77592f-b642-3cd6-abed-7d0794c2ce62

vs.

https://data.d4science.org/ctlg/GRSF_Admin/ff77592f-b642-3cd6-abed-7d0794c2ce62


Files

clipboard-202302241646-agrde.png (28.8 KB) clipboard-202302241646-agrde.png Yannis Marketakis, Feb 24, 2023 03:46 PM
clipboard-202302272000-xoa9r.png (74.7 KB) clipboard-202302272000-xoa9r.png Anne Elise Nieblas, Feb 27, 2023 05:00 PM
Actions #1

Updated by Aureliano Gentile about 2 years ago

  • Subject changed from GRSF API does not include reference source ofr each datum to GRSF API does not include reference source for each datum
Actions #2

Updated by Yannis Marketakis about 2 years ago

The data owner is retrieved (it is not included in the timeseries group).
Morover, the original record IDs and URLs are retrieved that reveal the Data source

Of course if you think, that they should be retrieved explicitly we will update the API methods

Actions #3

Updated by Anne Elise Nieblas about 2 years ago

Hi both,

Thanks for raising this ticket Aureliano. What I meant was the assessment source reference - so like a link directly to the assessment report. The closest I see on GRSF is the reporting year or assessment id (e.g. screenshot for Albacore - Indian Ocean catches)

But what I would like is the reference source where these data came from - which is available in FIRMS at least (e.g. IOTC. 2020. Albacore. Executive Summary.
IOTC–SC23 2020. Report of the 23rd Session of the IOTC Scientific Committee. Seychelles, 7 – 11 December 2020. IOTC–2020–SC23–R[E]: 211pp.)

Best, Anne-Elise

Actions #4

Updated by Aureliano Gentile about 2 years ago

Dear Yannis, thanks, I think the owner and source urls do refer to the record as a whole, while I am referring to each single datum, for example
{
"value": "1.2604054054",
"unit": "BdivBmsypref",
"type": "Abundance Level",
"reporting_year": "2021",
"reference_year": "1985"
},
and if you compare with the ckan, you will see that db_source (RAM) and data_owner are missing (WGNSSK).

Actions #5

Updated by Yannis Marketakis about 2 years ago

  • Status changed from New to Completed
  • % Done changed from 0 to 100

GRSF-API has been updated.
It now reports all the data owners and the DB sources contributing for a GRSF record at time-series level (similarly to the way they are presented from the catalogue).
Now the response of the GRSF API look like the following:

"catches": [
            {
                "value": "1.58E+04",
                "unit": "TCbest",
                "type": "Catch",
                "data_owner": "WGNSSK",
                "db_source": "RAM",
                "reporting_year": "2018",
                "reference_year": "1980"
            },
            {
                "value": "16486",
                "unit": "tonnes",
                "type": "Catch",
                "data_owner": "International Council for the Exploration of the Sea (ICES)",
                "db_source": "FIRMS",
                "reporting_year": "2016",
                "reference_year": "2012"
            }]
Actions #6

Updated by Aureliano Gentile about 2 years ago

with many thanks, it looks great.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)