-
Notifications
You must be signed in to change notification settings - Fork 14
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
User-defined area is not positioned correctly (x_0
and y_0
stere
projection parameters ignored in SIFT scene graph, but still passed to Satpy for resampling)
#373
Comments
My guess is at least one of these applications is ignoring the |
You're right, changing or removing |
I forget if x_0/y_0 are added or subtracted from the coordinates, but you should be able to find out relatively easily. So you have extents:
So you'd take the |
The resampled data may be cached. I'm not sure. @ameraner would know better, but he may not be working today. If you have another data case I would guess that that should work (hopefully). Or, there may be a flag you can provided to clear out the cache. |
Unfortunately even with another data, the result is the same. |
storage:
use_inventory_db: True (see https://sift.readthedocs.io/en/latest/configuration/storage.html ) This is not the current default, so this is probably not the reason for the observed issue.... as just confirmed by using different data while I was writing this reply |
I could reproduce the issue; however, after applying the subtraction, and setting This is what I get with some AVHRR data: area:
|
Great, that is it. I forgot to removed |
Is it possible to do some similar subtraction trick for area defined below, if there are no
|
Hmm.. trying this area I only see a black screen (I suppose this is also what you see?) Resampling also doesn't seem to work correctly.. I'll open a separate issue for this, I suspect this is a different problem. |
Issue for the mercator thing: #374 |
x_0
and y_0´
stere` projection parameters ignored in SIFT scene graph, but still passed to Satpy for resampling)
x_0
and y_0´
stere` projection parameters ignored in SIFT scene graph, but still passed to Satpy for resampling)x_0
and y_0
stere
projection parameters ignored in SIFT scene graph, but still passed to Satpy for resampling)
When I try to plot satellite data using custom area definition, it is shifted to the east. But when I use Satpy without SIFT, it works as expected.
I was processing VIIRS data with SIFT_2.0.0b0 on a Windows machine.
I tried to run Satpy in the same environment as SIFT. To do this, I run python from the edited SIFT.bat file.
Area definition in
areas.yaml
:SIFT scearnshot:
Image generated by Satpy:
Edited
SIFT.bat
:The text was updated successfully, but these errors were encountered: