Atm interpolation
source module isofit.utils.atm_interpolation
Functions
-
atm_interpolation — Perform an empirical line interpolation and gaussian smoothing to atmospheric parameters. Args: reference_state_file: source file for retrieved superpixel state reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) input_locations_file: input location file (interpolate over this) segmentation_file: input file noting the per-pixel segmentation used output_atm_file: output file for interpolated and smoothed per pixel atmospheric state atm_band_names: names of atmospheric state parameters nneighbors: number of neighbors to use for interpolation nodata_value: nodata value of input and output loglevel: logging level logfile: logging file n_cores: number of cores to run on gaussian_smoothing_sigma: sigma value to apply to gaussian smoothing of atmospheric parameters Returns: None
source atm_interpolation(reference_state_file: str, reference_locations_file: str, input_locations_file: str, segmentation_file: str, output_atm_file: str, atm_band_names: list, nneighbors: list = None, nodata_value: float = -9999.0, loglevel: str = 'INFO', logfile: str = None, n_cores: int = -1, gaussian_smoothing_sigma: list = None) → None
Perform an empirical line interpolation and gaussian smoothing to atmospheric parameters. Args: reference_state_file: source file for retrieved superpixel state reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) input_locations_file: input location file (interpolate over this) segmentation_file: input file noting the per-pixel segmentation used output_atm_file: output file for interpolated and smoothed per pixel atmospheric state atm_band_names: names of atmospheric state parameters nneighbors: number of neighbors to use for interpolation nodata_value: nodata value of input and output loglevel: logging level logfile: logging file n_cores: number of cores to run on gaussian_smoothing_sigma: sigma value to apply to gaussian smoothing of atmospheric parameters Returns: None