hypernets_processor.data_io.data_templates module

Data template class

class hypernets_processor.data_io.data_templates.DataTemplates(context)

Bases: object

calibration_dataset(wavs, nonlinearcals, wavcoef, caldates, nonlineardates, wavdates)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l0a_template_dataset(wvl, scanDim, fileformat, swir=False)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l0b_template_from_l0a_dataset(measurandstring, dataset_l0, swir=False)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l1a_template_from_l0a_dataset(measurandstring, dataset_l0, swir=False)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l1b_template_from_combine(measurementstring, dataset, dataset_SWIR)
l1b_template_from_l0b_dataset(measurandstring, dataset_l0b)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l1b_template_from_l1a_dataset_water(measurandstring, dataset_l1a)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets.

Parameters:

datasetl0

Returns:

Return type:

l1c_from_l1b_dataset(dataset_l1b, razangle=None)

Makes a L2 template of the data, and propagates the appropriate keywords from L1.

Parameters:

datasetl0

Returns:

Return type:

l1c_int_template_from_l1a_dataset_water(dataset_l1a)

Makes all L1 templates for the data, and propagates the appropriate keywords from the L0 datasets. :param datasetl0: :type datasetl0: :return: :rtype:

l1ctemp_dataset(dataset_l1b, dataset_l1b_irr, azangle=None)

Makes a L2 template of the data, and propagates the appropriate keywords from L1.

Parameters:

datasetl0

Returns:

Return type:

l2_from_l1c_dataset(datasetl1c, razangle=None)

Makes a L2 template of the data, and propagates the appropriate keywords from L1. :param datasetl0: :type datasetl0: :return: :rtype:

rename_var(dataset, varname, varname_new, wavvar, wavvar_new)