pyiem.nws.hvtec module#

Process HVTEC encoding.

pyiem.nws.hvtec.parse(text, nwsli_provider=None, tp=None)[source]#

Return list of HVTEC entries found within text.

Parameters:
  • text (str) – String to look for HVTEC tokens within.

  • nwsli_provider (dict) – Provider of metadata.

  • tp (TextProduct) – TextProduct instance used for provider and warnings.

Returns:

list(HVTEC)

pyiem.nws.hvtec.contime(s)[source]#

Process a string into time.

class pyiem.nws.hvtec.HVTEC(tokens, nwsli_provider=None)[source]#

Bases: object

Hydro VTEC.

__str__()[source]#

string representation of this HVTEC

__repr__()[source]#

Return a representation.

Return type:

str