ocmw.dataproc.processADCPData module

Tools for converting ADCP data into OCMW standard format for OCMW post-processing.

adcp_obj

Class structure for reading the OCMW netCDF4 formatted ADCP data files.

saveADCP2ocmw

Save extracted ADCP data to standard OCMW internal format file.

adcp2ocmw

Convert ADCP extracted data to standard OCWM internal format and save to file.

merge_adcp_daily_files

Merge individual OCWM format daily extracts into a single file for analysis.

Tools for converting ADCP data into OCMW standard format for OCMW post-processing.

Example scripts for ADCP data conversion provided.

Chris Old IES, School of Engineering, University of Edinburgh Oct 2023

class ocmw.dataproc.processADCPData.adcp_obj(fileName)[source]

Bases: netcdfGeneric

Class structure for reading the OCMW netCDF4 formatted ADCP data files.

getMetaData()[source]
getDepth(d0=0.0)[source]
genDepthMask(d0=0.0)[source]
applyDepthMask(var, d0=0.0)[source]
applyQCFlags(var)[source]
getTimeDateNum()[source]
getSubsampleTBounds(period)[source]
subSampleTime(period)[source]
getWindowTBounds(period, window)[source]
average1DVar(varStr, period, window)[source]
averageVel(Vel, Bnds)[source]
subSampleVel(period, window, velType=['ENU'], d0=0.0, apply_QC=False)[source]
ocmw.dataproc.processADCPData.saveADCP2ocmw(outfname, glbAttr, Loc, CRS, Data2D, Data3D)[source]

Save extracted ADCP data to standard OCMW internal format file.

ocmw.dataproc.processADCPData.adcp2ocmw(datapath, filename, period, window, d0=0.0)[source]

Convert ADCP extracted data to standard OCWM internal format and save to file.

ocmw.dataproc.processADCPData.getValidADCPDataIndices(depth)[source]
ocmw.dataproc.processADCPData.merge_adcp_daily_files(datapath, srchstr, outfile)[source]

Merge individual OCWM format daily extracts into a single file for analysis.