metobs_toolkit.dataset.Dataset.rename_stations#

Dataset.rename_stations(renamedict: dict) None[source]#

Rename stations in the dataset.

Parameters:

renamedict (dict) – A dictionary where keys are the original station names and values are the new station names.

Return type:

None

Warning

  • If a station name in renamedict does not exist in the dataset, it will be skipped.

  • If a target station name in renamedict already exists in the dataset, the renaming operation for that station will be skipped.