-
Notifications
You must be signed in to change notification settings - Fork 303
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
Mitiff writer is broken #369
Comments
@TAlonglong you might want to take a look at this, too. |
@pnuu ah ok. I have assumed filename is, yes a filename without directory. And that directory is set by save_dir. It looked to work for me when I submitted the PR. I will try to have a look |
@TAlonglong To match other writers this should use |
@pnuu @TAlonglong can you double check this with current master. I think with some edits I've made and some fixes that @TAlonglong this can be closed now. I also added some better handling for the base_dir and output filename pattern in #478. |
Still fails, with another error. I use Meteosat data to test. Also, it seems that the directory I was going to save was discarded from the filename.
|
Sorry for this. have not tested with meteosat data. Will try to look into this later |
Tested with |
@pnuu can I ask you which composite you used to get the above mentioned error? |
Just loaded channel |
@pnuu I think I have solved this ('bands') problem now. The next is 'base_dir' @djhoese. As far as I can see 'base_dir' is not propagated into the save_dataset in mitiff writer. If I use like this |
@TAlonglong You should be able to do |
@pnuu When you say that the directory you were going to save to was discarded, do you mean |
I just saw this |
@pnuu, this warning is removed now. Sorry for the confusion. |
So @TAlonglong you need to make a PR for the original issue and then we can close this? |
@djhoese but, hm .... how do I create a PR in this issue? Do I create a normal PR and somehow refer to this issue? |
Yes, the latter. You create a PR and say "Fixes #XXX" where XXX is the number of this issue. The default PR template already has this as one of the check boxes. |
Describe the bug
Just noticed when writing unittests for my PR (#363) that the
mitiff
writer doesn't work at the moment.To Reproduce
Expected behavior
A file
mitiff.tif
should be saved in/tmp/
directory.Actual results
Environment Info:
The text was updated successfully, but these errors were encountered: