un-fao / calipseo-shiny

Calipseo is FAO web- based platform for national Fisheries Authorities to streamline management of fisheries data and the production, analysis and reporting of fishery statistics.
1 stars 0 forks source link

[CALR-38] Vessel Details module - additional information (vessel characteristics) to put in vessel identity card #38

Closed eblondel closed 6 months ago

eblondel commented 6 months ago

Issue migrated from JIRA: https://sdlc.review.fao.org/jira/browse/CALR-38 Creator/Reporter: Emmanuel Blondel @eblondel Assignee: Brian Ojok @brianandy Priority: Medium Status: Done Date of creation: 2021-12-08T22:21:04.000+0000

Add characteristics tab for the vessel identity card, in a shape of a table

  1. 1st step handle the below in table (1st column = dimension label, 2d column: value found in the database)

LOA (Length Overall)

DRA (Draught)

GT (Gross Tonnage)

SPEED (Speed)

TRAWLING_SPEED (Trawling speed)

POWER (Power)

2.  The information can be taken from reg_vessels. If no value, put "–" 2d step: add a new column to put values found in Vessel finder. By parsing html page of the vessel we can get information publicly available for LOA,DRA, and GT at least

If no value, put "–". The information will be made available through the vesselFindeR function already used for grabing the image, through CALR-37

The result will be a tab with title "Characteristics" containing a table like this (example with ARAVIS surinamese boat):

  || ||Calipseo||VesselFinder || |Length overall (m)|25.68|30| |Draught (m)|–|–| |Beam (m)|–|8| |Gross tonnage|–|252| |Summer Deadweight (t)|–|250| |Speed|–|–| |Trawling speed|–|–| |Power*|–|–|

Additional measures, not yet available in Calipseo but available in Vessel Finder, and to be added to that table as well:

Note: Beam and Summer Deadweight are not yet available in Calipseo, you should hardcoded "–" for now, but in  VesselFinder we may have this information.