stilt.SimID#

class stilt.SimID(id_str: 'str') 'SimID'[source]#

Structured representation of a PYSTILT simulation ID.

Format: {met}_{YYYYMMDDHHMM}_{location_id}

Behaves as a plain string — dict keys, path joins, and comparisons all work without str() conversion. Attributes met, time, and location_id are parsed from the string on construction.

Create via the canonical string:

SimID("hrrr_202301011200_-111.85_40.77_5")

Or from parts:

SimID.from_parts(met="hrrr", receptor=r)

Methods#

from_parts(met, receptor)

Build a SimID from constituent parts.

Attributes#

location

met

receptor

time