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
Creating composites post-load #61
Comments
After some thought (10 seconds), my suggestion is that the composite names could still be given to |
This should be possible by specifying It could be possible to automate this decision by taking in to account some things from the user:
IIRC we talked about this briefly at the Norrköping workshop. Sometimes you are generating a ton of composites from 4 or 5 bands so it makes sense to wait until after resampling. Sometimes you are generating 2 composites from 6-8 bands so it makes sense to compute them before resampling. |
Oh, ok, Would it be possible to expose also the built-in compositors to the resampled Scene? So that, assuming the required channels are loaded, it would be possible to do something like |
Yes, but I'm not looking forward to doing it 😄 |
Thinking about this more, there may be a rare case where a compositor is specific to a sensor or depends on a polar instruments swath size to do it's calculations. Or they may assume that they have a swath so their calculations don't take in to account "extra" empty pixels from the gridding process. |
The part of this issue related to the @pnuu If you don't think this is a good enough answer feel free to reopen. |
I'd like to create composites after resampling, not at load time. This would save both memory and (CPU) time, especially in the case of large native resolution data resampled to a much smaller domain. There's always the option to use
mpop.image.GeoImage
ortrollimage.Image
, but I think it'd be cleaner to use the already existing built-in mechanics.The text was updated successfully, but these errors were encountered: