Open AliceBalfanz opened 2 years ago
Note that the new DataStores
configuration does not prevent using time-optimized cubes per se. Therefore, the title of this issue is misleading. I believe, what you request is an assignment of time-optimized cubes via (configurable) patterns or templates.
Is your feature request related to a problem? Please describe. I would like to configure corresponding time optimized cubes via the
DataStore
configuration of xcube serve.Current Situation:
Many of our datacubes have a corresponding time optimized cubes, which is used e.g. for time series display in xcube viewer. The time optimized cubes are not visible the datasets of xcube viewer but if they are configured in the xcube server they will be used for the time series generation. The configuration is like the one below:
When using
DataStores
the configuration would look e.g. like the one below:It would be great, if xcube serve would discover if there are cubes which are time optimized and then automatically use them for time-series visualisation.
This could be achieved e.g. by agreeing on a certain prefix or suffix in the cubes naming. For example, we have ws-cube-v3.zarr (spatially optimised and visible in xcube viewer) and corresponding ts_ws-cube-v3.zarr
This way it would be possible to match the correct cube pairs.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.