to_astropy_units#

Note

This method is available on both Load and LoadPart.

SetUnitsManager.to_astropy_units(var: str | Iterable[str] | bool | None = None, skip_units: str | Iterable[str] | None = None) None[source]

Attach astropy units to selected variables in place.

Parameters:
- var: str | Iterable[str] | bool | None, default None

The variable(s) to select for unit operations.

- skip_units: str | Iterable[str] | None, default None

The unit(s) to skip during operations.

Returns:
  • None