This commit is contained in:
Tom 2025-02-12 13:00:15 +00:00
parent 6277920ac4
commit db3c18b3c8
2 changed files with 18 additions and 12 deletions

View File

@ -91,29 +91,35 @@ but we do not allow this because it would mean we would have to take multiple br
What we have now is a tree of dense datacubes which represents a single larger sparse datacube in a more compact manner. For want of a better word we'll call it a Qube. What we have now is a tree of dense datacubes which represents a single larger sparse datacube in a more compact manner. For want of a better word we'll call it a Qube.
### HTML Output
```{code-cell} python3
q.compress().html()
````
## API ## API
Qubed will provide a core compressed tree data structure called a Qube with: Qubed will provide a core compressed tree data structure called a Qube with:
Methods to convert to and from: Methods to convert to and from:
- [x] A human readable representation like those seen above. - [x] A human readable representation like those seen above.
- [x] An HTML version where subtrees can be collapsed. - [x] An HTML version where subtrees can be collapsed.
- [ ] An compact protobuf-based binary format - [ ] An compact protobuf-based binary format
- [x] Nested python dictionaries or JSON - [x] Nested python dictionaries or JSON
- [/] The output of [fdb list](https://confluence.ecmwf.int/display/FDB/fdb-list) - [/] The output of [fdb list](https://confluence.ecmwf.int/display/FDB/fdb-list)
- [ ] [mars list][mars list] - [ ] [mars list][mars list]
- [ ] [constraints.json][constraints] - [ ] [constraints.json][constraints]
[constraints]: (https://object-store.os-api.cci2.ecmwf.int/cci2-prod-catalogue/resources/reanalysis-era5-land/constraints_a0ae5b42d67869674e13fba9fd055640bcffc37c24578be1f465d7d5ab2c7ee5.json [constraints]: (https://object-store.os-api.cci2.ecmwf.int/cci2-prod-catalogue/resources/reanalysis-era5-land/constraints_a0ae5b42d67869674e13fba9fd055640bcffc37c24578be1f465d7d5ab2c7ee5.json
[mars list]: https://git.ecmwf.int/projects/CDS/repos/cads-forms-reanalysis/browse/reanalysis-era5-single-levels/gecko-config/mars.list?at=refs%2Fheads%2Fprod [mars list]: https://git.ecmwf.int/projects/CDS/repos/cads-forms-reanalysis/browse/reanalysis-era5-single-levels/gecko-config/mars.list?at=refs%2Fheads%2Fprod
Useful algorithms: Useful algorithms:
- [x] Compression - [x] Compression
- [/] Union/Intersection/Difference - [/] Union/Intersection/Difference
Performant Membership Queries Performant Membership Queries
- Identifier membership - Identifier membership
- Datacube query (selection) - Datacube query (selection)
Metadata Storage Metadata Storage

View File

@ -1,2 +1,2 @@
from . import rust as backend # from . import rust as backend
from .Qube import Qube from .Qube import Qube