本文整理汇总了Python中pyon.util.containers.DotDict.scenario方法的典型用法代码示例。如果您正苦于以下问题:Python DotDict.scenario方法的具体用法?Python DotDict.scenario怎么用?Python DotDict.scenario使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyon.util.containers.DotDict
的用法示例。
在下文中一共展示了DotDict.scenario方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: preload
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload(self):
config = DotDict()
config.op = 'load'
config.scenario='BETA'
config.categories='Parser,Reference'
config.path='master'
self.container.spawn_process('ion_loader', 'ion.processes.bootstrap.ion_loader','IONLoader',config)
示例2: lc_preload
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def lc_preload(self):
config = DotDict()
config.op = 'load'
config.scenario = 'BASE,LC_TEST'
config.categories = 'ParameterFunctions,ParameterDefs,ParameterDictionary'
config.path = 'res/preload/r2_ioc'
self.container.spawn_process('preload','ion.processes.bootstrap.ion_loader','IONLoader', config)
示例3: preload_units
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload_units(self):
config = DotDict()
config.op = 'load'
config.attachments = "res/preload/r2_ioc/attachments"
config.scenario = 'LC_UNITS'
config.categories='ParameterFunctions,ParameterDefs,ParameterDictionary'
config.path = 'master'
self.container.spawn_process('preloader', 'ion.processes.bootstrap.ion_loader', 'IONLoader', config)
示例4: preload_tmpsf
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload_tmpsf(self):
config = DotDict()
config.op = 'load'
config.loadui=True
config.ui_path = "http://userexperience.oceanobservatories.org/database-exports/Candidates"
config.attachments = "res/preload/r2_ioc/attachments"
config.scenario = 'BETA,TMPSF'
#config.categories='ParameterFunctions,ParameterDefs,ParameterDictionary'
self.container.spawn_process('preloader', 'ion.processes.bootstrap.ion_loader', 'IONLoader', config)
示例5: preload_vel3d_cd
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload_vel3d_cd(self):
config = DotDict()
config.op = 'load'
config.loadui=True
config.ui_path = "http://userexperience.oceanobservatories.org/database-exports/Candidates"
config.attachments = "res/preload/r2_ioc/attachments"
config.scenario = 'BETA,VEL3D_C'
config.path = 'master'
self.container.spawn_process('preloader', 'ion.processes.bootstrap.ion_loader', 'IONLoader', config)
示例6: preload_example2
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload_example2(self):
config = DotDict()
config.op = 'load'
config.loadui=True
config.ui_path = "http://userexperience.oceanobservatories.org/database-exports/Candidates"
config.attachments = "res/preload/r2_ioc/attachments"
config.scenario = 'BETA,EXAMPLE2'
config.path = 'master'
#config.categories='ParameterFunctions,ParameterDefs,ParameterDictionary,StreamDefinition,DataProduct'
self.container.spawn_process('preloader', 'ion.processes.bootstrap.ion_loader', 'IONLoader', config)
示例7: preload_ctdgv
# 需要导入模块: from pyon.util.containers import DotDict [as 别名]
# 或者: from pyon.util.containers.DotDict import scenario [as 别名]
def preload_ctdgv(self):
config = DotDict()
config.op = 'load'
config.loadui=True
config.ui_path = "http://userexperience.oceanobservatories.org/database-exports/Candidates"
config.attachments = "res/preload/r2_ioc/attachments"
config.scenario = 'BETA,GLIDER,CTDGV,CTDGV01'
config.path = 'master'
#config.categories='ParameterFunctions,ParameterDefs,ParameterDictionary,StreamDefinition,DataProduct'
self.container.spawn_process('preloader', 'ion.processes.bootstrap.ion_loader', 'IONLoader', config)
self.container.spawn_process('agentctrl', 'ion.agents.agentctrl', 'AgentControl', {'op':'load', 'instrument':'CTDGV'})