podaac / l2ss-py

Level 2 subsetter with Harmony integration
https://podaac.github.io/l2ss-py/
Apache License 2.0
11 stars 11 forks source link

Mistaken report of subsetted area being equal to original granule #197

Open danielfromearth opened 11 months ago

danielfromearth commented 11 months ago

l2ss-py reports "Subsetted area equal to the original granule" erroneously, even when the subsetted area is much less than the original granule.

This appears to be a result of incomplete logic around line79 of xarray_enhancements.py

This was discovered when subsetting a TEMPO Proxy granule such that it has a shorter latitudinal range but has the same longitudinal range.