georust / netcdf

High-level netCDF bindings for Rust
Apache License 2.0
81 stars 28 forks source link

Make common API for &str/DimensionIdentifier #131

Open magnusuMET opened 4 months ago

magnusuMET commented 4 months ago

An attempt to unify DimensionIdentifier and &str as valid dimensions for a file under the same API.

Breaking change: Adds another type type specification on add_variable (e.g. add_variable::<f32, _>(...) instead of add_variable::<f32>(...)