本文整理汇总了Python中CANON.CANONLoader.l_662_startDatetime方法的典型用法代码示例。如果您正苦于以下问题:Python CANONLoader.l_662_startDatetime方法的具体用法?Python CANONLoader.l_662_startDatetime怎么用?Python CANONLoader.l_662_startDatetime使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CANON.CANONLoader
的用法示例。
在下文中一共展示了CANONLoader.l_662_startDatetime方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: loadLRAUV
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
# Use the default parameters provided by loadLRAUV() calls below
######################################################################
# GLIDERS
######################################################################
# Glider data files from CeNCOOS thredds server
# L_662
cl.l_662_base = 'http://legacy.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.l_662_files = [
'OS_Glider_L_662_20161214_TS.nc',
'OS_Glider_L_662_20170328_TS.nc' ]
# Begining with OS_Glider_L_662_20170328_TS variable names became: 'temperature', 'salinity', 'fluorescence'
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2', 'temperature', 'salinity', 'fluorescence']
cl.l_662_startDatetime = startdate
cl.l_662_endDatetime = enddate
######################################################################
# Wavegliders
######################################################################
# WG Tex - All instruments combined into one file - one time coordinate
##cl.wg_tex_base = cl.dodsBase + 'CANON_september2013/Platforms/Gliders/WG_Tex/final/'
##cl.wg_tex_files = [ 'WG_Tex_all_final.nc' ]
##cl.wg_tex_parms = [ 'wind_dir', 'wind_spd', 'atm_press', 'air_temp', 'water_temp', 'sal', 'density', 'bb_470', 'bb_650', 'chl' ]
##cl.wg_tex_startDatetime = startdate
##cl.wg_tex_endDatetime = enddate
# WG Tiny - All instruments combined into one file - one time coordinate
cl.wg_Tiny_base = 'http://dods.mbari.org/opendap/data/waveglider/deployment_data/'
cl.wg_Tiny_files = [
示例2:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
######################################################################
# Set start and end dates for all glider loads
# startdate is 24hours from now
ts=time.time()-(12.2*60*60)
st=datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M')
t=time.strptime(st,"%Y-%m-%d %H:%M")
#t =time.strptime("2013-09-03 20:01", "%Y-%m-%d %H:%M")
startdate=t[:6]
t =time.strptime("2013-10-31 10:37", "%Y-%m-%d %H:%M")
enddate=t[:6]
print startdate, enddate
# SPRAY glider - for just the duration of the campaign
cl.l_662_base = 'http://www.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.l_662_files = ['OS_Glider_L_662_20130711_TS.nc']
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
cl.l_662_startDatetime = datetime.datetime(*startdate[:])
cl.l_662_endDatetime = datetime.datetime(*enddate[:])
# NPS34
cl.nps34_base = 'http://www.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.nps34_files = [ 'OS_Glider_NPS_G34_20130829_TS.nc']
cl.nps34_parms = ['TEMP', 'PSAL']
cl.nps34_startDatetime = datetime.datetime(*startdate[:])
cl.nps34_endDatetime = datetime.datetime(*enddate[:])
# NPS29
cl.nps29_base = 'http://www.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.nps29_files = [ 'OS_Glider_NPS_G29_20130829_TS.nc']
cl.nps29_parms = ['TEMP', 'PSAL', 'FLU2']
cl.nps29_startDatetime = datetime.datetime(*startdate[:])
cl.nps29_endDatetime = datetime.datetime(*enddate[:])
示例3:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
'OS_Glider_HeHaPe_20130305_TS.nc',
'OS_Glider_HeHaPe_20130310_TS.nc',
]
cl.hehape_parms = [ 'TEMP', 'PSAL', 'BB532', 'CDOM', 'CHLA', 'DENS' ]
cl.rusalka_base = cl.dodsBase + 'CANON/2014_Apr/Platforms/Gliders/USC/'
cl.rusalka_files = [
'GliderRusalka.nc',
]
cl.rusalka_parms = ['temperature', 'chlorophyll', 'bb532']
# Spray glider - for just the duration of the campaign
cl.l_662_base = 'http://www.cencoos.org/thredds/dodsC/glider/'
cl.l_662_files = ['OS_Glider_L_662_20120816_TS.nc']
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
cl.l_662_startDatetime = datetime.datetime(2012, 9, 10)
cl.l_662_endDatetime = datetime.datetime(2012, 9, 20)
# MBARI ESPs Mack and Bruce
cl.espmack_base = cl.dodsBase + 'CANON_march2013/esp/instances/Mack/data/processed/'
cl.espmack_files = [
'ctd.nc',
]
cl.espmack_parms = [ 'TEMP', 'PSAL', 'chl', 'chlini', 'no3' ]
# Spray glider - for just the duration of the campaign
##cl.l_662_base = 'http://www.cencoos.org/thredds/dodsC/glider/'
##cl.l_662_files = ['OS_Glider_L_662_20120816_TS.nc']
##cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
##cl.l_662_startDatetime = datetime.datetime(2012, 9, 1)
##cl.l_662_endDatetime = datetime.datetime(2012, 9, 21)
示例4:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
# 'Dorado389_2011_250_01_250_01_decim.nc'
# 'Dorado389_2011_255_00_255_00_decim.nc' ]
# already loaded dorado file 249
# special location for spray glider data
# Spray glider - for just the duration of the campaign
cl.l_662_base = 'http://www.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.l_662_files = [#'OS_Glider_L_662_20110915_TS.nc',
#'OS_Glider_L_662_20120816_TS.nc',
'OS_Glider_L_662_20130711_TS.nc']
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
#cl.l_662_startDatetime = datetime.datetime(2011, 9, 15)
#cl.l_662_endDatetime = datetime.datetime(2012, 1, 04)
cl.l_662_startDatetime = datetime.datetime(2013, 7, 16) #already loaded 7-11 to 7-15
cl.l_662_endDatetime = datetime.datetime(2013, 8, 16)
cl.wfuctd_base = cl.dodsBase + 'CANON_september2011/wf/uctd/'
cl.wfuctd_files = [
'24211WF01.nc',
'27211WF01.nc',
'27411WF01.nc',
'27511WF01.nc',
'27711WF01.nc',
'27811WF01.nc',
'27911wf01.nc',
'28011wf01.nc',
'28111wf01.nc',
'28211wf01.nc'
]
示例5:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
'Dorado389_2013_224_02_224_02_decim.nc', 'Dorado389_2013_225_00_225_00_decim.nc',
'Dorado389_2013_225_01_225_01_decim.nc', 'Dorado389_2013_226_01_226_01_decim.nc',
'Dorado389_2013_226_03_226_03_decim.nc', 'Dorado389_2013_227_00_227_00_decim.nc',
'Dorado389_2013_227_01_227_01_decim.nc', 'Dorado389_2013_228_00_228_00_decim.nc',
'Dorado389_2013_228_01_228_01_decim.nc',
]
cl.dorado_parms = [ 'temperature', 'oxygen', 'nitrate', 'bbp420', 'bbp700',
'fl700_uncorr', 'salinity', 'biolume',
'roll', 'pitch', 'yaw',
'sepCountList', 'mepCountList' ]
# Spray glider - for just the duration of the campaign
cl.l_662_base = 'http://legacy.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.l_662_files = ['OS_Glider_L_662_20130711_TS.nc']
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
cl.l_662_startDatetime = datetime.datetime(2013, 8, 10)
cl.l_662_endDatetime = datetime.datetime(2013, 8, 17)
# Rachel Carson Underway CTD
cl.rcuctd_base = cl.dodsBase + 'SIMZ/2013_Aug/carson/uctd/'
cl.rcuctd_files = [
'simz2013plm01.nc', 'simz2013plm02.nc', 'simz2013plm03.nc', 'simz2013plm04.nc',
'simz2013plm05.nc',
]
cl.rcuctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'wetstar' ]
# Rachel Carson Profile CTD
cl.pctdDir = 'SIMZ/2013_Aug/carson/pctd/'
cl.rcpctd_base = cl.dodsBase + cl.pctdDir
cl.rcpctd_files = [
示例6:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_startDatetime [as 别名]
'Dorado389_2011_263_00_263_00_decim.nc',
'Dorado389_2011_264_00_264_00_decim.nc',
'Dorado389_2011_285_01_285_01_decim.nc',
'Dorado389_2011_286_00_286_00_decim.nc',
]
# special location for spray glider data
# Spray glider - for just the duration of the campaign
cl.l_662_base = 'http://legacy.cencoos.org/thredds/dodsC/gliders/Line66/'
cl.l_662_files = ['OS_Glider_L_662_20110915_TS.nc',
]
cl.l_662_parms = ['TEMP', 'PSAL', 'FLU2']
cl.l_662_startDatetime = datetime.datetime(2011, 9, 15)
cl.l_662_endDatetime = datetime.datetime(2011, 9, 30)
# western flyer underway ctd
#added to test functionality
cl.wfuctd_base = cl.dodsBase + 'CANON_september2012/wf/uctd/'
cl.wfuctd_files = [
'c0912m01.nc', 'c0912m02.nc', 'c0912m03.nc', 'c0912m04.nc', 'c0912m05.nc', 'c0912m06.nc',
'c0912m07.nc', 'c0912m08.nc', 'c0912m09.nc', 'c0912m10.nc', 'c0912m11.nc', 'c0912m12.nc',
'c0912m13.nc', 'c0912m14.nc', 'c0912m15.nc', 'c0912m16.nc', 'c0912m17.nc', 'c0912m18.nc',
'c0912m19.nc',
]
cl.wfuctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'wetstar' ]