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


Python CANONLoader.m1_startDatetime方法代码示例

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


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

示例1:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
# - Trajectory
cl.dorado_base = 'http://dods.mbari.org/opendap/data/auvctd/surveys/2010/netcdf/'
cl.dorado_files = [ 'Dorado389_2010_300_00_300_00_decim.nc' ]
cl.dorado_parms = [ 'temperature', 'oxygen', 'nitrate', 'bbp420', 'bbp700', 
                    'fl700_uncorr', 'salinity', 'biolume', 'roll', 'pitch', 'yaw',
                    'sepCountList', 'mepCountList']

# - TimeSeries and TimeSeriesProfile
cl.m1_base = 'http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/'
cl.m1_files = [ '201010/OS_M1_20101027hourly_CMSTV.nc',
                '201010/m1_hs2_20101027.nc',
              ]
cl.m1_parms = [ 'northward_sea_water_velocity_HR', 'SEA_WATER_SALINITY_HR', 
                'AIR_TEMPERATURE_HR', 'bb470', 'fl676'
              ]
cl.m1_startDatetime = datetime.datetime(2010, 10, 27)
cl.m1_endDatetime = datetime.datetime(2010, 10, 29)

# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/GOC12/ copied to local GOC12 dir
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../stoqs/tests')
cl.subsample_csv_files = ['Dorado_2010_300_Bogus_Samples.csv']


# Execute the load
cl.process_command_line()

if cl.args.test:
    cl.loadDorado(stride=100)
    cl.loadM1(stride=10)
    cl.loadSubSamples()
开发者ID:StevenLudwig,项目名称:stoqs,代码行数:32,代码来源:loadTestData.py

示例2:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
##cl.wg_oa_startDatetime = startdate
##cl.wg_oa_endDatetime = enddate

######################################################################
#  MOORINGS
######################################################################
cl.m1_base = 'http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/'
cl.m1_files = [
  '201708/OS_M1_20170808hourly_CMSTV.nc',]
cl.m1_parms = [
  'eastward_sea_water_velocity_HR', 'northward_sea_water_velocity_HR',
  'SEA_WATER_SALINITY_HR', 'SEA_WATER_TEMPERATURE_HR', 'SW_FLUX_HR', 'AIR_TEMPERATURE_HR',
  'EASTWARD_WIND_HR', 'NORTHWARD_WIND_HR', 'WIND_SPEED_HR'
]

cl.m1_startDatetime = startdate
cl.m1_endDatetime = enddate

# Mooring 0A1
cl.oa1_base = 'http://dods.mbari.org/opendap/data/oa_moorings/deployment_data/OA1/201607/realTime/'
cl.oa1_files = [
               'OA1_201607.nc'
               ]
cl.oa1_parms = [
               'wind_dir', 'avg_wind_spd', 'atm_press', 'air_temp', 'water_temp',
               'sal', 'O2_conc', 'chl', 'pCO2_water', 'pCO2_air', 'pH',
               ]
cl.oa1_startDatetime = startdate
cl.oa1_endDatetime = enddate

# Mooring 0A2
开发者ID:danellecline,项目名称:stoqs,代码行数:33,代码来源:loadCANON_may2018.py

示例3:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
cl.martin_base = cl.dodsBase + 'CANON_september2013/Platforms/Ships/Western_Flyer/uctd/' 
cl.martin_parms = ['TEMP', 'PSAL', 'xmiss', 'wetstar' ]
cl.martin_files = [ '27710c01jm.nc',   '27910c06jm.nc',   '28410c02jm.nc',   '28710c03jm.nc',   '29810c01jm.nc',
                  ]

######################################################################
#  MOORINGS
######################################################################
# Mooring M1 Combined file produced by DPforSSDS processing - for just the duration of the campaign
cl.m1_base = 'http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/201010/'
cl.m1_files = ['OS_M1_20101027hourly_CMSTV.nc']
cl.m1_parms = [ 'eastward_sea_water_velocity_HR', 'northward_sea_water_velocity_HR',
                     'SEA_WATER_SALINITY_HR', 'SEA_WATER_TEMPERATURE_HR', 'SW_FLUX_HR', 'AIR_TEMPERATURE_HR',
                     'EASTWARD_WIND_HR', 'NORTHWARD_WIND_HR', 'WIND_SPEED_HR'
                   ]
cl.m1_startDatetime = datetime.datetime(*startdate[:])
cl.m1_endDatetime = datetime.datetime(*enddate[:])


# Mooring OA1 CTD
cl.oaDir = 'CANON_september2013/Platforms/Moorings/OA_1/'
cl.OA1ctd_base = cl.dodsBase + cl.oaDir
cl.OA1ctd_files = ['OA1_ctd_2013.nc']
cl.OA1ctd_parms = ['TEMP', 'PSAL', 'conductivity' ]
cl.OA1ctd_startDatetime = datetime.datetime(*startdate[:])
cl.OA1ctd_endDatetime = datetime.datetime(*enddate[:])
# Mooring OA1 MET
cl.OA1met_base = cl.dodsBase + cl.oaDir
cl.OA1met_files = ['OA1_met_2013.nc']
cl.OA1met_parms = ['Wind_direction','Wind_speed','Air_temperature','Barometric_pressure']
cl.OA1met_startDatetime = datetime.datetime(*startdate[:])
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:33,代码来源:loadsep2013.py

示例4:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
# Mooring M1 Combined file produced by DPforSSDS processing - for just the duration of the campaign
cl.m1_base = "http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/201202/"
cl.m1_files = ["OS_M1_20120222hourly_CMSTV.nc"]
cl.m1_parms = [
    "eastward_sea_water_velocity_HR",
    "northward_sea_water_velocity_HR",
    "SEA_WATER_SALINITY_HR",
    "SEA_WATER_TEMPERATURE_HR",
    "SW_FLUX_HR",
    "AIR_TEMPERATURE_HR",
    "EASTWARD_WIND_HR",
    "NORTHWARD_WIND_HR",
    "WIND_SPEED_HR",
]
cl.m1_startDatetime = datetime.datetime(2012, 9, 15)  # Good data starts on the 15th
cl.m1_endDatetime = datetime.datetime(2012, 9, 21)

# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/C0912/ copied to local BOG_Data dir
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), "BOG_Data/C0912/")
cl.subsample_csv_files = [
    "STOQS_C0912_ALTIMETER.csv",
    "STOQS_C0912_CARBON_GFF.csv",
    "STOQS_C0912_CHL_1U.csv",
    "STOQS_C0912_CHL_5U.csv",
    "STOQS_C0912_CHLA.csv",
    "STOQS_C0912_CHL_GFF.csv",
    "STOQS_C0912_COND2.csv",
    "STOQS_C0912_CONDUCT.csv",
    "STOQS_C0912_FLUOR.csv",
    "STOQS_C0912_NH4.csv",
开发者ID:livyliv83,项目名称:stoqs,代码行数:32,代码来源:loadCANON_september2012.py

示例5:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
                    'simz2013c01.nc', 'simz2013c02.nc', 'simz2013c03.nc', 'simz2013c04.nc',
                    'simz2013c05.nc', 'simz2013c06.nc', 'simz2013c07.nc', 'simz2013c08.nc',
                    'simz2013c09.nc', 'simz2013c10.nc', 'simz2013c11.nc', 'simz2013c12.nc',
                    'simz2013c13.nc', 'simz2013c14.nc', 'simz2013c15.nc', 'simz2013c16.nc',
                    'simz2013c17.nc', 'simz2013c18.nc',
                      ]
cl.rcpctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'wetstar', 'oxygen' ]

# Mooring M1 Combined file produced by DPforSSDS processing - for just the duration of the campaign
cl.m1_base = 'http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/201202/'
cl.m1_files = ['OS_M1_20120222hourly_CMSTV.nc']
cl.m1_parms = [ 'eastward_sea_water_velocity_HR', 'northward_sea_water_velocity_HR', 
                     'SEA_WATER_SALINITY_HR', 'SEA_WATER_TEMPERATURE_HR', 'SW_FLUX_HR', 'AIR_TEMPERATURE_HR', 
                     'EASTWARD_WIND_HR', 'NORTHWARD_WIND_HR', 'WIND_SPEED_HR'
                   ]
cl.m1_startDatetime = datetime.datetime(2013, 8, 12)
cl.m1_endDatetime = datetime.datetime(2013, 8, 19)
cl.m1_nominaldepth = 0.0

# SubSample data files received from Julio in email and copied to local directory
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'SIMZAug2013')
cl.subsample_csv_files = [
                            '2013_Aug_SIMZ_Niskin_microscopy_STOQS.csv',
                            '2013_SIMZ_AUV_STOQS.csv',
                            '2013_SIMZ_Niskins_STOQS.csv',
                            '2013_SIMZ_TowNets_STOQS.csv',
                            'SIMZ_2013_PPump_STOQS_tidy_v2.csv',
                         ]

# Produce parent samples file with:
# cd loaders/MolecularEcology/SIMZAug2013
开发者ID:StevenLudwig,项目名称:stoqs,代码行数:33,代码来源:loadSIMZ_aug2013.py

示例6:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
                                        'speed': '1',
                                    }
                    },
                    grdTerrain = os.path.join(parentDir, 'Monterey25.grd')
                  )

# default location of thredds and dods data:
cl.tdsBase = 'http://odss.mbari.org/thredds/'
cl.dodsBase = cl.tdsBase + 'dodsC/'

######################################################################
#  MOORINGS
######################################################################
# Set beginning start and end dates for this campaign - if this script is to be run regularly from cron to add new
# data to STOQS then use the --append option to append new data.  Do not change these values.
cl.m1_startDatetime = datetime.datetime(2014, 9, 1)
cl.m1_endDatetime  = datetime.datetime(2014, 10, 12)

# Mooring M1 Combined file produced by DPforSSDS processing - for just the duration of the campaign
cl.m1_base = 'http://dods.mbari.org/opendap/hyrax/data/ssdsdata/deployments/m1/201407/'
cl.m1_files = ['OS_M1_20140716hourly_CMSTV.nc']
cl.m1_parms = [ 'SW_FLUX_HR', 'AIR_TEMPERATURE_HR', 'EASTWARD_WIND_HR', 'NORTHWARD_WIND_HR', 'WIND_SPEED_HR',
                'SEA_WATER_SALINITY_HR', 'SEA_WATER_TEMPERATURE_HR',
                'eastward_sea_water_velocity_HR', 'northward_sea_water_velocity_HR' ]

cl.process_command_line()

if cl.args.test:
    cl.loadM1(stride=10)

elif cl.args.optimal_stride:
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:33,代码来源:m1_loadsep2014.py

示例7: datetime

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_startDatetime [as 别名]
# AUV
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',
                    'roll', 'pitch', 'yaw',
                  ]
# Moorings
cl.m1_startDatetime = datetime(2010, 9, 8)
cl.m1_endDatetime = datetime(2010, 9, 21)
cl.m1_base = 'http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/200910/'
cl.m1_files = [ 
                'OS_M1_20091020hourly_CMSTV.nc',
                'm1_hs2_20091020.nc',
                ] 
cl.m1_parms = [
                'eastward_sea_water_velocity_HR', 'northward_sea_water_velocity_HR',
                'SEA_WATER_SALINITY_HR', 'SEA_WATER_TEMPERATURE_HR', 'SW_FLUX_HR', 'AIR_TEMPERATURE_HR',
                'EASTWARD_WIND_HR', 'NORTHWARD_WIND_HR', 'WIND_SPEED_HR',
                'bb470', 'bb676', 'fl676'
              ]

cl.m2_startDatetime = datetime(2010, 9, 8)
cl.m2_endDatetime = datetime(2010, 9, 21)
开发者ID:danellecline,项目名称:stoqs,代码行数:32,代码来源:loadCANON_september2010.py


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