add dt-varying search range routine #26
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding dt-varying search range routine with 4 parameters:
dt_unity
,max_factor
,upper_thld
andlower_thld
. This is useful in areas with large seasonal variability and/or surge behavior in velocity that may not be well captured by the user defined search rangeThe user defined search range field will be multiplied by a factor which is defined as:
max_factor
whendt = 1
1
whendt >= dt_unity
max_factor
to1
when1 <= dt <= dt_unity
The resulting search range, in unit of m/yr, is then truncated based on the upper and lower thresholds (
upper_thld
andlower_thld
) that are defined by the user.By default, these parameters are set to:
dt_unity = 182
(unit of days),max_factor = 5
(unitless),upper_thld = 20000
(unit of m/yr),lower_thld = 0
(unit of m/yr)Users can easily change these four parameters in testGeogrid script where some example lines have already been provided (but commented out) for setting values of the four parameters here.