Open JHHatfield opened 4 years ago
I have elaborated on this: the skip is part of criterion
. At present it does not run the occupancy model if the criterion is tripped (including zero records) but out
is still returned with metadata but not model. This could cause downstream problems for TrendSummaries but might be desirable. What do you think, @mlogie @robboyd ?
I added an error to stop the occupancy models running when there are no species records left after the nyr filter. This is good when running locally but may cause issues if failed species are automatically re-run.
See lines 398 -399 in occDetFunc.r