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

Optionally read EXIF data in ImageSource driver #109

Merged
merged 6 commits into from
Apr 1, 2022

Conversation

ots22
Copy link
Contributor

@ots22 ots22 commented Nov 9, 2021

This PR adds the ability for the ImageSource driver to read EXIF tags from images.

If exif_tags passed to the constructor is truthy, a Dataset is returned with the image and EXIF tags as data variables (just the ones specified if a list). Otherwise the behaviour is unchanged (a DataArray representing the image is returned).

ImageSource seemed like the best place for this functionality, but would be happy to submit a new PR if it better belongs elsewhere.

Known issue

See the comment below

intake_xarray/image.py Outdated Show resolved Hide resolved
@martindurant
Copy link
Member

Please update fsspec/s3fs in the test envs to get the CI to pass again

@ots22
Copy link
Contributor Author

ots22 commented Jan 25, 2022

Worth running the CI again to see if the last commit has fixed it? It brings in the upstream CI changes from #111 which looks like it might help.

@martindurant
Copy link
Member

running

@ots22
Copy link
Contributor Author

ots22 commented Jan 25, 2022

Well I guess that wasn't it! Any ideas?

@martindurant
Copy link
Member

cf #115

@ots22
Copy link
Contributor Author

ots22 commented Apr 1, 2022

Anything I can do to help this get merged?

@martindurant
Copy link
Member

@aaronspring , this is the same rasterio thing.

I suppose we can merge here anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants