You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Barrier_scaling should be c(1,0.2) following the original Brevik paper (Equation 3) and line 62 from this Brevik & Skaug example.
Additionally, the fraction of the spatial range of the decorrelation distance applied in the presence of a barrier could be user specified (e.g. Return[['Barrier_scaling']] = c(1, range_fraction)). range_fraction could be defined as a formal argument to make_data() with a default value of 0.2.
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out! Using the Pacific Islands grid and barrier vs. non-barrier fits that you provided, I can confirm that the previous implementation was a bug, and that I need to change the Barrier_scaling vector as you say.
I'll aim to do a hotfix soon (likely next week), and will leave this open until then.
Do you mind looking at my lastest push for the main branch of VAST to see if it fits your expectations? I added Range_fraction as an option to pass via settings$Options (with reference documentation updated) but changed the default as noted.
If it looks good (or you don't have time), please respond and I'll make a numeric release
Hi Jim,
I took a look at the latest code change and it looks good to me. I'll test it on my next model runs. Thank you for making that update!
Best,
Nicholas
I had a look in the code and see where
Barrier_scaling
is defined inmake_data()
on line 1014 as:and where it enters the VAST code as
c
on lines 28-30 ofVAST_v13_1_0.cpp
:Barrier_scaling
should bec(1,0.2)
following the original Brevik paper (Equation 3) and line 62 from this Brevik & Skaug example.Additionally, the fraction of the spatial range of the decorrelation distance applied in the presence of a barrier could be user specified (e.g.
Return[['Barrier_scaling']] = c(1, range_fraction)
).range_fraction
could be defined as a formal argument tomake_data()
with a default value of0.2
.The text was updated successfully, but these errors were encountered: