Skip to content
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

Can reader 'modis_l1b' correct MODIS Bow Tie Effect? #2581

Closed
yhyxzx opened this issue Sep 27, 2023 · 6 comments
Closed

Can reader 'modis_l1b' correct MODIS Bow Tie Effect? #2581

yhyxzx opened this issue Sep 27, 2023 · 6 comments

Comments

@yhyxzx
Copy link

yhyxzx commented Sep 27, 2023

Can reader 'modis_l1b' correct MODIS Bow Tie Effect?

@djhoese
Copy link
Member

djhoese commented Sep 27, 2023

The MODIS bow tie is "corrected" by resampling data using the Scene.resample interface. The bow tie is "detected" by recognizing the fill values associated with those pixels and then they are ignored when they are resampled.

If you are looking to keep the data in the native swath structure but want to some how exclude the bow-tie pixels let me know. That is a much different conversation though.

@yhyxzx
Copy link
Author

yhyxzx commented Sep 27, 2023

@djhoese Does Scene.resample work like Geometric Correction > Reproject GLT with Bowtie Correction in envi? Is the result similar to the third figure in the link, "Georeferenced image with bow tie correction"https://www.nv5geospatialsoftware.com/docs/ApplyingCorrectionForMODISBowTieEffect.html

@djhoese
Copy link
Member

djhoese commented Sep 27, 2023

I have no experience with ENVI, but yes I think so. It is strange to me that they have a resampling without bow tie correction since treating the data as it is meant to be treated (knowing which pixels are fill values and ignoring them during resampling) gets you this bow tie correction for free.

Satpy uses pyresample under the hood for resampling. Here is pyresample's description of resampling:

https://pyresample.readthedocs.io/en/latest/concepts/resampling.html

@yhyxzx
Copy link
Author

yhyxzx commented Oct 3, 2023

In this process, is a more advanced product MOD03 necessary? @djhoese

@djhoese
Copy link
Member

djhoese commented Oct 3, 2023

MOD03 is the geolocation product, right? While you might get "OK" results using the geolocation that comes in the data files, I will always recommend using the higher resolution geolocation information in the MOD03 files. It should also speed up processing as you shouldn't need to interpolate the geolocation as much.

@yhyxzx
Copy link
Author

yhyxzx commented Oct 5, 2023

After my experiments and comparisons, I found that scn.resample is indeed effective in removing the bow-tie effect, thanks, I will close this issue.

@djhoese djhoese closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants