convert_to_netcdf_compatible

convert_to_netcdf_compatible#

eoio.utils.read_utils.convert_to_netcdf_compatible(attr: Any) Any[source]#

Converts an attribute to a NetCDF-compatible type.

Parameters:

attr – The attribute to check and convert.

Returns:

A NetCDF-compatible version of the attribute.