import isce import isceobj import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import TopsProc logger = logging.getLogger('isce.insar') SENSOR_NAME = Application.Parameter( 'sensorName', public_name='sensor name', default='SENTINEL1', type=str, mandatory=True, doc="Sensor name" ) DO_ESD = Application.Parameter('doESD', public_name = 'do ESD', default = True, type = bool, mandatory = False, doc = 'Perform ESD estimation') DO_DENSE_OFFSETS = Application.Parameter('doDenseOffsets', public_name='do dense offsets', default = False, type = bool,
from isce import logging import isce import isceobj import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import RtcProc from isceobj.Util.decorators import use_api logger = logging.getLogger('isce.grdsar') SENSOR_NAME = Application.Parameter('sensorName', public_name='sensor name', default='SENTINEL1', type=str, mandatory=True, doc="Sensor name") USE_HIGH_RESOLUTION_DEM_ONLY = Application.Parameter( 'useHighResolutionDemOnly', public_name='useHighResolutionDemOnly', default=False, type=int, mandatory=False, doc=("""If True and a dem is not specified in input, it will only download the SRTM highest resolution dem if it is available and fill the missing portion with null values (typically -32767).""")) DEM_FILENAME = Application.Parameter( 'demFilename', public_name='demFilename',
import isceobj import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility import isceobj.InsarProc as InsarProc from isceobj.Scene.Frame import FrameMixin logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf')) logger = logging.getLogger('isce.insar') SENSOR_NAME = Application.Parameter('sensorName', public_name='sensor name', default=None, type=str, mandatory=True, doc="Sensor name") OFFSET_METHOD = Application.Parameter( 'offsetMethod', public_name='slc offset method', default="offsetprf", type=str, mandatory=False, doc=("SLC offset estimation method name. " + "Use value=ampcor to run ampcor")) OFFSET_SEARCH_WINDOW_SIZE = Application.Parameter( 'offsetSearchWindowSize', public_name='offset search window size', default=None, type=int,
or, one of the following: > ./greeter.py --greeter.name\ to\ use\ in\ greeting=Joe > ./greeter.py --greeter."name to use in greeting"=Joe """ from __future__ import print_function import isce from iscesys.Component.Application import Application NAME = Application.Parameter('gname', public_name='name to use in greeting', default="World", type=str, mandatory=True, doc="Name you want to be called when greeted by the code." ) class Greeter(Application): """ """ parameter_list = (NAME,) #facility_list = () family = 'greeter' def main(self): print("Hello, {0}!".format(self.gname))
import sys from isce import logging import isce import isceobj import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import ScansarProc logger = logging.getLogger('isce.insar') SENSOR_NAME = Application.Parameter('sensorName', public_name='sensor name', default='ALOS2', type=str, mandatory=True, doc="Sensor name") FULL_APERTURE_PRODUCT = Application.Parameter( 'isFullApertureProduct', public_name='is full aperture product', default=False, type=bool, mandatory=True, doc="To indicate full aperture or burst-by-burst") BURST_OVERLAP_THRESHOLD = Application.Parameter( 'burstOverlapThreshold', public_name='burst overlap threshold', default=85.0, type=float,
from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import Alos2Proc logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf') ) logger = logging.getLogger('isce.insar') REFERENCE_DIR = Application.Parameter('referenceDir', public_name='reference directory', default=None, type=str, mandatory=False, doc="reference data directory") SECONDARY_DIR = Application.Parameter('secondaryDir', public_name='secondary directory', default=None, type=str, mandatory=False, doc="secondary data directory") REFERENCE_FRAMES = Application.Parameter('referenceFrames', public_name = 'reference frames', default = None, type=str, container=list,
import isceobj import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import Alos2burstProc logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf')) logger = logging.getLogger('isce.insar') MASTER_DIR = Application.Parameter('masterDir', public_name='master directory', default=None, type=str, mandatory=False, doc="master data directory") SLAVE_DIR = Application.Parameter('slaveDir', public_name='slave directory', default=None, type=str, mandatory=False, doc="slave data directory") MASTER_FRAMES = Application.Parameter('masterFrames', public_name='master frames', default=None, type=str, container=list,
from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF import isceobj.StripmapProc as StripmapProc from isceobj.Scene.Frame import FrameMixin from isceobj.Util.decorators import use_api logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf')) logger = logging.getLogger('isce.insar') SENSOR_NAME = Application.Parameter( 'sensorName', public_name='sensor name', default=None, type=str, mandatory=False, doc='Sensor name for both master and slave') MASTER_SENSOR_NAME = Application.Parameter( 'masterSensorName', public_name='master sensor name', default=None, type=str, mandatory=True, doc="Master sensor name if mixing sensors") SLAVE_SENSOR_NAME = Application.Parameter( 'slaveSensorName', public_name='slave sensor name',
import isceobj from isceobj import TopsProc from isce.applications.topsApp import TopsInSAR from iscesys.Component.Application import Application from isceobj.Util.decorators import use_api logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf')) logger = logging.getLogger('isce.insar') WINDOW_SIZE_WIDTH = Application.Parameter( 'winwidth', public_name='Ampcor window width', default=32, type=int, mandatory=False, doc='Ampcor main window size width. Used in runDenseOffsets.') WINDOW_SIZE_HEIGHT = Application.Parameter( 'winhgt', public_name='Ampcor window height', default=32, type=int, mandatory=False, doc='Ampcor main window size height. Used in runDenseOffsets.') SEARCH_WINDOW_WIDTH = Application.Parameter( 'srcwidth', public_name='Ampcor search window width',
import iscesys from iscesys.Component.Application import Application from iscesys.Compatibility import Compatibility from iscesys.Component.Configurable import SELF from isceobj import TopsProc from isceobj.Util.decorators import use_api logging.config.fileConfig( os.path.join(os.environ['ISCE_HOME'], 'defaults', 'logging', 'logging.conf')) logger = logging.getLogger('isce.insar') SENSOR_NAME = Application.Parameter('sensorName', public_name='sensor name', default='SENTINEL1', type=str, mandatory=True, doc="Sensor name") DO_ESD = Application.Parameter('doESD', public_name='do ESD', default=True, type=bool, mandatory=False, doc='Perform ESD estimation') DO_DENSE_OFFSETS = Application.Parameter('doDenseOffsets', public_name='do dense offsets', default=False, type=bool, mandatory=False,
# regulations. User has the responsibility to obtain export licenses, or other # export authority as may be required before exporting such information to # foreign countries or providing access to foreign persons. # # Installation and use of this software is restricted by a license agreement # between the licensee and the California Institute of Technology. It is the # User's responsibility to abide by the terms of the license agreement. # # Author: Kosal Khun #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from iscesys.Component.Application import Application SENSOR_NAME = Application.Parameter('sensorName', public_name='sensor name', default=None, type=str, mandatory=True, doc="Sensor name") PEG_LAT = Application.Parameter('pegLat', public_name='peg latitude (deg)', default=None, type='float', mandatory=False, doc='Peg Latitude in degrees') PEG_LON = Application.Parameter('pegLon', public_name='peg longitude (deg)', default=None, type='float', mandatory=False, doc='Peg Longitude in degrees') PEG_HDG = Application.Parameter('pegHdg',
#!/usr/bin/env python3 from __future__ import print_function from __future__ import absolute_import import isce from iscesys.Component.Application import Application NAME = Application.Parameter( 'name', public_name='name to use in greeting', default='World', type=str, mandatory=False, doc="Name you want to be called when greeted by the code.") LANGUAGE = Application.Parameter( 'language', public_name='language to use in greeting', default='English', type=str, mandatory=False, doc="language you want to be used when greeted by the code.") class Greeter(Application): parameter_list = (NAME, LANGUAGE) def _facilities(self): self.greeting = self.facility('greeting',
# # Author: Cunren Liang # Copyright 2015-present, NASA-JPL/Caltech # import isce import isceobj import iscesys from iscesys.Component.Application import Application DATA_DIR = Application.Parameter('dataDir', public_name='data directory', default=None, type=str, mandatory=False, doc="directory of data, where data of each date are in an individual directory") FRAMES = Application.Parameter('frames', public_name = 'frames', default = None, type=str, container=list, mandatory=False, doc = 'frames to process') POLARIZATION = Application.Parameter('polarization', public_name='polarization', default='HH', type=str,