pp-mo / ncdata

Free and efficient exchange of data between netcdf files, Xarray and Iris
https://ncdata.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

NameMap should work as a generic type #85

Open pp-mo opened 5 months ago

pp-mo commented 5 months ago

The optional 'item_type' settting of a NameMap is a mistake. It should really work as a generic type, e.g. NameMap[NcVariable]

Not sure quite how this works yet