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


Python CANONLoader.subsample_csv_files方法代码示例

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


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

示例1:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
##cl.mack_moor_parms = [ 'TEMP','PSAL','chl','xmiss','oxygen','beamc',
##                   ]
##cl.mack_moor_startDatetime = startdate
##cl.mack_moor_endDatetime = enddate

###################################################################################################
# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/ 
#                                   18815 and 21515
#   copied to local BOG_Data/CANON_OS2105 dir
###################################################################################################
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'BOG_Data/CANON_OS2015/')
cl.subsample_csv_files = [
    'STOQS_18815_CARBON_GFF.csv', 'STOQS_18815_CHLA.csv', 'STOQS_18815_CHL_1U.csv', 'STOQS_18815_CHL_5U.csv',
    'STOQS_18815_CHL_GFF.csv', 'STOQS_18815_NO2.csv', 'STOQS_18815_NO3.csv', 'STOQS_18815_PHAEO_1U.csv',
    'STOQS_18815_PHAEO_5U.csv', 'STOQS_18815_PHAEO_GFF.csv', 'STOQS_18815_PO4.csv', 'STOQS_18815_SIO4.csv',

    'STOQS_21515_CARBON_GFF.csv', 'STOQS_21515_CHLA.csv', 'STOQS_21515_CHL_1U.csv', 'STOQS_21515_CHL_5U.csv',
    'STOQS_21515_CHL_GFF.csv', 'STOQS_21515_NO2.csv', 'STOQS_21515_NO3.csv', 'STOQS_21515_PHAEO_1U.csv',
    'STOQS_21515_PHAEO_5U.csv', 'STOQS_21515_PHAEO_GFF.csv','STOQS_21515_PO4.csv', 'STOQS_21515_SIO4.csv',

                          ]

###################################################################################################################

# Execute the load 
cl.process_command_line()

if cl.args.test:

    cl.load_roms_spray(stride=10)
    cl.load_roms_sg621(stride=10)
    cl.loadL_662(stride=100) 
开发者ID:carueda,项目名称:stoqs,代码行数:34,代码来源:loadCANON_september2016.py

示例2:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
cl.wfpctd_base = cl.dodsBase + 'Other/routine/Platforms/Ships/WesternFlyer/pctd/'
cl.wfpctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'ecofl', 'oxygen' ]
cl.wfpctd_files = [
                  'canon17sc01.nc',
                  ]

###################################################################################################
# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/
#   copied to local BOG_Data/CANON_OS2107 dir
###################################################################################################
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'BOG_Data/CANON_OS2017/bctd/')
cl.subsample_csv_files = [
##   'STOQS_00917_OXY_PS.csv',
##   'STOQS_00917_CARBON_GFF.csv',
##   'STOQS_00917_CHL_1U.csv',    'STOQS_00917_FLUOR.csv',
##   'STOQS_00917_CHL_5U.csv', 'STOQS_00917_NH4.csv', 'STOQS_00917_PHAEO_1U.csv',
##   'STOQS_00917_CHLA.csv', 'STOQS_00917_O2.csv', 'STOQS_00917_PHAEO_5U.csv',
##   'STOQS_00917_CHL_GFF.csv',
##   'STOQS_00917_PHAEO_GFF.csv',
                       ]

# Execute the load
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()
开发者ID:danellecline,项目名称:stoqs,代码行数:33,代码来源:loadCANON_may2018.py

示例3:

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

elif cl.args.optimal_stride:
    cl.loadDorado(stride=2)
    cl.loadM1(stride=1)
    cl.loadSubSamples()
开发者ID:StevenLudwig,项目名称:stoqs,代码行数:32,代码来源:loadTestData.py

示例4:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [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/201309/'
cl.m1_files = ['OS_M1_20130918hourly_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 = startDatetime
cl.m1_endDatetime = endDatetime

# 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__)), 'SIMZOct2013')
cl.subsample_csv_files = [
                            '2013_SIMZ_AUV_STOQS.csv',
                            '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)
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:32,代码来源:loadSIMZ_oct2013.py

示例5:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
                    'GOC12c19.nc', 'GOC12c20.nc', 'GOC12c21.nc', 'GOC12c22.nc', 'GOC12c23.nc', 'GOC12c24.nc', 
                    'GOC12c25.nc', 'GOC12c26.nc', 'GOC12c27.nc', 'GOC12c28.nc', 'GOC12c29.nc', 'GOC12c30.nc', 
                    'GOC12c31.nc', 'GOC12c32.nc', 'GOC12c33.nc', 'GOC12c34.nc', 'GOC12c35.nc', 'GOC12c36.nc', 
                    'GOC12c37.nc', 'GOC12c38.nc', 'GOC12c39.nc', 'GOC12c40.nc', 'GOC12c41.nc'
                  ]
cl.wfpctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'ecofl' ]

# 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__)), 'BOG_Data')
cl.subsample_csv_files = [
                            'STOQS_GOC12_CHL_1U.csv',
                            'STOQS_GOC12_CHL_5U.csv',
                            'STOQS_GOC12_NH4.csv',
                            'STOQS_GOC12_NO2.csv',
                            'STOQS_GOC12_NO3.csv',
                            'STOQS_GOC12_O2.csv',
                            'STOQS_GOC12_PHAEO_1U.csv',
                            'STOQS_GOC12_PHAEO_5U.csv',
                            'STOQS_GOC12_PHAEO_GFF.csv',
                            'STOQS_GOC12_PO4.csv',
                            'STOQS_GOC12_SIO4.csv',
                         ]


# Execute the load
cl.process_command_line()

if cl.args.test:
    cl.loadWFuctd(stride=10)
    cl.loadWFpctd(stride=1)
    cl.loadSubSamples()
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:33,代码来源:loadGOC_february2012.py

示例6:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
#'canon13c34.nc', 'canon13c35.nc', 'canon13c36.nc', 'canon13c37.nc', 'canon13c38.nc', 'canon13c39.nc', 'canon13c40.nc', 'canon13c41.nc',
#'canon13c42.nc', 'canon13c43.nc', 'canon13c44.nc', 'canon13c45.nc', 'canon13c46.nc', 'canon13c48.nc', 'canon13c49.nc', 'canon13c50.nc',
#'canon13c51.nc', 'canon13c52.nc', 'canon13c53.nc', 'canon13c54.nc', 'canon13c55.nc', 'canon13c56.nc', 'canon13c57.nc', 'canon13c58.nc',
#'canon13c59.nc', 'canon13c60.nc', 'canon13c61.nc', 'canon13c62.nc', 'canon13c63.nc', 'canon13c64.nc', 'canon13c65.nc', 'canon13c66.nc',
#'canon13c67.nc', 'canon13c68.nc', 'canon13c69.nc', 'canon13c70.nc', 'canon13c71.nc', 'canon13c72.nc', 'canon13c73.nc', 'canon13c74.nc',
#'canon13c75.nc', 'canon13c76.nc', 'canon13c77.nc', 'canon13c78.nc', 'canon13c79.nc', 'canon13c80.nc', 'canon13c81.nc', 'canon13c82.nc' 
]

# BCTD
# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/GOC12/ copied to local BOG_Data dir
cl.bctdDir = 'CANON_september2013/Platforms/Ships/Western_Flyer/netcdf/bctd/'
cl.subsample_csv_base = cl.dodsBase + cl.bctdDir
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'BOG_Data')
cl.subsample_csv_files = [
                            #'STOQS_canon13_CHL_1U.csv', 'STOQS_canon13_CHL_5U.csv', 'STOQS_canon13_NH4.csv', 'STOQS_canon13_NO2.csv',
                    		#'STOQS_canon13_NO3.csv','STOQS_canon13_OXY_ML.csv', 'STOQS_canon13_PHAEO_1U.csv', 'STOQS_canon13_PHAEO_5U.csv',
                            #'STOQS_canon13_PHAEO_GFF.csv', 'STOQS_canon13_PO4.csv', 'STOQS_canon13_SIO4.csv', #'STOQS_canon13_CARBON_GFF.csv
							#'STOQS_canon13_CHL_GFF.csv',
                         ]

######################################################################
#  RACHEL CARSON: September 16-20? (259-262) Sep 30 - Oct 3
######################################################################
# UCTD
cl.rcuctd_base = cl.dodsBase + 'CANON_september2013/Platforms/Ships/Rachel_Carson/uctd/'
cl.rcuctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'wetstar' ]
cl.rcuctd_files = [ 
                        '07413plm01.nc', '07513plm02.nc', '07613plm03.nc', '07913plm04.nc',
                        '08013plm05.nc', '08113plm06.nc',
                      ]

# PCTD
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:34,代码来源:loadsep2013.py

示例7:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
# this did not work:

#cl.bctdDir = 'CANON_september2011/wf/bctd/'
#cl.subsample_csv_base = cl.dodsBase + cl.bctdDir


# SubSample data files from /mbari/BOG_Archive/ReportsForSTOQS/GOC12/ copied to local BOG_Data dir
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'BOG_Data')
cl.subsample_csv_files = [
                            'STOQS_Canon11_CHL_1U.csv',
                            'STOQS_Canon11_CHL_5U.csv',
                            'STOQS_Canon11_NH4.csv',
                            'STOQS_Canon11_NO2.csv',
                            'STOQS_Canon11_NO3.csv',
                            'STOQS_Canon11_O2.csv',
                            'STOQS_Canon11_PHAEO_1U.csv',
                            'STOQS_Canon11_PHAEO_5U.csv',
                            'STOQS_Canon11_PHAEO_GFF.csv',
                            'STOQS_Canon11_PO4.csv',
                            'STOQS_Canon11_SIO4.csv',
                            'STOQS_Canon11_CARBON_GFF.csv',
                            'STOQS_CANON11_CHL_GFF.csv',
                         ]


# Execute the load
cl.process_command_line()

if cl.args.test:
#    cl.loadDorado(stride=100)
#    cl.loadL_662(stride=100) # done
开发者ID:Brett-Rankin,项目名称:stoqs,代码行数:33,代码来源:loadCANON_september2011_testing_duane.py

示例8:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
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",
    "STOQS_C0912_NO2.csv",
    "STOQS_C0912_NO3.csv",
    "STOQS_C0912_OXY_ML.csv",
    "STOQS_C0912_OXY_PS.csv",
    "STOQS_C0912_PAR4PI.csv",
    "STOQS_C0912_PARCOS.csv",
    "STOQS_C0912_PHAEO_1U.csv",
    "STOQS_C0912_PHAEO_5U.csv",
    "STOQS_C0912_PHAEO_GFF.csv",
    "STOQS_C0912_PO4.csv",
    "STOQS_C0912_POT_TMP2.csv",
    "STOQS_C0912_POT_TMP.csv",
    "STOQS_C0912_SAL2.csv",
    "STOQS_C0912_SAL.csv",
    "STOQS_C0912_SIG_T.csv",
    "STOQS_C0912_SIO4.csv",
    "STOQS_C0912_TEMP2.csv",
    "STOQS_C0912_TMP.csv",
    "STOQS_C0912_TRANSBEAM.csv",
    "STOQS_C0912_TRANSMISS.csv",
]
开发者ID:livyliv83,项目名称:stoqs,代码行数:34,代码来源:loadCANON_september2012.py

示例9:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
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
# ../../../nettow.py --database stoqs_simz_aug2013 --subsampleFile 2013_SIMZ_TowNets_STOQS.csv --csvFile 2013_SIMZ_TowNet_ParentSamples.csv -v
cl.parent_nettow_file = '2013_SIMZ_TowNet_ParentSamples.csv'
# ../../../planktonpump.py --database stoqs_simz_aug2013 --subsampleFile SIMZ_2013_PPump_STOQS_tidy_v2.csv --csvFile 2013_SIMZ_PlanktonPump_ParentSamples.csv -v
cl.parent_planktonpump_file = '2013_SIMZ_PlanktonPump_ParentSamples.csv'


# Execute the load
cl.process_command_line()
开发者ID:StevenLudwig,项目名称:stoqs,代码行数:32,代码来源:loadSIMZ_aug2013.py

示例10:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
cl.subsample_csv_files = [
## these are loaded OK:

   'STOQS_13115_CARBON_GFF.csv', 'STOQS_13115_CHL_1U.csv', 'STOQS_13115_CHL_5U.csv', 'STOQS_13115_CHL_GFF.csv', 
   'STOQS_13115_CHLA.csv', 'STOQS_13115_NO2.csv', 'STOQS_13115_NO3.csv', 'STOQS_13115_PHAEO_1U.csv',
   'STOQS_13115_PHAEO_5U.csv', 'STOQS_13115_PHAEO_GFF.csv', 'STOQS_13115_PO4.csv', 'STOQS_13115_SIO4.csv',

   'STOQS_13215_CARBON_GFF.csv',

## error  no data
## 'STOQS_13215_CHL_1U.csv', ## error  no data
## 'STOQS_13215_CHL_5U.csv', ## error  no data

   'STOQS_13215_CHL_GFF.csv','STOQS_13215_CHLA.csv', 'STOQS_13215_NO2.csv', 'STOQS_13215_NO3.csv',

## error  no data
## 'STOQS_13215_PHAEO_1U.csv', ## error no data
## 'STOQS_13215_PHAEO_5U.csv', ## error no data

   'STOQS_13215_PHAEO_GFF.csv', 'STOQS_13215_PO4.csv', 'STOQS_13215_SIO4.csv',

   'STOQS_14115_CARBON_GFF.csv', 'STOQS_14115_CHL_1U.csv', 'STOQS_14115_CHL_5U.csv', 'STOQS_14115_CHL_GFF.csv', 
   'STOQS_14115_CHLA.csv', 'STOQS_14115_NO2.csv', 'STOQS_14115_NO3.csv', 'STOQS_14115_PHAEO_1U.csv',
   'STOQS_14115_PHAEO_5U.csv', 'STOQS_14115_PHAEO_GFF.csv', 'STOQS_14115_PO4.csv', 'STOQS_14115_SIO4.csv',
 
   'STOQS_14815_CARBON_GFF.csv', 'STOQS_14815_CHL_1U.csv', 'STOQS_14815_CHL_5U.csv', 'STOQS_14815_CHL_GFF.csv',
   'STOQS_14815_CHLA.csv', 'STOQS_14815_NO2.csv', 'STOQS_14815_NO3.csv', 'STOQS_14815_PHAEO_1U.csv',
   'STOQS_14815_PHAEO_5U.csv', 'STOQS_14815_PHAEO_GFF.csv', 'STOQS_14815_PO4.csv', 'STOQS_14815_SIO4.csv',
 
   'STOQS_15515_CARBON_GFF.csv', 'STOQS_15515_CHL_1U.csv', 'STOQS_15515_CHL_5U.csv', 'STOQS_15515_CHL_GFF.csv',
   'STOQS_15515_CHLA.csv', 'STOQS_15515_NO2.csv', 'STOQS_15515_NO3.csv', 'STOQS_15515_PHAEO_1U.csv',
   'STOQS_15515_PHAEO_5U.csv', 'STOQS_15515_PHAEO_GFF.csv', 'STOQS_15515_PO4.csv', 'STOQS_15515_SIO4.csv',                       

   'STOQS_15615_CARBON_GFF.csv', 'STOQS_15615_CHL_1U.csv', 'STOQS_15615_CHL_5U.csv', 'STOQS_15615_CHL_GFF.csv',
   'STOQS_15615_CHLA.csv', 'STOQS_15615_NO2.csv', 'STOQS_15615_NO3.csv', 'STOQS_15615_PHAEO_1U.csv',
   'STOQS_15615_PHAEO_5U.csv', 'STOQS_15615_PHAEO_GFF.csv', 'STOQS_15615_PO4.csv', 'STOQS_15615_SIO4.csv',

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

示例11:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
cl.m1ts_files = ['OS_MBARI-M1_R_TS']
cl.m1ts_parms = [ 'PSAL', 'TEMP' ]
cl.m1ts_startDatetime = datetime.datetime(2011, 1, 1)
cl.m1ts_endDatetime = datetime.datetime(2011, 12, 31)

# Mooring M1met
cl.m1met_base = 'http://elvis.shore.mbari.org/thredds/dodsC/agg/'
cl.m1met_files = ['OS_MBARI-M1_R_M']
cl.m1met_parms = [ 'WSPD', 'WDIR', 'ATMP', 'SW', 'RELH' ]
cl.m1met_startDatetime = datetime.datetime(2011, 1, 1)
cl.m1met_endDatetime = datetime.datetime(2011, 12, 31)

# 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__)), 'Dorado2011')
cl.subsample_csv_files = [
                            '2011_AUVdorado_Samples_Database.csv'
                         ]


# Execute the load
cl.process_command_line()

if cl.args.test:
    cl.loadDorado(stride=100)
    cl.loadM1ts(stride=10)
    cl.loadM1met(stride=10)
    cl.loadSubSamples()

elif cl.args.optimal_stride:
    cl.loadDorado(stride=2)
    cl.loadM1ts(stride=1)
开发者ID:StevenLudwig,项目名称:stoqs,代码行数:33,代码来源:load_dorado2011.py

示例12:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
#   copied to local CANON2013 dir
###################################################################################################
cl.subsample_csv_base = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'BOG_Data/CANON2013')
cl.subsample_csv_files = [
'STOQS_CANON13_CARBON_GFF.csv', 'STOQS_CANON13_CHL_1U.csv', 'STOQS_CANON13_CHL_5U.csv', 'STOQS_CANON13_CHLA.csv',
'STOQS_CANON13_CHL_GFF.csv', 'STOQS_CANON13_NO2.csv', 'STOQS_CANON13_NO3.csv', 'STOQS_CANON13_PHAEO_1U.csv',
'STOQS_CANON13_PHAEO_5U.csv', 'STOQS_CANON13_PHAEO_GFF.csv', 'STOQS_CANON13_PO4.csv', 'STOQS_CANON13_SIO4.csv',

'STOQS_25913RC_CHL_1U.csv', 'STOQS_25913RC_CHL_5U.csv', 'STOQS_25913RC_CHLA.csv', 'STOQS_25913RC_CHL_GFF.csv',
'STOQS_25913RC_NO2.csv', 'STOQS_25913RC_NO3.csv', 'STOQS_25913RC_PHAEO_1U.csv', 'STOQS_25913RC_PHAEO_5U.csv',
'STOQS_25913RC_PHAEO_GFF.csv', 'STOQS_25913RC_PO4.csv', 'STOQS_25913RC_SIO4.csv',

'STOQS_26013RC_CHL_1U.csv', 'STOQS_26013RC_CHL_5U.csv', 'STOQS_26013RC_CHLA.csv', 'STOQS_26013RC_CHL_GFF.csv',
'STOQS_26013RC_NO2.csv', 'STOQS_26013RC_NO3.csv', 'STOQS_26013RC_PHAEO_1U.csv', 'STOQS_26013RC_PHAEO_5U.csv',
'STOQS_26013RC_PHAEO_GFF.csv', 'STOQS_26013RC_PO4.csv', 'STOQS_26013RC_SIO4.csv',

'STOQS_26113RC_CHL_1U.csv', 'STOQS_26113RC_CHL_5U.csv', 'STOQS_26113RC_CHLA.csv', 'STOQS_26113RC_CHL_GFF.csv',
'STOQS_26113RC_NO2.csv', 'STOQS_26113RC_NO3.csv', 'STOQS_26113RC_PHAEO_1U.csv', 'STOQS_26113RC_PHAEO_5U.csv',
'STOQS_26113RC_PHAEO_GFF.csv', 'STOQS_26113RC_PO4.csv', 'STOQS_26113RC_SIO4.csv',

'STOQS_27313RC_CHLA.csv',

'STOQS_27413RC_CHLA.csv',

'STOQS_27513RC_CHLA.csv', 'STOQS_27513RC_CHL_GFF.csv', 'STOQS_27513RC_NO2.csv', 'STOQS_27513RC_NO3.csv',
'STOQS_27513RC_PHAEO_GFF.csv', 'STOQS_27513RC_PO4.csv', 'STOQS_27513RC_SIO4.csv',

'STOQS_27613RC_CHLA.csv',
                         ]


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

示例13:

# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import subsample_csv_files [as 别名]
cl.rcpctd_parms = [ 'TEMP', 'PSAL', 'xmiss', 'ecofl', '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/201309/'
cl.m1_files = ['OS_M1_20130918hourly_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 = startDatetime
cl.m1_endDatetime = endDatetime

# 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__)), 'SIMZAug2013')
cl.subsample_csv_files = [
                            '2013_Aug_SIMZ_Niskin_microscopy_STOQS.csv',
                         ]


# Execute the load
cl.process_command_line()

if cl.args.test:
    cl.loadL_662(stride=10)
    cl.loadDorado(stride=100)
    cl.loadRCuctd(stride=10)
    cl.loadRCpctd(stride=1)
    cl.loadM1(stride=10)
    ##cl.loadSubSamples()

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


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