Operational Longline Data Format

Operational (logbook) data provide high-resolution, event-level information on fishing activities. Each record generally corresponds to a single fishing activity (e.g., set, haul, or day) and contains critical information required for scientific analysis and compliance monitoring including date, location (latitude and longitude), effort metrics (e.g., number of hooks), gear specifications, and species-specific catch (by weight and/or number).

These data support a range of data analyses, including catch-per-unit-effort (CPUE) standardization, habitat modeling, species interaction studies, and compliance checks. Due to the fine-scale temporal and spatial granularity of these data, they are key inputs to regional stock assessments and ecosystem analyses.

Field formatting details

  • Datetime must be reported in ISO 8601 format: YYYY-MM-DD HH:MM:SS.
  • Latitude and longitude must be reported in decimal degrees with 3 decimals, the valid range is -180 to 180 for longitude and -90 to 90 for latitude.
    • E.g. -5.432 for latitude and 170.215 for longitude
  • Catches must be reported in kilograms (kg) and number of individuals (n), and must be whole values (cannot use decimal values).
  • Species code must be FAO standard Species Code (3 characters).
    • E.g. YFT - Yellowfin Tuna or ALB - Albacore Tuna.
  • Each port has a unique 5 letter code. Please refer to this document provided by WCPFC.

Documents structure and data fields format

Operational data are structured in three interconnected levels: Trip, Activity, and Catch. Separate tables are used for each data level to maintain clarity and reduce redundancy. Each table is connected using unique identifiers: trip_id for the Trip level and activity_id for the Activity level. These identifiers must be numeric or alphanumeric and unique within the set of files.

👉 Data providers can also download ready-to-use CSV data templates for each level (trip, activity, and catch).

CSV Data Templates

Trip level

This is the header of the trip, it has one row per trip.

Example document at trip level

trip_idvessel_namevessel_regircsflag_codefleet_codetarget_speciesdeparture_portunloading_portdeparture_datetimeunloading_datetime
TRIP001Pacific Star9709356FHY78USASYFTWSAPWWSAPW2025-03-01 05:382025-03-18 22:47
TRIP002Pacific DawnLFV0366FHY78USASALBTOTBUTOTBU2025-02-01 16:592025-02-12 11:28

Field descriptions at trip level

Field nameTypeFormatDescriptionMandatory
trip_idStringAlphanumeric - refer to Trip level identifierUnique identifier for the tripYes
vessel_nameStringAlphanumericName of the fishing vesselYes
vessel_regStringAlphanumericRegistration number of the vesselYes
ircsStringAlphanumericInternational radio call signYes
flag_codeText2 letter flag-state code (UN/LOCODE)Authorized flag stateNo*
fleet_codeText2 letter code for sub-fleet (see fleet reference table)Sub-fleet codeNo*
target_speciesStringFAO 3 letters CodeMain target species codeNo
departure_portStringWCPFC port codePort of departureYes
unloading_portStringWCPFC port codePort of unloadingYes
departure_datetimeDatetimeYYYY-MM-DD HH:MM:SSDate of departureYes
unloading_datetimeDatetimeYYYY-MM-DD HH:MM:SSDate of unloadingYes

* In the case a vessel is already identified, for example having a WCPFC Vessel ID and is listed in WCPFC Record of Fishing Vessels , the flag_code and fleet_code can be omitted.

Activity level

This level contains one row per activity within a trip. At least one Activity entry should be recorded each day, and it is possible to have multiple activities in the same day.

Example document at activity level

trip_idactivity_idactivity_type_idactivity_datetimelatitudelongitudehooks_nhooks_bt_floattarget_speciesspecies_bait1species_bait2species_bait3mainline_lenbranchline_lenfloatline_lenlightstick_nvessel_speedlinesetter_speed
TRIP001ACT00112025-03-03 07:05-10.25170.6925025YFTSQU80.012.52017611
TRIP001ACT00212025-03-04 10:14-10.502170.342625025YFTSQU80.012.50.5
TRIP001ACT00312025-03-05 08:45-10.703170.17625025YFTSQU80.0100.5
TRIP001ACT00422025-03-06 12:00-10.80170.2
TRIP001ACT00552025-03-07 12:00-10.9031170.24
TRIP002ACT00612025-03-03 07:05-19.559163.2225025ALBCHP110.012.5200512

Field descriptions at activity level

Field nameTypeFormatDescriptionMandatory
trip_idStringAlphanumeric - refer to Trip level identifierUnique identifier for the tripYes
activity_idStringAlphanumeric - refer to Activity level identifierUnique identifier for the activityYes
activity_type_idNumberInteger: refer to Reference Table 1Type of activityYes
activity_datetimeDatetimeISO 8601 Date and time: YYYY-MM-DD HH:MMDate and time of the activityYes
latitudeNumberDecimal DegreesLatitude of the activity locationYes
longitudeNumberDecimal DegreesLongitude of the activity locationYes
hooks_nNumberIntegerNumber of hooksYes*
hooks_bt_floatNumberIntegerNumber of hooks between floatsYes*
target_speciesStringFAO 3 letters CodeTarget species codeNo
species_bait1StringFAO 3 letters Code, refer to Table 2Bait species used in setNo
species_bait2StringFAO 3 letters Code, refer to Table 2Secondary bait species used in setNo
species_bait3StringFAO 3 letters Code, refer to Table 2Tertiary bait species used in setNo
mainline_lenNumberUnit: MetersMainline length in km used in the setNo
branchline_lenNumberUnit: MetersLength of the branchlineNo
floatline_lenNumberUnit: MetersAverage length in meters of the float linesNo
lightstick_nNumberIntegerTotal number of lightsticks used in the setNo
vessel_speedNumberUnit: KnotsVessel speed during the activityNo
linesetter_speedNumberUnit: KnotsSpeed in knots of the line setter (i.e., the line shooter speed)No

* Mandatory for activity activity_id = 1 (Fishing Set)

Catch level

One Catch entry must be provided for each species caught during a Fishing Set, either retained or discarded. Column is_discarded indicates whether the catch was discarded (1) or retained (0).

Example document at catch level

trip_idactivity_idsp_codesp_nsp_wt_kgis_discarded
TRIP001ACT001YFT1616430
TRIP001ACT001YFT21021
TRIP001ACT001SKJ241100
TRIP001ACT001FAL001
TRIP001ACT002YFT201800
TRIP001ACT002SKJ15950
TRIP002ACT006YFT121220
TRIP002ACT006SKJ1887.50

Field descriptions at catch level

Field NameTypeFormatDescription
trip_idStringAlphanumeric - refer to Trip level identifierUnique identifier for the fishing trip
activity_idStringAlphanumeric - refer to Activity level identifierUnique identifier for the fishing activity
sp_codeStringFAO 3-letter code for the target speciesFAO 3-letter code for the target species
sp_nNumberNumber of individuals caughtNumber of individuals caught
sp_wt_kgNumberWeight of the catch in kilogramsWeight of the catch in kilograms
is_discardedNumberdiscarded (1) or retained (0)Indicator of whether the catch was discarded (1) or retained (0)

References

Reference Table 1: Activity Type identifiers

activity_type_idDescriptionCorresponding Activity Code on SPC/FFA Longline regional logsheet
1Fishing Set1
3Transit3
4No fishing - Breakdown/other issues2
5No fishing - Bad weather2
6In port4
18Transhipping or bunkering5

Reference Table 2: Example Bait species table

Bait species short list based on FAO 3 letters Code.

FAO CodeTaxa/species categories
CLPHERRINGS, SARDINES, NEI
DPTDECAPTHURUS SP. - MUROAJI
MAXMACKERELS NEI
MILMILKFISH
MSDMACKEREL SCAD
PILEUROPEAN PILCHARD (=SARDINE)
SAPPACIFIC SAURY
SQUVARIOUS SQUIDS NEI
TUNTUNAS NEI
OTHComment on bait type

Reference Table 3: List of Fleets

