Skip to content

Numbering of D-M parameters when both length and age composition input (exceeds Nfleet) #183

@skylersagarese-NOAA

Description

@skylersagarese-NOAA

Issue #152 implemented an error if the number of D-M exceeds the number of fleets, but if both length and age composition are included for fleets, the number of D-M can exceed Nfleet according to Page 56 in the manual:

image

For our Gulf models (scamp grouper example below), which often incorporate both length and age compositions for fishing fleets, we get the following error because Nfleet = 6 but additional D-Ms are needed for the age data.

Control file:
...
#_mintailcomp addtocomp combM+F CompressBins CompError ParmSelect minsamplesize
-1 1e-003 0 0 1 1 1 #_fleet:1_ComVL
-1 1e-003 0 0 1 2 1 #_fleet:2_ComLL
-1 1e-003 0 0 1 3 1 #_fleet:3_Charter_Private
-1 1e-003 0 0 1 4 1 #_fleet:4_Headboat
-1 1e-003 0 0 1 5 1 #_fleet:5_Combined_Video
-1 1e-003 0 0 1 6 1 #_fleet:6_RFOP_Index
...
#_mintailcomp addtocomp combM+F CompressBins CompError ParmSelect minsamplesize
-1 1e-003 0 0 1 7 0.001 #_fleet:1_ComVL

Warning file:
1; Age D-M index for fleet: 1 is: 7 but must be an integer <=Nfleet

Please let us know if you require additional information. Thanks!

Metadata

Metadata

Labels

bugSomething isn't working; don't remove label after fixing

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions