本文整理汇总了Python中CANON.CANONLoader.loadDorado方法的典型用法代码示例。如果您正苦于以下问题:Python CANONLoader.loadDorado方法的具体用法?Python CANONLoader.loadDorado怎么用?Python CANONLoader.loadDorado使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CANON.CANONLoader
的用法示例。
在下文中一共展示了CANONLoader.loadDorado方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import loadDorado [as 别名]
cl.process_command_line()
if cl.args.test:
cl.stride = 100
elif cl.args.stride:
cl.stride = cl.args.stride
cl.loadM1()
cl.loadL_662a()
cl.load_NPS34a()
cl.load_slocum_nemesis()
cl.load_wg_Tiny()
cl.load_wg_Sparky()
cl.load_oa1()
cl.load_oa2()
cl.loadDorado(startdate, enddate, build_attrs=True)
cl.loadLRAUV('daphne', startdate, enddate)
cl.loadLRAUV('makai', startdate, enddate)
##cl.loadRCuctd() ## not in this campaign
##cl.loadRCpctd() ## not in this campaign
cl.loadWFuctd()
cl.loadWFpctd()
#cl.loadSubSamples() ## no subSamples yet...
# Add any X3D Terrain information specified in the constructor to the database - must be done after a load is executed
cl.addTerrainResources()
print("All Done.")
示例2:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import loadDorado [as 别名]
else:
cl.stride = cl.args.stride
cl.loadM1()
cl.loadLRAUV('tethys', startdate, enddate)
cl.loadLRAUV('aku', startdate, enddate)
cl.loadLRAUV('ahi', startdate, enddate)
cl.loadLRAUV('opah', startdate, enddate)
cl.loadL_662()
##cl.load_NPS29()
##cl.load_NPS34()
##cl.load_UCSC294()
##cl.load_UCSC260()
cl.load_wg_Tiny()
cl.load_oa1()
cl.load_oa2()
cl.loadDorado()
cl.loadRCuctd()
cl.loadRCpctd()
##cl.loadWFuctd()
##cl.loadWFpctd()
cl.loadSubSamples()
# Add any X3D Terrain information specified in the constructor to the database - must be done after a load is executed
cl.addTerrainResources()
print("All Done.")
示例3:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import loadDorado [as 别名]
if cl.args.test:
cl.load_roms_spray(stride=10)
cl.load_roms_sg621(stride=10)
cl.loadL_662(stride=100)
##cl.load_NPS29(stride=10)
cl.load_NPS34(stride=10)
#cl.load_UCSC294(stride=10)
#cl.load_UCSC260(stride=10)
##cl.load_wg_tex(stride=10)
##cl.load_wg_oa(stride=10)
cl.load_wg_Tiny(stride=10)
cl.loadDorado(stride=10)
#cl.loadDaphne(stride=100)
cl.loadTethys(stride=10)
cl.loadMakai(stride=10)
#cl.loadRCuctd(stride=10)
#cl.loadRCpctd(stride=10)
##cl.loadJMuctd(stride=10)
##cl.loadJMpctd(stride=10)
##cl.loadWFuctd(stride=10)
##cl.loadWFpctd(stride=10)
cl.loadM1(stride=5)
cl.load_oa1(stride=10)
cl.load_oa2(stride=10)
示例4:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import loadDorado [as 别名]
cl.dorado_base = 'http://dods.mbari.org/opendap/data/auvctd/surveys/2010/netcdf/'
cl.dorado_files = [ 'Dorado389_2010_257_01_258_04_decim.nc',
'Dorado389_2010_258_05_258_08_decim.nc',
'Dorado389_2010_259_00_259_03_decim.nc',
'Dorado389_2010_260_00_260_00_decim.nc',
'Dorado389_2010_261_00_261_00_decim.nc',
]
cl.dorado_parms = [ 'temperature', 'oxygen', 'nitrate', 'bbp420', 'bbp700',
'fl700_uncorr', 'salinity', 'biolume',
'sepCountList', 'mepCountList',
]
# Execute the load
cl.process_command_line()
if cl.args.test:
cl.loadDorado(stride=100)
elif cl.args.optimal_stride:
cl.loadDorado(stride=2)
else:
cl.loadDorado(stride=cl.args.stride)
# Add any X3D Terrain information specified in the constructor to the database - must be done after a load is executed
cl.addTerrainResources()
print "All Done."
示例5:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import loadDorado [as 别名]
'2013_SIMZ_Niskins_STOQS.csv',
'2013_SIMZ_TowNets_STOQS.csv',
]
# Produce parent samples file with:
# cd loaders/MolecularEcology/SIMZOct2013
# ../../nettow.py --database stoqs_simz_oct2013 --subsampleFile 2013_SIMZ_TowNets_STOQS.csv --csvFile 2013_SIMZ_TowNet_ParentSamples.csv -v
cl.parent_nettow_file = '2013_SIMZ_TowNet_ParentSamples.csv'
# Execute the load
cl.process_command_line()
if cl.args.test:
##cl.loadL_662(stride=1)
cl.loadDorado(stride=100)
cl.loadRCuctd(stride=100)
cl.loadRCpctd(stride=1)
cl.loadM1(stride=10)
cl.loadParentNetTowSamples()
cl.loadSubSamples()
elif cl.args.optimal_stride:
##cl.loadL_662(stride=1)
cl.loadDorado(stride=1)
cl.loadRCuctd(stride=1)
cl.loadRCpctd(stride=1)
cl.loadM1(stride=1)
cl.loadParentNetTowSamples()
cl.loadSubSamples()