-
Notifications
You must be signed in to change notification settings - Fork 81
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
geotransform and spatial_ref for orthorectification, not original data #43
Comments
Here's the code to reproduce:
|
Once I find out how to use them correctly, I will switch to AreaDefinition instead of SwathDefinition Ref: nasa/EMIT-Data-Resources#43
Yes, the When looking at the The GLT consists of 2 layers,
There is also more information about the file structure in the user guide. |
Thanks a lot for your explanations, Erik. It's clear to me now and pyresample's results are as same as manually calculated lon/lat:
|
According to the notebook, I see the
geotransform
andspatial_ref
attrs are used for orthorectification. Note thatGT[2]
andGT[4]
are zero in the attrs. So, does that mean we can only usegeotransform
andspatial_ref
for orthorectified data?Actually, I have tried to use pyresample's AreaDefinition to define the area. The derived lon/lat values are different from these in the
location
group of NC file. I suppose that's because these attrs from the NetCDF file only works for orthorectified data.If I'm wrong, please feel free to correct me. I'm curious how to use
geotransform
andspatial_ref
for original data, if that should work ...The text was updated successfully, but these errors were encountered: