ss3-source-code icon indicating copy to clipboard operation
ss3-source-code copied to clipboard

[Refactor]: create function for t=f(y,s)

Open Rick-Methot-NOAA opened this issue 1 year ago • 0 comments

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

Rick-Methot-NOAA avatar Mar 11 '24 17:03 Rick-Methot-NOAA