isofit.utils.empirical_line
- empirical_line(reference_radiance_file, reference_reflectance_file, reference_uncertainty_file, reference_locations_file, segmentation_file, input_radiance_file, input_locations_file, output_reflectance_file, output_uncertainty_file, nneighbors=400, nodata_value=-9999.0, level='INFO', logfile=None, radiance_factors=None, isofit_config=None, n_cores=-1, reference_class_file=None)[source]
Perform an empirical line interpolation for reflectance and uncertainty extrapolation :type reference_radiance_file:
str
:param reference_radiance_file: source file for radiance (interpolation built from this) :type reference_reflectance_file:str
:param reference_reflectance_file: source file for reflectance (interpolation built from this) :type reference_uncertainty_file:str
:param reference_uncertainty_file: source file for uncertainty (interpolation built from this) :type reference_locations_file:str
:param reference_locations_file: source file for file locations (lon, lat, elev), (interpolation built from this) :type segmentation_file:str
:param segmentation_file: input file noting the per-pixel segmentation used :type input_radiance_file:str
:param input_radiance_file: input radiance file (interpolate over this) :type input_locations_file:str
:param input_locations_file: input location file (interpolate over this) :type output_reflectance_file:str
:param output_reflectance_file: location to write output reflectance to :type output_uncertainty_file:str
:param output_uncertainty_file: location to write output uncertainty to :type nneighbors:int
:param nneighbors: number of neighbors to use for interpolation :type nodata_value:float
:param nodata_value: nodata value of input and output :type level:str
:param level: logging level :type logfile:Optional
[str
] :param logfile: logging file :type radiance_factors:Optional
[array
] :param radiance_factors: radiance adjustment factors :type isofit_config:Optional
[str
] :param isofit_config: path to isofit configuration JSON file :type n_cores:int
:param n_cores: number of cores to run on :type reference_class_file:Optional
[str
] :param reference_class_file: optional source file for sub-type-classifications, in order: [base, cloud, water]- Return type:
- Returns:
None