Comments (5)
Good idea ! I don't think performance matters much in this part of the code, so i don't see why not :)
@mhiley do you agree ?
from netcdf.
I agree @evomassiny. @pick2510 Feel free to submit a PR!
from netcdf.
Thx for the feedback.
Unfortunately I found out that BTreeMap doesn't preserve the order of insertion. Instead the data gets ordered alphabetically by the keys. Even though this is nicer than unordered, it doesn't solve my problem how I thought.
A vector would satisfy the order preserving criteria. But that would involve a lot of changes in your code.
I'm not sure if the advantage is worth it...
from netcdf.
You could drop in indexmap or another deterministically ordered hashmap. Indexmap doesn't do full insertion order, but it is a deterministic iteration order. (It swaps items around if you remove them from the map).
from netcdf.
8f44ba8 makes iteration over variables, attributes, and dimensions deterministic.
from netcdf.
Related Issues (20)
- Enable shuffle filter HOT 5
- Change selectors for put/get
- How to read variables with string values? HOT 3
- Typing error when compiling on ARM64 Docker container HOT 4
- Unable to link with `netcdf` library on macOS HOT 2
- Compilation fails on Rust 1.42.0 Nightly HOT 3
- codecov and coveralls coverage broken HOT 1
- not being linked properly on windows for end binary HOT 1
- Hash of file changes after opening with rust-netcdf HOT 3
- All paths should accept and return OsString HOT 2
- Investigate and fix docs.rs build HOT 1
- ncdap_test not existing in latest netcdf-src HOT 1
- CI failed HOT 1
- Troubles reading xarray netcdf files HOT 5
- Update to ndarray 0.14.0 HOT 2
- netcdf features should be enabled if available HOT 1
- Update netcdf-src to latest version of netcdf-c
- Add derive macros for more advanced types
- CF Time attribute HOT 13
- thread 'main' panicked at 'Unable to locate HDF5 root directory and/or headers.' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcdf.