ost.s1.grd_wrappers

Functions

calibration

param infile

grd_frame_import

A wrapper of SNAP import of a single Sentinel-1 GRD product

grd_remove_border

OST function to remove GRD border noise from Sentinel-1 data

grd_subset_georegion

Wrapper function around SNAP's subset routine

multi_look

param infile

slice_assembly

Wrapper function around SNAP's slice assembly routine

ost.s1.grd_wrappers.calibration(infile, outfile, logfile, config_dict)[source]
Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.s1.grd_wrappers.grd_frame_import(infile, outfile, logfile, config_dict)[source]

A wrapper of SNAP import of a single Sentinel-1 GRD product

This function takes an original Sentinel-1 scene (either zip or SAFE format), updates the orbit information (does not fail if not available), removes the thermal noise and stores it as a SNAP compatible BEAM-Dimap format.

Parameters
  • infile (str/Path) – Sentinel-1 GRD product in zip or SAFE format

  • outfile (str/Path) –

  • logfile

  • config_dict (dict) – an OST configuration dictionary

Returns

ost.s1.grd_wrappers.grd_remove_border(infile)[source]

OST function to remove GRD border noise from Sentinel-1 data

This is a custom routine to remove GRD border noise from Sentinel-1 GRD products. It works on the original intensity images.

NOTE: For the common dimap format, the infile needs to be the ENVI style file inside the *data folder.

The routine checks the outer 3000 columns for its mean value. If the mean value is below 100, all values will be set to 0, otherwise the routine will continue fpr another 150 columns setting the value to 0. All further columns towards the inner image are considered valid.

Parameters

infile

Returns

ost.s1.grd_wrappers.grd_subset_georegion(infile, outfile, logfile, config_dict)[source]

Wrapper function around SNAP’s subset routine

This function takes an OST imported/slice assembled frame and subsets it according to the coordinates given in the region

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.s1.grd_wrappers.multi_look(infile, outfile, logfile, config_dict)[source]
Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.s1.grd_wrappers.slice_assembly(filelist, outfile, logfile, config_dict)[source]

Wrapper function around SNAP’s slice assembly routine

Parameters
  • filelist (str) – a string of a space separated list of OST imported Sentinel-1 GRD product frames to be assembled

  • outfile

  • logfile

  • config_dict

Returns