File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ class Sentinel1BurstSlc:
245245 range_bandwidth : float
246246 polarization : str # {VV, VH, HH, HV}
247247 burst_id : S1BurstId
248- platform_id : str # S1{A,B}
248+ platform_id : str # S1{A,B,C }
249249 safe_filename : str # SAFE file name
250250 center : tuple # {center lon, center lat} in degrees
251251 border : list # list of lon, lat coordinate tuples (in degrees) representing burst border
@@ -1179,6 +1179,8 @@ def relative_orbit_number(self):
11791179 orbit_number_offset = 73
11801180 elif self .platform_id == "S1B" :
11811181 orbit_number_offset = 27
1182+ elif self .platform_id == "S1C" :
1183+ orbit_number_offset = 172
11821184 else :
1183- orbit_number_offset = 99
1185+ raise ValueError ( f"Unknown platform_id: { self . platform_id } " )
11841186 return (self .abs_orbit_number - orbit_number_offset ) % 175 + 1
You can’t perform that action at this time.
0 commit comments