country_codefleet_codegear_codeis_activeocean_codesdescription
AONULLO1AOAO Other
AUNULLO1SP,SX,WPAustralia Other
AUNULLP1WX,SP,SX,WPAustralia pole-and-line
AUNULLT1WX,SP,SX,WPAustralia troll
AUAFS1WX,SP,SX,WPAustralia purse seine, inside the Australian Fishing Zone
AUAUL1WX,SP,SX,WPAustralia domestic and chartered longline
AUEXS1WX,SP,SX,WPAustralia distant-water purse seine
AUJVL1WX,SP,SX,WPAustralian joint-venture Longline
BZNULLL1SP,SX,WPBelize Longline
CANULLS1SP,NP,WPCanadian Purse seine
CANULLT1NP,NXCanada troll
CKNULLL1WX,SP,SX,WPCook Islands longline
CKNULLO1WX,SP,SX,WPCook Islands Artisanal
CKNULLS1WX,WPCook Islands purse seine
CNNULLL1WX,SP,NP,SX,NX,WPChina offshore and distant-water longline
CNNULLS1WX,WPChina purse seine
CNDWL1SP,NP,NX,SXChina distant-water longline
ECNULLS1WX,EP,WPEcuador Purse seine
EPNULLL1SP,NP,EPEP Longline
EPNULLO1EPEP Other
EPNULLP1EPEP Pole and line
EPNULLS1EPEP Seiner
EPNULLT1SP,NP,EPEP Troll
ESNULLL1WX,SP,NP,SX,NX,WPEU - Spanish Longline
ESNULLS1WX,WPEU - Spanish purse seine
FJNULLL1WX,SP,SX,WPFiji longline
FJNULLO1WX,SP,SX,WPFiji Artisanal Tuna Fisheries
FJNULLP1WX,SP,SX,WPFiji pole-and-line
FMNULLL1WX,SP,NP,NX,SX,WPFederated States of Micronesia longline
FMNULLS1WX,WPFederated States of Micronesia purse seine
GUNULLL1NP,NX,WPGuam longline
IDNULLG1WX,SP,SX,WPIndonesia gillnet
IDNULLH1WX,SP,SX,WPIndonesia handline (large-fish)
IDNULLK1WX,SP,SX,WPIndonesia small-fish hook-and-line
IDNULLL1WX,SP,SX,WPIndonesia longline
IDNULLO1WX,SP,SX,WPIndonesia unclassified
IDNULLP1WX,SP,SX,WPIndonesia pole-and-line
IDNULLT1WX,SP,SX,WPIndonesia troll
IDDWS1WX,WPIndonesia distant-water purse seine
IDIDS1WX,WPIndonesia domestic purse seine
IONULLO1IOIO Other
JPNULLG1WX,SP,NP,NX,SX,WPJapan drift gillnet
JPNULLN1WX,SP,NP,WPJapanese Gillnet
JPNULLO1WX,NP,NX,WPJapanese Other
JPNULLT1WX,NP,NX,WPJapanese Troll
JPCSL1WX,NP,NX,WPJapan coastal fleet longline
JPCSP1WX,NP,NX,WPJapan coastal fleet pole-and-line
JPCSS1WX,NP,NX,WPJapan coastal fleet purse seine
JPDWP1WX,SP,NP,NX,WPJapan offshore and distant water pole-and-line
JPDWS1WX,SP,NP,NX,WPJapan offshore and distant-water purse seine
JPJPL1WX,SP,NP,SX,NX,WPJapan offshore and distant water longline
KINULLL1WX,SP,NP,SX,NX,WPKiribati longline
KINULLO1SP,NX,WPKiribati Artisanal
KINULLP1WX,NP,NX,WPKiribati pole-and-line
KINULLS1WX,NX,WPKiribati purse seine
KRNULLG1WX,SP,NP,NX,SX,WPKorea drift gillnet
KRNULLL1WX,SP,NP,SX,NX,WPKorea longline
KRNULLS1WX,WPKorea purse seine
MHNULLL1WX,NP,NX,WPMarshall Islands longline
MHNULLS1WX,NX,WPMarshall Islands purse seine
MXNULLO1WPMexico Other
MXNULLS1WX,WPMexico purse seine
NCNULLL1WX,SP,SX,WPNew Caledonia longline
NCNULLP1WX,SP,SX,WPNew Caledonia pole-and-line
NINULLS1WPNicaragua purse seine
NPNULLL1SP,NPNP Longline
NPNULLT1SP,NPNP Troll
NRNULLL1NP,NX,WPNauru longline
NRNULLO1WX,SP,NX,WPNauru Artisanal Tuna Fisheries
NRNULLS1WX,NX,WPNauru purse seine
NUNULLL1SP,SX,WPNiue longline
NUNULLO1WX,SP,SX,WPNiue Artisanal
NZNULLL1WX,SP,SX,WPNew Zealand longline
NZNULLO1SP,SX,WPNew Zealand Other
NZNULLP1WX,SP,SX,WPNew Zealand pole-and-line
NZNULLS1WX,WPNew Zealand purse seine
NZNULLT1WX,SP,SX,WPNew Zealand troll
PANULLS1WPPanama Purse seine
PFNULLL1WX,SP,SXFrench Polynesia longline
PFNULLP1SP,SXFrench Polynesia pole-and-line
PFNULLT1WX,SP,SX,WPFrench Polynesia troll
PFO1WX,SP,SX,EP,WPFrench Polynesia Other
PGNULLL1WX,SP,SX,WPPapua New Guinea longline
PGNULLP1WX,SP,SX,WPPapua New Guinea pole-and-line
PGNULLS1WX,SX,WPPapua New Guinea purse seine
PHNULLG1SP,NP,WPPhilippines gillnet
PHNULLH1WX,NP,NX,WPPhilippines handline (large-fish)
PHNULLK1NP,NX,WPPhilippines handline (small-fish)
PHNULLL1WX,NP,NX,WPPhilippines domestic longline
PHNULLO1NP,NX,WPPhilippines artisanal gears (not specified)
PHNULLR1WX,NP,NX,WPPhilippines ringnet
PHDWS1WX,WPPhilippines distant-water purse seine
PHPHS1WX,NX,WPPhilippines domestic purse seine
PTNULLL1SP,SX,WPEU - Portuguese Longline
PWNULLL1WX,NP,NX,WPPalau longline
PWNULLP1WX,NP,NX,WPPalau pole-and-line
SBNULLL1WX,SP,NP,SX,NX,WPSolomon Islands longline
SBNULLP1WX,SP,SX,WPSolomon Islands pole-and-line
SBNULLS1WX,SX,WPSolomon Islands purse seine
SNNULLL1SP,NP,NX,WPSenegal Longline
SUNULLL1SP,NP,NX,WPSoviet Union longline
SUNULLS1WX,WPRussia purse seine
SVNULLS1WPEl Salvador Purse seine
TKNULLO1WX,SP,SX,WPTokelau Artisanal Tuna Fisheries
TONULLL1WX,SP,SX,WPTonga longline
TONULLO1WX,SP,SX,NX,WPTonga Artisanal Tuna Fisheries
TVNULLL1WX,SP,SX,WPTuvalu longline
TVNULLO1WX,SP,SX,WPTuvalu Artisanal Tuna Fisheries
TVNULLP1WX,SP,SX,WPTuvalu pole-and-line
TVNULLS1WX,WPTuvalu Purse seine
TWNULLG1SP,NP,NX,SX,WPChinese Taipei drift gillnet
TWNULLO1NP,NX,WPChinese Taipei Other
TWNULLR1WX,WPChinese Taipei domestic SEINE
TWNULLS1WX,WPChinese Taipei purse seine
TWDWL1WX,SP,NP,SX,NX,WPChinese Taipei distant-water longline
TWODL1NP,NXChinese Taipei offshore domestic longline (REDUNDANT -STLL)
TWOSL1WX,SP,NP,SX,NX,WPChinese Taipei small-scale Longline (STLL)
USNULLG1SP,NPUnited States of America Gillnet
USNULLO1WPUnited States of America (Sports fishery)
USNULLO1WPUnited States of America (Unclassified)
USNULLP1SP,NP,NX,WPUnited States of America Pole and line (Albacore)
USNULLS1WX,WPUnited States of America purse seine
USNULLT1WX,SP,NP,SX,NX,WPUnited States of America Troll (Tropical)
USNULLT1WX,SP,NP,SX,NX,WPUnited States of America (Albacore) troll
USASL1WX,SP,NP,SX,NX,WPAmerican Samoa longline
USAST1WX,SP,SX,NX,WPAmerican Samoa (US) Troll
USGUL1WX,NP,NX,WPGuam (US) Longline
USGUT1WX,SP,SX,NX,WPGuam (US) Troll
USHWH1WX,NP,NX,WPHawaii (US) Handline
USHWL1WX,SP,NP,NX,WPUnited States of America longline (Hawaii)
USHWP1SP,NP,NX,WPHawaii pole-and-line
USHWT1WX,NP,SX,NX,WPHawaii (US) Troll
USHWT1SP,NX,SX,WPHawaii (US) Troll and Handline
USMPL1WX,NP,NX,WPNorthern Marianas Islands (US) Longline
USMPT1WX,SP,SX,NX,WPNorthern Mariana Islands (US) troll
USUSL1WX,SP,NP,NX,WPUnited States of America longline
VNNULLG1WX,NP,NX,WPVietnamese Gillnet
VNNULLH1WX,NP,NX,WPVietnamese Handline
VNNULLL1WX,NP,NX,WPVietnamese Longline
VNNULLS1WX,NP,NX,WPVietnamese Purse seine
VUNULLL1WX,SP,NP,SX,NXVanuatu longline
VUNULLO1WX,SP,SX,WPVanuatu Artisanal Tuna Fisheries
VUNULLS1WX,WPVanuatu purse seine
WFNULLL1WX,SP,SX,WPWallis and Futuna Longline
WFNULLO1WXWallis and Futuna artisanal
WFNULLT1WX,SP,SX,WPWallis and Futuna Troll
WNNULLL1SP,NPNorth Western Pacific longline
WNNULLP1North Western Pacific pole-and-line
WNNULLT1SP,NPNorth Western Pacific troll
WPNULLL1SP,NP,EPWP Longline
WPNULLO1EPWP Other
WPNULLP1EPWP Pole and line
WPNULLS1EPWP Purse Seine
WSNULLL1WX,SP,SX,WPSamoa longline