OceanDataset.set_aliases(aliases, overwrite=None)[source]

Set aliases to connect custom variables names to OceanSpy reference names.

aliases: dict

Keys are OceanSpy names, values are custom names: {‘ospy_name’: ‘custom_name’}

overwrite: bool or None

If None, raises error if aliases has been previously set. If True, overwrite previous aliases. If False, combine with previous aliases.