During our L2SS-B-S-C regression tests we noticed StitchEE failures for some of the edge-cases. When we looked deeper, it turned out that the l2ss-py produced file with empty arrays. It happens when the requested temporal subsetting is on the edge of the file timestamp. For example, for granule TEMPO_NO2_L2_V01_20240123T231358Z_S013G03.nc the metadata timestamp is 2024-01-23 23:13:58. So if we request temporal subsetting up to 2024-01-23 23:13:59 (shifted by 1 second) this particular granule is included. But when l2ss-py starts subsetting, the more precise time information in the file has no data points for anything within [, 2024-01-23 23:13:59] time range. The output file has an empty array in it.
Here is the request that can reproduce this issue: https://harmony.uat.earthdata.nasa.gov/C1254854453-LARC_CLOUD/ogc-api-coverages/1.0.0/collections/%2Fproduct%2Fvertical_column_total/coverage/rangeset?forceAsync=true&subset=time(%222024-01-23T23%3A07%3A00%22%3A%222024-01-23T23%3A13%3A59%22)
Additionally, the output filename in harmony seems to be different. Notice in the log below that the output file doesn't have _subsetted suffix in the filename:
This issue has been investigated before, and no clear consensus was reached. The discussion with harmony community is still on-going and things might change in the future.
During our L2SS-B-S-C regression tests we noticed StitchEE failures for some of the edge-cases. When we looked deeper, it turned out that the
l2ss-py
produced file with empty arrays. It happens when the requested temporal subsetting is on the edge of the file timestamp. For example, for granuleTEMPO_NO2_L2_V01_20240123T231358Z_S013G03.nc
the metadata timestamp is2024-01-23 23:13:58
. So if we request temporal subsetting up to2024-01-23 23:13:59
(shifted by 1 second) this particular granule is included. But when l2ss-py starts subsetting, the more precise time information in the file has no data points for anything within[, 2024-01-23 23:13:59]
time range. The output file has an empty array in it.https://harmony.uat.earthdata.nasa.gov/C1254854453-LARC_CLOUD/ogc-api-coverages/1.0.0/collections/%2Fproduct%2Fvertical_column_total/coverage/rangeset?forceAsync=true&subset=time(%222024-01-23T23%3A07%3A00%22%3A%222024-01-23T23%3A13%3A59%22)
_subsetted
suffix in the filename: