Skip to content

Days per week that are fished is fixed at 5 #4

@Blevy2

Description

@Blevy2

Hi @pdolder ,

I believe that regardless of what is set for n_days_wk_fished in an init_sim call, the init_sim script fixes the days fished to be 5. This occurs in init_sim on lines 73 & 74 where day.seq and day.breaks are created. Each of these lines contains day.seq[!day.seq %in% c(seq(7,364,7),seq(6,364,7))] which causes fishing to avoid weekends and instead fish during the 5-day work week.

I apologize for the burst of issues I have submitted over the last few days. In preparing a simulation I am discovering minor bugs here and there that I thought would be best to document them as they come up.

Ben Levy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions