本文整理汇总了Python中CANON.CANONLoader.m1_parms方法的典型用法代码示例。如果您正苦于以下问题:Python CANONLoader.m1_parms方法的具体用法?Python CANONLoader.m1_parms怎么用?Python CANONLoader.m1_parms使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CANON.CANONLoader
的用法示例。
在下文中一共展示了CANONLoader.m1_parms方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_parms [as 别名]
## ]
######################################################################
# MOORINGS May 2015
######################################################################
# Mooring M1 Combined file produced by DPforSSDS processing - for just the duration of the campaign
# M1 had a turnaround on July 29, 2015
# http://dods.mbari.org/opendap/hyrax/data/ssdsdata/deployments/m1/201507/OS_M1_20150729hourly_CMSTV.nc
cl.m1_base = "http://dods.mbari.org/opendap/data/ssdsdata/deployments/m1/201507/"
cl.m1_files = ["OS_M1_20150729hourly_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 = cl.dodsBase + "CANON/2015_OffSeason/Platforms/Moorings/OA1/"
cl.oa1_files = ["OA1_Canon2015_OffSeason.nc"]
cl.oa1_parms = [
"wind_dir",
"avg_wind_spd",
示例2:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_parms [as 别名]
##cl.wg_oa_base = cl.dodsBase + 'CANON/2015_OffSeason/Platforms/Waveglider/wgOA/'
##cl.wg_oa_files = [ 'Sept_2013_OAWaveglider_final.nc' ]
##cl.wg_oa_parms = [ 'distance', 'wind_dir', 'avg_wind_spd', 'max_wind_spd', 'atm_press', 'air_temp', 'water_temp', 'sal', 'O2_conc',
## 'O2_sat', 'beta_470', 'bb_470', 'beta_700', 'bb_700', 'chl', 'pCO2_water', 'pCO2_air', 'pH' ]
##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',
]
示例3:
# 需要导入模块: from CANON import CANONLoader [as 别名]
# 或者: from CANON.CANONLoader import m1_parms [as 别名]
# Assign input data sets from OPeNDAP URLs pointing to Discrete Sampling Geometry CF-NetCDF sources
# - 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)