from iscesys.Component.Component import Component #This one appears in InsarProc.py to tell the code not to handle this parameter #in the case when the user does not give information. The mandatory=False, #private=True case is for a truly optional case in which the code is happy not #to have a value for the parameter. NUMBER_VALID_PULSES = Component.Parameter('_numberValidPulses', public_name='numberValidPulses', default=2048, type=int, mandatory=False, private=True, doc='') PEG_H1 = Component.Parameter('_pegH1', public_name='pegH1', default=None, type=float, mandatory=True, private=True, doc='') PEG_H2 = Component.Parameter('_pegH2', public_name='pegH2', default=None, type=float, mandatory=True, private=True, doc='') FD_H1 = Component.Parameter('_fdH1', public_name='fdH1', default=None, type=float, mandatory=True, private=True, doc='') FD_H2 = Component.Parameter('_fdH2', public_name='fdH2', default=None, type=float, mandatory=True, private=True, doc='') PEG_V1 = Component.Parameter('_pegV1', public_name='pegV1', default=None, type=float, mandatory=True, private=True, doc='') PEG_V2 = Component.Parameter('_pegV2', public_name='pegV2', default=None, type=float, mandatory=True, private=True, doc='') #ask NUMBER_RANGE_BINS = Component.Parameter('_numberRangeBins', public_name='numberRangeBins', default=None, type=int, mandatory=True, private=True, doc='') MACHINE_ENDIANNESS = Component.Parameter('_machineEndianness', public_name='machineEndianness', default='l', type=str, mandatory=True, private=True, doc='') #ask CHIRP_EXTENSION = Component.Parameter('_chirpExtension', public_name='chirpExtension', default=0, type=int, mandatory=True, private=True, doc='') #ask SLANT_RANGE_PIXEL_SPACING = Component.Parameter('_slantRangePixelSpacing', public_name='slantRangePixelSpacing', default=None, type=float, mandatory=True, private=True, doc='') #ask NUMBER_RESAMP_LINES = Component.Parameter('_numberResampLines', public_name='numberResampLines', default=None, type=int, mandatory=True, private=True, doc='') LOOK_SIDE = Component.Parameter('_lookSide', public_name='lookSide', default=-1, type=int, mandatory=True, private=True, doc='') MASTER_FRAME = Component.Facility('_masterFrame', public_name='masterFrame', factory='default', mandatory=True, private=True, doc='Master frame') SLAVE_FRAME = Component.Facility('_slaveFrame', public_name='slaveFrame', factory='default', mandatory=True, private=True, doc='Slave frame') MASTER_ORBIT = Component.Facility('_masterOrbit', public_name='masterOrbit', factory='default', mandatory=True, private=True, doc='Master orbit') SLAVE_ORBIT = Component.Facility('_slaveOrbit', public_name='slaveOrbit', factory='default', mandatory=True, private=True, doc='Slave orbit') #ask DOPPLER_CENTROID = Component.Facility('_dopplerCentroid', public_name='dopplerCentroid', factory='default', mandatory=True, private=True, doc='') MASTER_DOPPLER = Component.Facility('_masterDoppler', public_name='masterDoppler', factory='default', mandatory=True, private=True, doc='') SLAVE_DOPPLER = Component.Facility('_slaveDoppler', public_name='slaveDoppler', factory='default', mandatory=True, private=True, doc='') MASTER_RAW_IMAGE = Component.Facility('_masterRawImage', public_name='masterRawImage', factory='default', mandatory=True, private=True, doc='') SLAVE_RAW_IMAGE = Component.Facility('_slaveRawImage', public_name='slaveRawImage', factory='default', mandatory=True, private=True, doc='') MASTER_SLC_IMAGE = Component.Facility('_masterSlcImage', public_name='masterSlcImage', factory='default', mandatory=True, private=True, doc='') SLAVE_SLC_IMAGE = Component.Facility('_slaveSlcImage', public_name='slaveSlcImage', factory='default', mandatory=True, private=True, doc='') OFFSET_AZIMUTH_IMAGE = Component.Facility('_offsetAzimuthImage', public_name='offsetAzimuthImage', factory='default', mandatory=True, private=True, doc='') OFFSET_RANGE_IMAGE = Component.Facility('_offsetRangeImage', public_name='offsetRangeImage', factory='default', mandatory=True, private=True, doc='') RESAMP_AMP_IMAGE = Component.Facility('_resampAmpImage', public_name='resampAmpImage', factory='default', mandatory=True, private=True, doc='') RESAMP_INT_IMAGE = Component.Facility('_resampIntImage', public_name='resampIntImage', factory='default', mandatory=True, private=True, doc='') RESAMP_ONLY_IMAGE = Component.Facility('_resampOnlyImage', public_name='resampOnlyImage', factory='default', mandatory=True, private=True, doc='') RESAMP_ONLY_AMP = Component.Facility('_resampOnlyAmp', public_name='resampOnlyAmp', factory='default', mandatory=True, private=True, doc='') TOPO_INT_IMAGE = Component.Facility('_topoIntImage', public_name='topoIntImage', factory='default', mandatory=True, private=True, doc='') HEIGHT_TOPO_IMAGE = Component.Facility('_heightTopoImage', public_name='heightTopoImage', factory='default', mandatory=True, private=True, doc='') RG_IMAGE = Component.Facility('_rgImage', public_name='rgImage', factory='default', mandatory=True, private=True, doc='') SIM_AMP_IMAGE = Component.Facility('_simAmpImage', public_name='simAmpImage', factory='default', mandatory=True, private=True, doc='') DEM_IMAGE = Component.Facility('_demImage', public_name='demImage', factory='default', mandatory=True, private=True, doc='') FORM_SLC1 = Component.Facility('_formSLC1', public_name='formSLC1', factory='default', mandatory=True, private=True, doc='') FORM_SLC2 = Component.Facility('_formSLC2', public_name='formSLC2', factory='default', mandatory=True, private=True, doc='') MOCOMP_BASELINE = Component.Facility('_mocompBaseline', public_name='mocompBaseline', factory='default', mandatory=True, private=True, doc='') TOPOCORRECT = Component.Facility('_topocorrect', public_name='topocorrect', factory='default', mandatory=True, private=True, doc='') TOPO = Component.Facility('_topo', public_name='topo', factory='default', mandatory=True, private=True, doc='') RAW_MASTER_IQ_IMAGE = Component.Facility('_rawMasterIQImage', public_name='rawMasterIQImage', factory='default', mandatory=True, private=True, doc='') RAW_SLAVE_IQ_IMAGE = Component.Facility('_rawSlaveIQImage', public_name='rawSlaveIQImage', factory='default', mandatory=True, private=True, doc='') TOPOCORRECT_FLAT_IMAGE = Component.Facility('_topocorrectFlatImage', public_name='topocorrectFlatImage', factory='default', mandatory=True, private=True, doc='') #i know the answer but double check OFFSET_FIELD = Component.Facility('_offsetField', public_name='offsetField', factory='default', mandatory=True, private=True, doc='') REFINED_OFFSET_FIELD = Component.Facility('_refinedOffsetField', public_name='refinedOffsetField', factory='default', mandatory=True, private=True, doc='') OFFSET_FIELD1 = Component.Facility('_offsetField1', public_name='offsetField1', factory='default', mandatory=True, private=True, doc='') REFINED_OFFSET_FIELD1 = Component.Facility('_refinedOffsetField1', public_name='refinedOffsetField1', factory='default', mandatory=True, private=True, doc='') parameter_list = ( PEG_H1, PEG_H2, FD_H1, FD_H2, PEG_V1, PEG_V2, NUMBER_RANGE_BINS, MACHINE_ENDIANNESS, CHIRP_EXTENSION, SLANT_RANGE_PIXEL_SPACING, LOOK_SIDE, NUMBER_RESAMP_LINES ) facility_list = ( MASTER_FRAME, SLAVE_FRAME, MASTER_ORBIT, SLAVE_ORBIT, MASTER_DOPPLER, SLAVE_DOPPLER, DOPPLER_CENTROID, MASTER_RAW_IMAGE, SLAVE_RAW_IMAGE, MASTER_SLC_IMAGE, SLAVE_SLC_IMAGE, OFFSET_AZIMUTH_IMAGE, OFFSET_RANGE_IMAGE, RESAMP_AMP_IMAGE, RESAMP_INT_IMAGE, RESAMP_ONLY_IMAGE, RESAMP_ONLY_AMP, TOPO_INT_IMAGE, HEIGHT_TOPO_IMAGE, RG_IMAGE, SIM_AMP_IMAGE, DEM_IMAGE, FORM_SLC1, FORM_SLC2, MOCOMP_BASELINE, TOPOCORRECT, TOPO, RAW_MASTER_IQ_IMAGE, RAW_SLAVE_IQ_IMAGE, TOPOCORRECT_FLAT_IMAGE, OFFSET_FIELD, REFINED_OFFSET_FIELD, OFFSET_FIELD1, REFINED_OFFSET_FIELD1 )