fcst_times_from_wms

postprocessinglib.forecast.forecast.fcst_times_from_wms(layer_name: str, username: str = None, password: str = None) Union[str, list[str]]

Retrieves the forecast time metadata from the WebMapService for the GeoMet layer (product) of interest.

Parameters:
  • layer_name (str) – Name of the GeoMet layer.

  • username (str, optional) – Username to access secured layer from WMS API, by default None.

  • password (str, optional) – Password to access secured layer from WMS API, by default None.

Returns:

The issuse / publication timestamp for the latest forecast. A list of timestamps corresponding to the latest forecast’s timesteps.

Return type:

Union[str, list[str]]