year#

swordfish.function.year()#

Return the corresponding year(s).

Parameters:

X (Constant) – A temporal scalar/vector.

Returns:

An INT scalar.

Return type:

Constant