revert_netcdf_compatible

revert_netcdf_compatible#

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

Reverts a NetCDF-compatible attribute back to its original type if possible.

Parameters:

attr – The attribute to revert.

Returns:

The reverted version of the attribute.