Hi Dave,
I tried it out, but it didn't work as expected. Here a short except of my configs:
In the seviri.yaml I created a product:
ZZ9_TEST:
compositor: !!python/name:satpy.composites.GenericCompositor
standard_name: ZZ9_TEST
prerequisites:
- name: HRV
modifiers: [sunz_corrected]
- name: HRV
modifiers: [sunz_corrected]
- IR_108
In generic.yaml I inserted the following:
ZZ9_TEST:
standard_name: ZZ9_TEST
operations:
- name: inverse
method: !!python/name:satpy.enhancements.invert
args:
- [false, false, true]
- name: stretch
method: !!python/name:satpy.enhancements.stretch
kwargs: {stretch: linear}
- name: colorize
method: !!python/name:satpy.enhancements.colorize ''
kwargs:
palettes:
- {colors: reds, min_value: 0, max_value: 100}
- {colors: greens, min_value: 0, max_value: 100}
- {colors: blues, min_value: -60, max_value: 30}
When I try to use this in this way, I get the error "Image should be greyscale to colorize"
Can you tell me what I made wrong?
Best regards