Controls list

This page lists the controls made by Coser when verifying the data.

Catches

Field

Check

Level

Survey

Mandatory field

Error

Year

Field with 4 mandatory numbers and 2 optional numbers

System Message: WARNING/2 (line 38)

Block quote ends without a blank line; unexpected unindent.

 separated by a point (quarter) ex : 2002.25

Error

Haul

Made up of letters and numbers

Error

Species

Mandatory field

Error

Number

Number, empty or NA

Error

Weight

Number, empty or NA

Error

Other checks

Level

If Weight has a value different from 0, then Number also needs to be different from 0

Error

Check for duplicate entries with the keys "Survey", "Year", "Haul", "Species"

Error

Check of the minimum number of observations (minobs) in the table CATCH$Number by species by stratum by year

Warning

Stratas

Fields

Check

Level

Survey

Mandatory field

Error

Stratum

Mandatory field

Error

Surface

Number strictly positive

Error

Other Checks

Level

Check for duplicated lines using the key "Survey", "Stratum"

Error

Lengths

Fields

Check

Level

Survey

Mandatory field

Error

Year

Field with 4 mandatory numbers and 2 optional numbers

System Message: WARNING/2 (line 90)

Block quote ends without a blank line; unexpected unindent.

 separated by a point (quarter) ex : 2002.25

Error

Haul

Made up of letters and numbers

Error

Species

Mandatory field

Error

Sex

Mandatory field

Error

Maturity

Mandatory field

Error

Length

Number or empty, strictly positive

Error

Number

Number, empty or NA

Error

Weight

Number, empty or NA

Error

Age

 Number, empty or NA

 Error

Other Checks

Level

If Weight has a value different from 0, the corresponding Number must aslo be different from 0

Error

Check for duplicated lines using the key "Survey", "Year", "Haul",

System Message: WARNING/2 (line 116)

Block quote ends without a blank line; unexpected unindent.

 "Species", "Sex", "Maturity", "Length"

Error

Check the minumum number of observations is >=minobs in the table

System Message: WARNING/2 (line 119)

Block quote ends without a blank line; unexpected unindent.

 LENGTH$Number by species by stratum by year

Error

For the fishes, the Length field must be integer cm or half cm (for example: 4.0 or 4.5 but not 4.25)

 Warning

Hauls

Fields

Check

Level

Survey

Mandatory field

Error

Year

Field with 4 mandatory numbers and 2 optional numbers

System Message: WARNING/2 (line 134)

Block quote ends without a blank line; unexpected unindent.

 separated by a point (trimester) ex : 2002.25

Error

Haul

Made up of letters and numbers

Error

Month

2 numbers

Error

Stratum

Mandatory field

Error

SweptSurface

Mandatory field and number or NA

Error

Lat

Number, empty or NA

Error

Long

Number, empty or NA

Error

Depth

Number, empty or NA

Error

SweptSurface

 In km2 with at least 3 decimal values

 Fatal

Lat

 Decimal degrees with at least 4 decimal values (ex. 50.4443)

 Warning

Long

 Decimal degress with at least 4 decimal values (ex. -7.5554)

 Warning

Other Checks

Level

Check for duplicated lines using key "Survey", "Year", "Haul", "Month"

Error

Files cross-checking

Checks

Level

Check the survey name is the same in the 4 files

Fatal

The list of years must be the same in the Catchs, Length and Hauls files

Fatal

Check that for each species present in a haul of a year in the length file (noted Year/Haul/Species) there is an entry in the catch file (the opposite is not true)

 Fatal    

Check that for each haul present in a year (noted Year/Haul) in the length and catch files, there is an entry in the haul file

Fatal

Check if, for a given year, there is an entry in catch file, there is a corresponding one in the length file too.

Warning

 Check that the difference between total numbers in the catch file and  the corresonding numbers in the length file is below the percentage

System Message: ERROR/3 (line 184)

Unexpected indentation.

defined in configuration file.

Warning

Check that all strata in the haul file are also present in strata file.

Fatal

Check that all strata present in strata file are also in the haul file.

Warning

Check that each haul present in the catch file is also in the haul file.

Fatal

Check that each haul present in the haul file is also in the catch file.

Warning

Check that each haul present in the length file is also in the catch file.

Fatal

Check that each haul present in the catch file is also in the length file.

Warning

Check that each species present in the length file is also in the catch file

Fatal

Check that each species present in the catch file is also in the length file

Warning

Cross checking with the taxonomic reference file

Checks

Level

The Species field in the catch file must correspond to a species present in the taxonomic reference file

 Error

The Species filed in the length file must correspond to a species present in the taxonomic reference file

 Error