-
Notifications
You must be signed in to change notification settings - Fork 286
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
KeyError when creating true_color for ABI #439
Comments
You need to resample the bands to the same resolution. To keep the same projection you can use the native resample: new_scn = scn.resample(resampler='native') |
Thank you, David. That fixed the issue. Trying to create a full disk image seems almost impossible due to file size. Is there any way to reduce it without impacting resolution? I know switching the file format can lower it, but it is still pretty extreme. |
You have a couple, but not many, options. I know you said without impacting resolution but the easiest solution is to use the 1km resolution of the full disk instead of the 500m resolution. You can do this by doing: new_scn = scn.resample(scn.min_area(), resampler='native') This is picking the lowest resolution out of the currently loaded datasets. So if you are loading more than true_color you will get 2km resolution for normal abi_l1b data. Your next option is to compress your geotiffs and optionally tile them for even better compression. It has been a while since I've done this but you should be able to accomplish by playing with the
If I recall correctly we default to |
@WxmanJ any update on this? Did this help? |
I'm going to consider this solved. If you are still having issues feel free to reopen. |
Describe the bug
Receiving a no dataset matching error.
To Reproduce
Expected behavior
Generate a true color image from the 3 ABI channels (1-3). The Test folder contains a file from each channel at the same time. They are all level1b radiance.
Actual results
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info:
The text was updated successfully, but these errors were encountered: