-
|
Hello everyone, This might be a basic question, but after looking for a while, I have not found an answer in the documentation (but it probably is there). How are the currents estimated between the boundary of the velocity data and the coastline, for example, before stranding? How is this managed by default? I wonder if the last values before getting out of the velocity data boundaries are kept, or if there is any interpolation/extrapolation. Thank you very much in advance :) Ivan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, yes this is not well documented, but there is extrapolation towards the coastline with But there is a maximum of 10 steps/pixels, after which there will be NaNs, and probably deactivation, depending on model and model configuration: |
Beta Was this translation helpful? Give feedback.
Hi, yes this is not well documented, but there is extrapolation towards the coastline with
scipy.ndimage.grey_dilationhttps://github.com/OpenDrift/opendrift/blob/master/opendrift/readers/interpolation/interpolators.py#L9
But there is a maximum of 10 steps/pixels, after which there will be NaNs, and probably deactivation, depending on model and model configuration:
https://github.com/OpenDrift/opendrift/blob/master/opendrift/readers/interpolation/interpolators.py#L126