DrylandEcology / STEPWAT2

folder
4 stars 5 forks source link

Incorporate new flag that outputs full seed dispersal output #497

Open kpalmqui opened 4 years ago

kpalmqui commented 4 years ago

Currently, the code will exit after a receiver cell has received seeds from 1 other cell. This was to save time, as we only need seeds from one cell to disperse to the cell for seeds to be present.

However, the downside of this approach is that we do not know all of the cells that dispersed seeds to all other cells.

This issue will implement a flag in inputs where the user can request the full seed dispersal output (all cells that dispersed seeds to all other cells) or not.

Commit https://github.com/DrylandEcology/STEPWAT2/commit/5289f9e0cd4edfb2f58ce03562fde3fecd745c3f temporarily commented out the code that will continue once a cell has received seeds from another cell. This is a temporary solution implemented for testing purposes, which is being led by @ScottCJr

More details to come..

kpalmqui commented 2 years ago

The flag set by the user should be placed in grid_setup.in.

The flag should be set to 1 if the user wants all seed dispersal output for all cells. It should be set to 0 if the user just wants to know whether a given cell received seeds from one other cell (the original implementation). Let's set the flag to 0 as default.