There is an issue with xr.concat in merge_beams where the CrossRange coordinate of one beam (e.g., Aft) has a different origin than others in the same track. This leads to strange behaviour where alternating gaps appear in all arrays in the merged L1b dataset.
A check will need to be implemented as to whether or not the coordinates match in terms of origin and ground resolution (pixel size) and if not then the data will need to be interpolated / shifted to a new, e.g., CrossRange coordinate that matches the other beams ebfore merging.
Alternatively a more pythonic means of correcting this needs to be found, e.g., directly in xarray.
There is an issue with
xr.concat
inmerge_beams
where theCrossRange
coordinate of one beam (e.g., Aft) has a different origin than others in the same track. This leads to strange behaviour where alternating gaps appear in all arrays in the merged L1b dataset.A check will need to be implemented as to whether or not the coordinates match in terms of origin and ground resolution (pixel size) and if not then the data will need to be interpolated / shifted to a new, e.g.,
CrossRange
coordinate that matches the other beams ebfore merging.Alternatively a more pythonic means of correcting this needs to be found, e.g., directly in
xarray
.