当前位置: 首页>>代码示例>>Python>>正文


Python CANONLoader.l_662_endDatetime方法代码示例

本文整理汇总了Python中CANON.CANONLoader.l_662_endDatetime方法的典型用法代码示例。如果您正苦于以下问题:Python CANONLoader.l_662_endDatetime方法的具体用法?Python CANONLoader.l_662_endDatetime怎么用?Python CANONLoader.l_662_endDatetime使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CANON.CANONLoader的用法示例。


在下文中一共展示了CANONLoader.l_662_endDatetime方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: loadLRAUV

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_endDatetime [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 = [
                     'wgTiny/20170109/QC/20170109_QC.nc',
开发者ID:danellecline,项目名称:stoqs,代码行数:33,代码来源:loadCANON_os2017.py

示例2:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_endDatetime [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[:])
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:32,代码来源:gliders_loadsep2013.py

示例3:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_endDatetime [as 别名]
#                     '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'
                      ]
cl.wfuctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'wetstar' ]
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:33,代码来源:loadCANON_september2011_testing_duane.py

示例4:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_endDatetime [as 别名]
                        '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)
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:32,代码来源:loadCANON_april2014.py

示例5:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import l_662_endDatetime [as 别名]
                     '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' ]

开发者ID:StevenLudwig,项目名称:stoqs,代码行数:31,代码来源:loadCANON_september2011.py


注:本文中的CANON.CANONLoader.l_662_endDatetime方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。