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

Some improvements for metadata being preserved. #147

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

njtierney
Copy link
Owner

  • Update to latest version of terra (1.8-10) to ensure metadata is saved for raster drivers like COG.
  • Add documentation that details that some versions GDAL and raster drivers might not save metadata and to contact us if there's an issue
  • Add test to ensure metadata is maintained for GTiff and COG
  • resolves Discrepancies in how units / metadata can be encoded and restored #146

- Update to latest version of terra (1.8-10) to ensure metadata is saved for raster drivers like COG.
- Add documentation that details that some versions GDAL and raster drivers might not save metadata and to contact us if there's an issue
- Add test to ensure metadata is maintained for GTiff and COG
Comment on lines +32 to +36
#' metadata for your setup, please file an issue at
#' \url{https://github.com/njtierney/geotargets/issues/} and we will try and
#' get this working for you. Also note that you can specify this option for
#' individual targets, e.g., inside [tar_terra_rast()] there is the option
#' `preserve_metadata`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest adding something about trying to test things out with just terra outside of a targets pipeline first to be sure the issue is indeed with geotargets. I often forget to do this and would appreciate the reminder!

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.

Discrepancies in how units / metadata can be encoded and restored
2 participants