Skip to content

grid_spinupSpecies.csv

Chandler Haukap edited this page Jan 31, 2020 · 3 revisions

grid_spinupSpecies.csv is the file where you can specify which species will be a part of Spinup.

  • This file is species specific and cell specific.
  • This file will only be read if Spinup is turned on in grid_setup.in.

The columns in the file are

cell copy_cell copy_which artr trdu ...

cell

The cell number for this line of input. Remember that cells are numbered by row and are 0-indexed. For example, a 4 x 4 grid would be numbered

0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15

There must be an entry present for every cell. There may be more entries than cells, but never less.

copy_cell

Input either 0 or 1.

  • 0 means "don't copy another cell's inputs".
  • 1 means "do copy another cell's inputs".
    • If you do choose to copy another cell the copy_which column must contain a valid cell number.

copy_which

This field will only be read if copy_cell is 1.

  • If that is the case, it must contain a valid cell number to copy information from.
  • If you choose to copy another cell you will not need to provide any inputs after this column.

artr, trdu, ...

The rest of the columns are named after every species in the simulation.

  • Inputing 1 will turn on Spinup for the species.
  • Inputing 0 will turn off Spinup for the species.

Example

Here is an example for a 2 x 2 grid.

cell copy_cell copy_which artr trdu cryp amre chen acmi phho arfr lipu brar vuoc spp1 spp2 pose koma bogr spcr gusa chvi
0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 1 0
3 1 1
4 1 1
  • Cell 0 has Spinup turned on for artr and cryp
  • Cell 1 has Spinup turned on for trdu and amre
  • Cell 2 will copy cell 0
  • Cell 3 will copy cell 1
  • Note that a Cell 4 is declared even though the grid is only 2 x 2. This input will not be a problem; it will simply be ignored.