umr-lops / xsar

Synthetic Aperture Radar (SAR) Level-1 GRD python mapper for efficient xarray/dask based processing
https://cyclobs.ifremer.fr/static/sarwing_datarmor/xsar/
MIT License
25 stars 8 forks source link

add s1meta.image #48

Closed oarcher closed 2 years ago

oarcher commented 2 years ago

will close #48

oarcher commented 2 years ago

s1meta.image is currently a dict as follow:

{
  'atrack_time_range': array(['2017-09-07T10:29:51.883706', '2017-09-07T10:30:19.761161'], dtype='datetime64[us]'), 
  'shape': (14900, 20541), 
  'pixel_spacing': (14.00167, 2.329562), 
  'incidence_angle_mid_swath': 3.386981751453656e+01, 
  'azimuth_time_interval': 0.002055556299999998, 
  'slant_range_time_image': 0.005330807853138291, 
  'history': 'image:
    annotation/s1a.xml:
      - /product/imageAnnotation/imageInformation/*[contains(name(),"LineUtcTime")] 
      - /product/imageAnnotation/imageInformation/numberOfLines
      - /product/imageAnnotation/imageInformation/numberOfSamples
      - /product/imageAnnotation/imageInformation/incidenceAngleMidSwath
      - /product/imageAnnotation/imageInformation/azimuthTimeInterval
      - /product/imageAnnotation/imageInformation/slantRangeTime
      - /product/imageAnnotation/imageInformation/azimuthPixelSpacing
      - /product/imageAnnotation/imageInformation/rangePixelSpacing'
}

keys azimuth_time_interval and slant_range_time_image might be renamed according atrack and xtrack naming convention.