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

Assigning output driver #21

Closed
gillins opened this issue Aug 24, 2018 · 1 comment
Closed

Assigning output driver #21

gillins opened this issue Aug 24, 2018 · 1 comment
Labels
bug Something isn't working minor

Comments

@gillins
Copy link
Member

gillins commented Aug 24, 2018

Original report by Nathan Thomas (Bitbucket: nathanmthomas, GitHub: nathanmthomas).


Hi,

I have been using RIOS to mask one image by another. The two inputs are KEA format. From the docs, I assumed that the output format would be automatically set to that of the input format so I wasn't explicitly setting it to KEA. I noticed that output was much larger than I was expecting and when I checked the format it was HFA/ERDAS.

Is it possible it was interpreting my input KEA as a HFA and therefore automatically setting the output as HFA? Is this a bug or is it my fault for not explicitly setting the driver?

@gillins
Copy link
Member Author

gillins commented Aug 25, 2018

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


Yes you are correct - HFA is the default output driver.
If you wish to use KEA as your output driver then you can set this in the controls (see http:https://rioshome.org/en/latest/rios_applier.html#rios.applier.ApplierControls.setOutputDriverName).

If you are always going to be using KEA I'd recommend setting the $RIOS_DFLT_DRIVER environment variable. See http:https://rioshome.org/en/latest/environmentvars.html for more information.

@gillins gillins closed this as completed Aug 25, 2018
@gillins gillins added minor bug Something isn't working labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor
Projects
None yet
Development

No branches or pull requests

1 participant