Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dt-varying search range routine #26

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Conversation

leiyangleon
Copy link
Collaborator

@leiyangleon leiyangleon commented Apr 14, 2021

Adding dt-varying search range routine with 4 parameters: dt_unity, max_factor, upper_thld and lower_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 range

The user defined search range field will be multiplied by a factor which is defined as:

  • max_factor when dt = 1
  • 1 when dt >= dt_unity
  • linearly drops from max_factor to 1 when 1 <= dt <= dt_unity

The resulting search range, in unit of m/yr, is then truncated based on the upper and lower thresholds (upper_thld and lower_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant