isofit.utils.atm_interpolation
Functions
|
|
|
Perform an empirical line interpolation and gaussian smoothing to atmospheric parameters. |
Module Contents
- _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[source]
- Parameters:
start_line – line to start empirical line run at
stop_line – line to stop empirical line run at
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
- Returns:
None
- 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[source]
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