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

throw error when trying to set_ on read only images #114

Open
matthewhanson opened this issue Sep 20, 2016 · 1 comment
Open

throw error when trying to set_ on read only images #114

matthewhanson opened this issue Sep 20, 2016 · 1 comment

Comments

@matthewhanson
Copy link
Member

A GeoImage opened by default is readonly, and the set_ functions (e.g., set_gain) will quietly fail. These should throw an error.

@matthewhanson
Copy link
Member Author

For some reason set_nodata still works. Ideally, rather than failing, it would be best if it could set the values for that variable only, even though it doesn't write it to the dataset.

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

No branches or pull requests

1 participant