ost.generic.common_wrappers

Functions

create_stack

param file_list

linear_to_db

Wrapper function around SNAP's linear to db routine

ls_mask

Wrapper function of a Snap graph for Layover/Shadow mask creation

mt_speckle_filter

param in_stack

speckle_filter

Wrapper function around SNAP's Speckle Filter function

terrain_correction

Wrapper function around Snap's terrain or ellipsoid correction

terrain_flattening

Wrapper function to Snap's Terrain Flattening routine

ost.generic.common_wrappers.create_stack(file_list, out_stack, logfile, config_dict, polarisation=None, pattern=None)[source]
Parameters
  • file_list

  • out_stack

  • logfile

  • config_dict

  • polarisation

  • pattern

Returns

ost.generic.common_wrappers.linear_to_db(infile, outfile, logfile, config_dict)[source]

Wrapper function around SNAP’s linear to db routine

This function takes an OST calibrated Sentinel-1 product and converts it to dB.

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.generic.common_wrappers.ls_mask(infile, outfile, logfile, config_dict)[source]

Wrapper function of a Snap graph for Layover/Shadow mask creation

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.generic.common_wrappers.mt_speckle_filter(in_stack, out_stack, logfile, config_dict)[source]
Parameters
  • in_stack

  • out_stack

  • logfile

  • config_dict

Returns

ost.generic.common_wrappers.speckle_filter(infile, outfile, logfile, config_dict)[source]

Wrapper function around SNAP’s Speckle Filter function

This function takes OST imported Sentinel-1 product and applies the Speckle Filter as defind within the config dictionary.

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.generic.common_wrappers.terrain_correction(infile, outfile, logfile, config_dict)[source]

Wrapper function around Snap’s terrain or ellipsoid correction

Based on the configuration parameters either the Range-Doppler terrain correction or an Ellisoid correction is applied for geocoding a calibrated Sentinel-1 product.

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns

ost.generic.common_wrappers.terrain_flattening(infile, outfile, logfile, config_dict)[source]

Wrapper function to Snap’s Terrain Flattening routine

Parameters
  • infile

  • outfile

  • logfile

  • config_dict

Returns