bopen / xarray-sentinel

Xarray backend to Copernicus Sentinel-1 satellite data products
Apache License 2.0
219 stars 22 forks source link

Fix burst coordinates #56

Closed aurghs closed 3 years ago

aurghs commented 3 years ago

Use integers values (in swath and bursts) for pixel and line coordinates instead of integers plus 0.5. NOw there are aligned with calibration paramteres coordinates. Previus swath dataset:

Dimensions:  (line: 13509, pixel: 21632)
Coordinates:
  * line     (line) float64 0.5 1.5 2.5 3.5 ... 1.351e+04 1.351e+04 1.351e+04
  * pixel    (pixel) float64 0.5 1.5 2.5 3.5 ... 2.163e+04 2.163e+04 2.163e+04
 ...

Current swath dataset:

Dimensions:  (line: 13509, pixel: 21632)
Coordinates:
  * line     (line) int64 0 1 2 3 4 5 6 ... 13503 13504 13505 13506 13507 13508
  * pixel    (pixel) int64 0 1 2 3 4 5 6 ... 21626 21627 21628 21629 21630 21631
 ...
codecov-commenter commented 3 years ago

Codecov Report

Merging #56 (0015086) into main (268a30d) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   92.67%   92.69%   +0.02%     
==========================================
  Files           7        7              
  Lines         614      616       +2     
  Branches       68       68              
==========================================
+ Hits          569      571       +2     
  Misses         24       24              
  Partials       21       21              
Impacted Files Coverage Δ
xarray_sentinel/sentinel1.py 92.59% <100.00%> (+0.06%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 268a30d...0015086. Read the comment docs.