Leif Denby

Results 9 comments of Leif Denby

I tried digging a bit more and I've narrowed it down a bit (on macos). I've found one situation where it works with annoy `1.17.0` and one where it doesn't:...

This would be great!

I was just looking for this and manage to get it working with Javascript-Load-Image. I have pushed the changes I made to [a commit](https://github.com/leifdenby/cropit/commit/a73a67cd28780a2b5908b6a19875e4c47a4b3214) on my fork. I am using...

hi all :) I've been following along with the development of `xbatcher` and I really like the API so far. I had been thinking of writing something which uses zarr...

> My main question/comment is about whether or not we want to think about serializing some of the batch-generator's attributes in the Zarr dataset. It seems like without too much...

Ps. I can of course do (in the second example in my notebook) ``` ds_in['lat'] = (('x', 'y'), np.asfortranarray(lat).T) ds_in['lon'] = (('x', 'y'), np.asfortranarray(lon).T) ``` so that when the transpose...

It's not much of a fix, but I've forked the repo and simplified `setup.py` to drop python2 support. You can install my fork with: ```bash python -m pip install git+https://github.com/leifdenby/nb_black/#egg=nb_black...

The entry in my code that calls `MultiZarrToZarr.translate(...)` is here: https://github.com/leifdenby/uclales-zarr/blob/master/uclales_zarr/uclales_zarr.py#L90. The kerchunk and fsspec versions are: ``` kerchunk==0.0.7 fsspec==2022.5.0 fsspec-reference-maker==0.0.4 ``` Looking at the `kerchunk==0.0.7` source tree this seems...

Thanks for the above! Using that I've hacked something together which can be used with `list_filter` on a `admin.ModelAdmin`: ```python def _multiple_choice_filter(field_name): class FieldNameFilter(admin.ChoicesFieldListFilter): title = field_name parameter_name = field_name...