bcgov / bcgov/bcgroundwater

Option to increase maximum number of iterations for makeWellTS?

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
23
Forks
3
PR merge metrics
No merged PRs in 30d

Description

makeWellTS returns a message indicating any problems with convergence (also, perhaps that should be `message()` rather than `print()`?).

Code 1 reflects the fact that the maximum number of iterations have been reached before convergence (According to the `optim` documentation). What about an argument allowing the user to pass options via `optim.control` in the call to `StructTS`? This should allow users to increase the maximum number of iterations if they need to.

Contributor guide

Open the contributing guide

Research direction

Locate makeWellTS and inspect its call to StructTS, then read the optim and optim.control documentation to understand the available settings. Done means users can provide control options for the iteration limit and the convergence result is reported consistently, including whether message() should replace print().

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.