Alistair Miles

Results 290 comments of Alistair Miles

Hi @TomNicholas, > > I would've thought that latitude and longitude would be 1-dimensional coordinate variables, yet they are drawn as 2-D arrays? > > I think that if you...

Hi @dcherian, > We are currently reworking https://tutorial.xarray.dev/intro.html and would love to either add your material or link to it if you're creating a consolidated collection of genetics-related material. xref...

Hi folks, Just to mention that we've created a short tutorial on xarray which is meant as a gentle intro to folks coming from the malaria genetics field, who mostly...

Yes, Zarr currently could only cache arrays, although you could hack around to also store scalar values. FWIW I just hacked something up for my own use, code here: https://gist.github.com/alimanfoo/ed724d207d859ac507696c3f6735fdf9

The composability of zict is very nice. But for my use case I am mostly wanting to cache results which are numpy arrays, and so I wondered about using Zarr...

OK, that makes sense. The other issue is about making persistent keys, i.e., keys that are stable across different Python sessions. In particular, for the memoize decorator, this means making...

Yes I guess much of this could be pushed behind the MutableMapping interface (it hides a multitude of sins :-). The only thing then to standardize on the cachey side...

The tokenize function from dask looks like a nice solution to the key generation problem. One question, how does a token get generated for an arbitrary Python object? Couldn't make...

Would it not be an option to fall back to pickling objects then hashing the pickle string? On Wednesday, January 25, 2017, Matthew Rocklin wrote: > We serialize functions with...

OK, so a possible architecture... Cachey provides a ``Cache`` class. You can set any ``MutableMapping`` as the value of the ``data`` property on an instance of ``Cache``. A ``Cache`` instance...