Is your feature request related to a problem? Please describe.
In Satpy, some readers can interpret parameters passed to Scene.load(). For example, readers for some geostationary imagers can understand pad_data and upper_right_corner. The trollflow2 load_composites plugin does not pass any parameters except resolution and generate, nor does it allow any configuration for the user to pass others:
A user may want to write images in native geostationary projection using trollflow2, but still flipping the image so that the resulting images follow the convention of having the north "up". This is not currently possible with trollflow2.
Describe the solution you'd like
I would like that the user can define in the trollflow2 YAML configuration the parameters to be passed to Scene.load() by the load_composites plugin. I'm not sure where this would be defined. Maybe a reader_load_args field directly under the product_list, analogous to the existing reader_kwargs, or maybe within the reader field in the product_list.
Describe any changes to existing user workflow
Depends on the chosen solution, but it should be possible to choose a solution that does not affect existing user workflow.
Additional context
One could resample to one of the nominal satellite-projection areas defined in satpy/etc/areas.yaml, but this is computationally much more expensive than just flipping.
Feature Request
Is your feature request related to a problem? Please describe.
In Satpy, some readers can interpret parameters passed to
Scene.load()
. For example, readers for some geostationary imagers can understandpad_data
andupper_right_corner
. The trollflow2load_composites
plugin does not pass any parameters exceptresolution
andgenerate
, nor does it allow any configuration for the user to pass others:https://github.com/pytroll/trollflow2/blob/265df393cd315862289e27ed98f0c4d4df49a8c8/trollflow2/plugins/__init__.py#L102
A user may want to write images in native geostationary projection using trollflow2, but still flipping the image so that the resulting images follow the convention of having the north "up". This is not currently possible with trollflow2.
Describe the solution you'd like
I would like that the user can define in the trollflow2 YAML configuration the parameters to be passed to
Scene.load()
by theload_composites
plugin. I'm not sure where this would be defined. Maybe areader_load_args
field directly under theproduct_list
, analogous to the existingreader_kwargs
, or maybe within thereader
field in theproduct_list
.Describe any changes to existing user workflow
Depends on the chosen solution, but it should be possible to choose a solution that does not affect existing user workflow.
Additional context
One could resample to one of the nominal satellite-projection areas defined in
satpy/etc/areas.yaml
, but this is computationally much more expensive than just flipping.