iode.set_t

iode.set_t(time: str | Period)[source]

Set the value of t in {report expressions}.

Parameters:
time: str or Period

Period to set. If str, it must be a valid IODE period (e.g. “2000Y1”, “2005Y1”, etc.)

Examples

>>> from iode.reports import set_t, execute_command
>>> set_t("2000Y1")
>>> execute_command("value of t: {t@T}")
iode> value of t: 2000Y1