Time inputs#
easysnowdata.temporal#
The one temporal input, time (design contract §2.2), and “today”.
parse_time accepts anything pandas.to_datetime() or STAC datetime
syntax accepts — "2023-10", ("2023-10-01", "2024-06-30"),
"2023-10/2024-06", a slice, a pandas.Period — and returns an
inclusive (start, end) pair of timestamps. Partial dates expand to the
period they name ("2023-10" is the whole month). An open end means “now”,
computed at call time, never at import (§2.9).
Return |
|
Render |
|
Today's date as |
|
The current UTC time as a naive timestamp (computed when called). |