DTUAqua/spict

Mohn's rho calculation issue

Closed this issue · 1 comments

Hello,
In a case when input data have one abundance index starting in 1990.8 and catch series starts in 2009, the plotting.R fails to estimate Mohns rho values. I followed the issue and it seems that Line 285:

anntime <- intime[which(intime %% 1 == 0)]

does not work for this specific case.

I am using as alternative: anntime <- unique(floor(intime))

Many thanks,

Thanks for that @pazsamp, I will check and fix it for the next release (v1.3.8).