Skip to content

Be more relaxed about type of dims argument for determine_encoding

Utopia Developers requested to merge follow-up-fix-determine-encoding into master

A little follow-up fix for !232 (merged)...

The dims dictionary may not be exactly of type dict (more precisely: not evaluate to True for isinstance(dims, dict)). This may lead to errors when calling determine_encoding with the result of xr.DataArray.sizes, for example. In particular, this led to col_wrap: auto failing for those cases.

Merge request reports