Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD fishing mortality process, plus improvements 202207 #400

Merged
merged 49 commits into from
Aug 24, 2022

Conversation

Craig44
Copy link
Contributor

@Craig44 Craig44 commented Jul 28, 2022

ADD: initialisation_mortality_baranov process with unittest
ADD: mortality_hybrid process (#250) that follows the recommended option in stock synthesis.
ADD: Mortality class in the process hierarchy. This was done to generalise mortality specific observations. Previously we had to dynamic cast specific mortality processes. By adding an in-between class we can have an mortality observation access multiple mortality process types.
CHG: report execute during intialisation from Model.cpp to InitialisationPhases/Manager.cpp. This will allow us to report quantities in between initialisation phases.
FIX: profiling with multiple same parameters
Solve issue #389
DEL: TestModel output from repository add to gitignore so they are not included in future commits.
FIX: AdressableTransformations (parameter transformations) when addressable is a vector. indexing starts at 1 (R-style) but was defaulting to C++ causing an misspecifed index.
UPD: usermanual
ADD: Test Case for SCI #399 using simulated data

Craig44 added 13 commits July 26, 2022 16:21
MVE: the report execute for kInitialisation from model.cpp to the initialisation manger so we can print reports after each initialsation phase.
CHG: child method from Execute -> DoExecute. This allowed me to pass the model pointer to the Execute(class) so that the manager could use the model to execute the reports.
ADD: a check if we have scaled the partition for B0 models. For multiple initialisation phases we were re-scaling each phase which was an error.
ADD: check for logistic transformation if value at bounds
UPD: user-manual
ADD: log info for iterative initialisation when converged
…ion file will enter the objective function. If it isn't flagged it will report 0
Craig44 added 10 commits July 29, 2022 13:12
…rmations

This will stop or warn users if they try and do multiple uses with the same parameters. It is unknown what would happen if a user tryies to transform a parameter and time-vary it at the same time. We want to prevent this.
UPD: timevary report to have a standard label for the dataframe. Makes accessing it in R a lot easier.
.sh scripts need to be updated so it can be on linux
CHG: category loop for calculating catch at age values was poorly written.
DEL: m pointer from the fishery struct.
accidently added to previous commit
ADD: MortalityHybrid process
UPD: manual
…_process

Now we have multiple mortality processes this will generalise the mortality specific observation classes rather than being bespoke for only instantaneous_mortality.
ADD: MortalityHybrid test model
UPD: TwoSexHybrid test model assert
@Craig44 Craig44 changed the title Initial fishing mortality process 202207 ADD fishing mortality process, plus improvements 202207 Aug 2, 2022
@NIWAFisheriesModelling NIWAFisheriesModelling merged commit aeeadb1 into master Aug 24, 2022
@Casal2 Casal2 deleted the init_F_process_202207 branch June 26, 2024 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants