Closed jdries closed 5 months ago
@jdries This concerns these datasets right?
NETCDF:"geometry_tn.nc":solar_azimuth_tn NETCDF:"geometry_tn.nc":solar_zenith_tn
Yes!
@bossie I think you are right about the non-square pixels, extract from data format spec:
The resolution of this grid is 1 km on alongtrack direction and 16 km on across-track one
This would mean that you need to upsample the angles with a factor 16 along the x-axis, which would then immediately give you the output resolution?
Status update: ongoing, should be a gradient but looks like a rug.
I noticed that these angle bands are treated differently in the original code by Bart O. so I'm adding that part to our code too.
Getting somewhere: proper gradient with values that match input.
All bands including solar_azimuth_tn and solar_zenith_tn: test_SENTINEL3_SLSTR_L2_LST_all.tif.txt
Nice!
Seems to work, needs collection test to make sure I didn't break anything. Can use some cleaning up as well.
Added kube_resources.applications.integrationtests.tests.test_collections.test_compare_SENTINEL3_SLSTR_L2_LST
to test for regressions wrt/ current bands.
Solar angles can be used to determine night from day. This matters quite a bit for creating decent temperature composites. These angles are provided in a lower resolution, so needs some work to correctly read and combine with other bands.