You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently mipp loader is logging if one of the image segments is missing and throwing an error if there are no segments at all.
That kinda makes sense because we can create the image with missing segments but in my case, I would like to know if the image is created with all segments or not.
I'm not that familiar with this library so I don't know if there is an easy way to do it, but one of these two places would be probably nice to implement this change ( if this change makes sense at all? )
here we could throw an error (but that would break the functionality to create the image with missing segments , maybe optional error ? )
@nino-rasic Interesting feature you want to have :) My suggestion would be to embed the number of missing segments or scanlines in the metadata, so that the calling program can act on it.
As a side note, mipp isn't developed actively anymore, I would suggest you take a look at satpy as a replacement.
That would probably be a good solution. I can try to make a pull request with that.
Yeah, I figured that out...but currently we have this running on a production so it would take us some time to change it...but maybe we'll try soon (but probably I would have the same problem there ? :) )
Currently mipp loader is logging if one of the image segments is missing and throwing an error if there are no segments at all.
That kinda makes sense because we can create the image with missing segments but in my case, I would like to know if the image is created with all segments or not.
I'm not that familiar with this library so I don't know if there is an easy way to do it, but one of these two places would be probably nice to implement this change ( if this change makes sense at all? )
here we could throw an error (but that would break the functionality to create the image with missing segments , maybe optional error ? )
mipp/mipp/xrit/loader.py
Lines 387 to 395 in 856e347
here we also have everything we need to check if we have all segments or not:
mipp/mipp/xrit/MSG.py
Lines 857 to 860 in f8589df
Does this makes sense ?
Thank you for your help
The text was updated successfully, but these errors were encountered: