Reading-eScience-Centre / pycovjson

Create CovJSON files from common scientific data formats
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Use compact notation for regular numeric axes #25

Open letmaik opened 7 years ago

letmaik commented 7 years ago

Currently, pycovjson dumps out a regular numeric axis as a big array of axis values. CovJSON has a compact notation using "start", "stop", "num" properties. pycovjson should detect if an axis is regular and then use that notation to reduce data volume.