Benoit Bovy

Results 452 comments of Benoit Bovy

Hey @iacopoff, sorry for my long absence here! Yeah I should definitely find some time to finish #89. I need to check but I think it is mostly done.

@josephnowak you could update the dataset being served using a custom API endpoint, like in the example below where `/add-random-var` adds a new variable to the dataset and returns the...

The current limitation is that you can not replace the whole dataset being served by another one. All updates have to be in-place. Also, it's not possible yet to use...

It is not really possible right now but it shouldn't be hard to support that. `xpublish.Rest` accepts any mapping as a collection of datasets to serve, so in theory you...

> In carbonplan/maps#15, @benbovy suggested that this sort of support would make sense here so, perhaps we can simply ask for some pointers on how to architect the ZarrDataTreeRouter? For...

A 3rd approach that may work now without much effort is to encapsulate the `DataTree` object in a custom dataset accessor, e.g., ```python ds = xr.open_dataset(...) # create the data...

> Can we generate a single zarr array chunk on request, without coarsening the entire dataset? If I understand well the problem, I think it should be possible to create...

Do you need to expose any aggregation parameter as API endpoint parameter? If you don't need to, the simplest way is to compute the aggregated datasets (maybe lazily) before serving...

This is not an issue in xarray-simlab but an intentional limitation in jupyter notebook to prevent crashes if communication is too heavy between the notebook application backend and front-end. I'm...

Other possible causes (not sure as I didn't see your notebook): you have a very big notebook with too many progress bars shown, or you run many simulations (with a...