ss3-source-code
ss3-source-code copied to clipboard
[Refactor]: create function for t=f(y,s)
Refactor request
This equation is used repeatedly. Useful to turn it into a function. t = styr + (y - styr) * nseas + s - 1;
e.g. t = get_t(yr,s) FUNCTION int get_t(yr,s)
Expected behavior
more concise code