Skip to contents

Converts a step name of the form "step_YEAR_SEASON" or "YEAR_SEASON" (as returned by simmar) into a named list containing the clean year-season string, the integer year, the integer season, and the decimal year used in process_marlin output.

Usage

process_step(step)

Arguments

step

Character. Step name, e.g. "step_5_3" or "5_3".

Value

A named list with:

year_season

Character. Clean "year_season" string (any "step_" prefix removed).

year

Integer. The year component.

season

Integer. The season component.