Skip to content

Return single xr.Dataset from to_xarray #109

@andreas-grafberger

Description

@andreas-grafberger

Is your feature request related to a problem? Please describe.

NOTE: This issue came up when testing #104 and might be solved in conjunction.

to_xarray (in particular TimeSeries.to_xarray) currently returns a separate xarray dataset for each hdate when we retrieve reanalysis/reforecast datasets for multiple days.

Ideally, we'd have something similar to many earthkit-data sources, where we can get a single dataset with a valid_time (could be different name) dimension that exposes all data through one object.

Update: In tests we found out that we might want to extend the scope of this ticket to allow more general merging of different coverages into a single xarray dataset. This is not only useful for hdates but also when we request multiple points in timeseries, etc. (as this currently causes multiple datasets to be returned).

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Organisation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions