csiro-coasts / emsarray

xarray extension that supports EMS model formats
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Ustrse `Hashable` instead of `str` for variable and dimension names #25

Closed mx-moth closed 1 year ago

mx-moth commented 1 year ago

This is the type exposed by xarray. NetCDF4 enforces string names, but other data types might allow different variable name types.

This actually cleans up the code by removing a whole bunch of casting.