isofit.utils.empirical_line =========================== .. py:module:: isofit.utils.empirical_line Functions --------- .. autoapisummary:: isofit.utils.empirical_line._run_chunk isofit.utils.empirical_line.empirical_line isofit.utils.empirical_line.cli Module Contents --------------- .. py:function:: _run_chunk(start_line: int, stop_line: int, reference_radiance_file: str, reference_reflectance_file: str, reference_uncertainty_file: str, reference_locations_file: str, input_radiance_file: str, input_locations_file: str, segmentation_file: str, isofit_config: str, output_reflectance_file: str, output_uncertainty_file: str, radiance_factors: numpy.array, nneighbors: int, nodata_value: float, loglevel: str, logfile: str, reference_class_file) -> None :param start_line: line to start empirical line run at :param stop_line: line to stop empirical line run at :param reference_radiance_file: source file for radiance (interpolation built from this) :param reference_reflectance_file: source file for reflectance (interpolation built from this) :param reference_uncertainty_file: source file for uncertainty (interpolation built from this) :param reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) :param input_radiance_file: input radiance file (interpolate over this) :param input_locations_file: input location file (interpolate over this) :param segmentation_file: input file noting the per-pixel segmentation used :param isofit_config: path to isofit configuration JSON file :param output_reflectance_file: location to write output reflectance to :param output_uncertainty_file: location to write output uncertainty to :param radiance_factors: radiance adjustment factors :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:: empirical_line(reference_radiance_file: str, reference_reflectance_file: str, reference_uncertainty_file: str, reference_locations_file: str, segmentation_file: str, input_radiance_file: str, input_locations_file: str, output_reflectance_file: str, output_uncertainty_file: str, nneighbors: int = 400, nodata_value: float = -9999.0, level: str = 'INFO', logfile: str = None, radiance_factors: numpy.array = None, isofit_config: str = None, n_cores: int = -1, reference_class_file: str = None, segmentation_size: int = 40) -> None Perform an empirical line interpolation for reflectance and uncertainty extrapolation :param reference_radiance_file: source file for radiance (interpolation built from this) :param reference_reflectance_file: source file for reflectance (interpolation built from this) :param reference_uncertainty_file: source file for uncertainty (interpolation built from this) :param reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) :param segmentation_file: input file noting the per-pixel segmentation used :param input_radiance_file: input radiance file (interpolate over this) :param input_locations_file: input location file (interpolate over this) :param output_reflectance_file: location to write output reflectance to :param output_uncertainty_file: location to write output uncertainty to :param nneighbors: number of neighbors to use for interpolation :param nodata_value: nodata value of input and output :param level: logging level :param logfile: logging file :param radiance_factors: radiance adjustment factors :param isofit_config: path to isofit configuration JSON file :param n_cores: number of cores to run on :param reference_class_file: optional source file for sub-type-classifications, in order: [base, cloud, water] :param segmentation_size: Number of super pixels :returns: None .. py:function:: cli(**kwargs) Run empirical line