isofit.utils.atm_interpolation ============================== .. py:module:: isofit.utils.atm_interpolation Functions --------- .. autoapisummary:: isofit.utils.atm_interpolation._run_chunk isofit.utils.atm_interpolation.atm_interpolation Module Contents --------------- .. py:function:: _run_chunk(start_line: int, stop_line: int, 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, nodata_value: float, loglevel: str, logfile: str) -> None :param start_line: line to start empirical line run at :param stop_line: line to stop empirical line run at :param reference_state_file: source file for retrieved superpixel state :param reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) :param input_locations_file: input location file (interpolate over this) :param segmentation_file: input file noting the per-pixel segmentation used :param output_atm_file: output file for interpolated and smoothed per pixel atmospheric state :param atm_band_names: names of atmospheric state parameters :param nneighbors: number of neighbors to use for interpolation :param nodata_value: nodata value of input and output :param loglevel: logging level :param logfile: logging file :returns: None .. py:function:: 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. :param reference_state_file: source file for retrieved superpixel state :param reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) :param input_locations_file: input location file (interpolate over this) :param segmentation_file: input file noting the per-pixel segmentation used :param output_atm_file: output file for interpolated and smoothed per pixel atmospheric state :param atm_band_names: names of atmospheric state parameters :param nneighbors: number of neighbors to use for interpolation :param nodata_value: nodata value of input and output :param loglevel: logging level :param logfile: logging file :param n_cores: number of cores to run on :param gaussian_smoothing_sigma: sigma value to apply to gaussian smoothing of atmospheric parameters :returns: None