-
Notifications
You must be signed in to change notification settings - Fork 300
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
Composites combining HRFI and FDHSI channels together #2980
Comments
The definition of I'll post you my "resolution-aware" configs after lunch. There I have set the channel differences to use channels that have equal resolution. |
Yes, there are coregistration issues between 10.5 HRFI and other IR channels, so composites that take the difference are affected. Might look better if you use FDHSI only |
Ok, I was wondering if this was already known. |
Even with the same resolutions, there are sometimes some weird artifacts (here above Bretagne for example) where it seems that the clouds don't exactly overlap in the different channels. Any idea on how to deal with that? |
That's the co-registration issue Gerrit mentioned. Here's my sensor_name: visir/fci
composites:
ash:
compositor: !!python/name:satpy.composites.GenericCompositor
prerequisites:
- compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- name: ir_123
resolution: 2000
- name: ir_105
resolution: 2000
- compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- name: ir_105
resolution: 2000
- name: ir_87
resolution: 2000
- name: ir_105
resolution: 1000
standard_name: ash I've done similar changes to other composites that use |
As far as I can see this produces exactly the same image as just using the normal resolution channels without any custom composite. |
Probably dumb question...would using a different resampling algorithm that adopts more smoothing (linear, bicubic...) alleviate this issue but still keep some spatial features of the high resolution channel? |
Ah yes, I forgot to mention that - indeed, a different resampling would likely improve the results a bit, but iirc we tried in the past and it wasn't so much better in the end, still worth investigating though. I guess a very smart resampling algorithm, maybe a machine learning model that uses the HRFI spatial features to enhance the upsampled FDHSI channels, would deliver better results... |
You heard @Reyrem , now you're next :P |
Yeah, I was also kinda suprised not to see any change between "all 2 km" and "non-difference data at high-res" versions.
If you want to create any high-res images and include the HRFI files, you do need to have the resolutions defined for at least the channel differences. It might need some more investigation and trials to see whether the single HRFI channel has an effect or not. The effect isn't big, based on what we've seen so far.
I'm processing the data using bilinear resampling (gradient search) and the results are not any better compared to nearest resampling. |
This is pretty much what pan sharpening does, isn't it? Technique has been around for a long time and would probably work even better in this case as the spectral band is identical. |
That (pan sharpening) is something I have also been thinking about from time to time and would be a nice addition I think. |
What if HRFI data are missing and you need to produce with FDHSI alone? This will fail, as it will not find
|
Since I posted that, I actully removed the |
First test with night_microphysical:
compositor: !!python/name:satpy.composites.GenericCompositor
prerequisites:
- compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- name: ir_123
resolution: 2000
- name: ir_105
resolution: 2000
- compositor: !!python/name:satpy.composites.DifferenceCompositor
prerequisites:
- compositor: !!python/name:satpy.composites.Filler
prerequisites:
- name: ir_105
resolution: 1000
- name: ir_105
resolution: 2000
- compositor: !!python/name:satpy.composites.Filler
prerequisites:
- name: ir_38
resolution: 1000
- name: ir_38
resolution: 2000
- compositor: !!python/name:satpy.composites.Filler
prerequisites:
- name: ir_105
resolution: 1000
- name: ir_105
resolution: 2000
standard_name: night_microphysical
seems promising. |
And don't mind that the composite doesn't look like what Night Microphysical should, I seemed to use a day-time scene 🙈 |
Looks good! Any significant performance hit? |
And what happens if you have no HRFI data at all? Won't it fail to find |
No performance hit that I can see. Compared to the normal version that leaves the gap, the processing time is within 0.1 seconds for this one composite and similarly negligible effect on memory usage. And indeed, if HRFI data are completely missing this will crash. |
Should we include these recipes with satpy? As far as I can see, affected RGBs are:
|
Hey guys.
Today we were trying to create some composites using channels both from HRFI and FDHSI. In this case we were focusing on the
ash
composite.The first question I have: where is the definition of the
ash
composite located? I tried to look into/etc/composites/fci.yaml
and/etc/composites/seviri.yaml
but couldn't find it. There doesn't seem to be ageneric
orcommon
composite YAML file, so I'm not sure where they're pulled from (because they are indeed available for both fci and seviri readers). I was interested specifically in knowing which channels are used when composing on FCI, as the channels do not have exactly the same wavelength.The second question/observation is there may be some error when using channels from the High resolution and Normal resolution together. In this image I'm comparing the ash composite created with channels only from FDHSI (left) and with channels coming from both HRFI and FDHSI. To generate this second image I just provided all files in the scene inputs.
Are these artefacts we're seeing coming from the fact that the data is not yet operational? Or is there some correction to be done when combining data coming from HRFI and FDHSI?
I'm not sure which channels are actually used to produce the right image, but there's definitely something from HRFI used.
The text was updated successfully, but these errors were encountered: