Dear all
I have the following problem: I want to overlay a masked field (eg seviri WV6.2-IR10.8) on the IR108 field. I attach an older image created with cartopy as an example. I thought that the masking compositor would do the trick, but obviously I do something wrong. So far I have done the following:
in the composites/seviri.yaml
deepconvection:
compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- WV_062
- IR_108
standard_name: deepconvection
deepconvection_masked:
compositor: !!python/name:satpy.composites.MaskingCompositor
conditions:
- method: less
value: -4
transparency: 100
prerequisites:
- deepconvection
- deepconvection
standard_name: deepconvection_masked
ir108_deepconvection:
compositor: !!python/name:satpy.composites.GenericCompositor
prerequisites:
- grey_ir108_clouds
compositor: !!python/name:satpy.composites.GenericCompositor
prerequisites:
- deepconvection_masked
standard_name: ir108_deepconvection
and in enchancement/generic.yaml
deepconvection_masked:
standard_name: deepconvection_masked
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- {colors: rdylbu, min_value: -4, max_value: 4}
ir108_deepconvection:
standard_name: ir108_deepconvection
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- {colors: greys, min_value: 253.15, max_value: 303.15}
operations:
- name: colorize
method: !!python/name:satpy.enhancements.colorize
kwargs:
palettes:
- {colors: spectral, min_value: -4, max_value: 4}
Overall, the masking seems to work well but I have trouble applying the overlay of the two fields. Only one of the two fields (the last one) is plotted. I attach an image as an example.
Any help would be appreciated.
Sakis
To unsubscribe from this group and stop receiving emails from it, send an email to pytroll+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/d9190c7d-3408-adda-fb77-f43ebf73da4f%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pytroll+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pytroll/2d6a563f-4493-f509-d7a5-117d01e4d0ff%40gmail.com.