ACHMartin / seastar_project

4 stars 0 forks source link

SAR local grid alignment #226

Closed DavidMcCann-NOC closed 1 year ago

DavidMcCann-NOC commented 1 year ago

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.

DavidMcCann-NOC commented 1 year ago

This issue is currently with the data providers to fix

DavidMcCann-NOC commented 1 year ago

Closed with latest data version