-
Notifications
You must be signed in to change notification settings - Fork 45
Labels
Description
I can't figure out how to turn a CDF instance (eg. one read from s3, rather than a filename) into an xarray without copying the data into memory or onto disk, can anyone help?
- I can see the xarray helper functions let me convert from a filename into an xarray
- I can see that
cdflib.CDFallows me to load a CDF directly from S3 (using thes3_read_method = 3argument) to reduce memory & disk usage cdflib.xarray.cdf_to_xarraydoesn't accept S3 URIs likecdflib.CDFdoes
Am I missing something?
Would the maintainers appreciate me creating a PR which allows cdflib.xarray.cdf_to_xarray to accept a filename or a CDF instance: cdf_to_xarray(filename_or_cdf: str | CDF, ...?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog