Skip to content

gmr 1.3.7

Latest
Compare
Choose a tag to compare
@MatthVeron MatthVeron released this 31 Oct 20:37
· 4 commits to master since this release

This new version includes implementations linked to GMACS version 2.10.01, which involved changes to the read/write functions of GMACS input files, implementation of a new workflow to update/upgrade Gmacs (development module). This version also includes a better documentation of most functions with examples.

New functions

Functions to deal with Gmacs input/output files

  • clean_Inputfiles (): clean Gmacs input files in a folder.
  • get_Param_name(): get the name of all parameters. Useful to write .par/.pin files.
  • getInpOutFiles(): read all the Gmacs input files ('gmacs.dat', 'model.dat', 'model.ctl', 'model.prj') and and if they exist, the Gmacs output files ('Gmacsall.out', 'gmacs.par', 'gmacs.rep', 'simdata.out').

Functions related to the development module

  • set_DevStruct(): Set up structure folder for the development of a new code version of Gmacs.
  • CompareCodeVersion(): run tests of comparison between two code versions of Gmacs.

Updated functions

Functions to deal with Gmacs input/output files

  • clean_files(): add the possibility to give specific file names and improve the process of deletion.
  • copy_GMACSinputs(): improve the process for copying files and checks.
  • readGMACS.dat(): add the read of the units.
  • readGMACSallOUT(): add new implementation of Gmacs and names for all parameters.
  • readGMACSctl(): add the maturity probability.
  • readGMACSpar(): add the description of each parameter and update stuff about maturity probability, environmental impact on selex.
  • writeGmacs.dat(): add stuff related to the development module.
  • writeGmacsctlfile(): add stuff related to the development module and the maturity probability.
  • writeGmacsdatfile(): add stuff related to the development module and new format for catch, size frequency and survey data frames.
  • writeGmacsPAR(): update to account for the number of digits when writing the '.par'/'.pin' files.
  • writeGmacsprjfile(): add stuff related to the development module.
  • write_Gmacs_InputFiles(): write all the stock-specific Gmacs input files

Functions to deal Gmacs code, executables and updates

  • .GetGmacsExe(): add the possibility to specify the path to the repertory that holds the '.tpl' file.
  • insertTime();insertTime2(): add a development option.
  • NewGMACSFeat(): improve the way of adding new features in the 'gmacsbase.tpl'.
  • UpdateGMACS(): change the header to update/upgrade Gmacs, add cleaning options related to the development module.
  • write_TPL(): add stuff about the development module.

Full Changelog: V1.3.6...V1.3.7