Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: support exporting individual variables in DataCatalog.export_data #301

Closed
DirkEilander opened this issue Mar 7, 2023 · 0 comments · Fixed by #302
Closed

ENH: support exporting individual variables in DataCatalog.export_data #301

DirkEilander opened this issue Mar 7, 2023 · 0 comments · Fixed by #302
Labels
DataCatalog & DataAdapters issues related to the DataCatalog and DataAdapters Enhancement New feature or request

Comments

@DirkEilander
Copy link
Contributor

Dataset with many variables such as ERA5 and merit_hydro can only be exported entirely. Using the following syntax it would easily be possible to export only certain variables of the dataset:

data_catalog.export_data(
    data_root=root,
    bbox=bbox,
    time_tuple=time_tuple,
    source_names=['era5_hourly_zarr[precip]', 'merit_hydro[elevtn,flwdir]'],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataCatalog & DataAdapters issues related to the DataCatalog and DataAdapters Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant