Skip to content

Commit

Permalink
Merge pull request #23 from gshiroma/rtc_beta_delivery_assert_fix
Browse files Browse the repository at this point in the history
Remove checks that force mosaic and bursts to have the same EPSG code and pixel spacing
  • Loading branch information
gshiroma authored Feb 14, 2023
2 parents f7d8465 + 28f1b73 commit 15bd6cf
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions app/rtc_s1.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,26 @@ def _update_mosaic_boundaries(mosaic_geogrid_dict, geogrid):
mosaic_geogrid_dict['yf'] = yf
if 'dx' not in mosaic_geogrid_dict.keys():
mosaic_geogrid_dict['dx'] = geogrid.spacing_x
else:
assert(mosaic_geogrid_dict['dx'] == geogrid.spacing_x)
if 'dy' not in mosaic_geogrid_dict.keys():
mosaic_geogrid_dict['dy'] = geogrid.spacing_y
else:
assert(mosaic_geogrid_dict['dy'] == geogrid.spacing_y)







# TODO fix this. The mosaic EPSG should not come from the
# first burst
if 'epsg' not in mosaic_geogrid_dict.keys():
mosaic_geogrid_dict['epsg'] = geogrid.epsg
else:
assert(mosaic_geogrid_dict['epsg'] == geogrid.epsg)









def _separate_pol_channels(multi_band_file, output_file_list, logger,
Expand Down

0 comments on commit 15bd6cf

Please sign in to comment.