Skip to content

fixNoFishNodes() sets parameter twice #45

@mackerman44

Description

@mackerman44

On two consecutive occasions, I've had fixNoFishNodes() write out a JAGS file which attempts to set the parameter phi_SC2[1] twice. The error is below and occurs when I initiate the model run (apologies, I had to screen capture from another machine). My code chunk is as follows:

fixNoFishNodes(init_file = init_mod_file,
               file_name = final_mod_file,
               filter_ch = filter_ch,
               parent_child = parent_child,
               configuration = configuration,
               fish_origin = origin_df)

The script containing this code chunk is within the NPTFisheries/SnakeRiverFishStatus repo at "scripts/05_dabom.R". The init_mod_file is at "model_files/lgr_dabom_jags.txt" and the parent_child and configuration objects are located within "data/configuration_files/site_config_LGR_20231117.rda". So far this has occurred for SY2010 and SY2011 Chinook salmon.

This is of low priority as its easy enough for me to just go modify those parameters by hand before initiating the DABOM model run. Just noting it for now.

image

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