Skip to content

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

@Rick-Methot-NOAA

Description

@Rick-Methot-NOAA

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

Metadata

Metadata

Type

No type

Projects

Status

No status

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions