Using Recap
Recap is written in Mathematica, which must be installed before the program can be run. The most important feature of the program is to evaluate the uncertainty of a capelin estimate by resampling the input data. There is a built-in facility for also taking into account uncertainty connected to migration, but more research and experience using sonar to measure school speeds are needed before this facility can be taken into use. Recap resides in the notebook BoostrapCapelin, and when this is evaluated a (rather large) menu appears, where there are options for plain resampling and several different options for making only point estimates and for experimenting with different ways of handling the estimation. Click out the option boxes for your apploication and then click on one of the red boxes for starting the program.
Recap is intended to serve as an intermedaite tool until a field program with the same facilities is available.
Should there be a wish for a more widespread use of the program than the handful ofg people connected to the maangement of Barents Sea acpelin, the program can be made to run over Internet.
A note to pragramming nerds: Recap violates all rules in the book by working on global variables. It is no large task to make the program fully object orientated. Using global variables, however, minimizes overhead time in the programming. But one should be careful with the naming practice, of course.
This is what you do to run on a new year of data
1 Create a new year directory in the directory holding the SPD data (e.g. Data/Capelin/hausttoktForBootstrap/2008) where you place all the SPD files from the survey
2 Bind the names of the SPD files to year by entering a bit of code in e.g. setBiologicalFilesAnAreaConstantsAutumn
3 Create a new directory in the directory holding the Sa-data (e.g. Data/AcousticData/Hautsloddetokt/2008) where you place all the files with acoustic data from the survey
4 Bind the names of the acoustic files to year by entering a bit of code in e.g. setAcousticFilesCapelinAutumn. Files hould include a possible extension (e.g. .txt), except for Excel files
5 Make sure the file format for the acoustic files apply. For Russian Excel files of acoustic data the first columns (Log, date, time, lat, lon) may be the same, set the variable capelinColumnRussianExcel must be set appropriately. For Norwegian data the format ListUser5 is preferrable, since then the depth distribution will be presented. If the file name contains Com or Scatter the file format ListComScatter will be assumed.