WaterAnalityca Module

Helper Functions used in the WaterML module to analyze data

class pywaterml.analyzeData.WaterAnalityca[source]

This class represents the Analitics object for the WaterMLOperations class. The WaterAnalityca provides functions related to statistics(monthly and daily averages) and basic Math functionality(Interpolation). However, this is a helper class for the main WaterMLOperations class.

_Interpolate(type='mean', timeUTC=False)[source]

Helper function to rerieve different kinds of interpolation in the WaterMLOperations GetInterpolation() function :param GetValuesResponse: GetValues Response from WaterMLOperations GetValues() function :param type: Type of interpolation

Returns:

Interpolated data

Return type:

dataInterpolated

_MonthlyAverages()[source]

Helper function to rerieve the monthly averages from the WaterMLOperations GetValues() function in the GetMonthlyAverage() function :param GetValuesResponse: GetValues Response from WaterMLOperations GetValues() function

Returns:

monthly_average array

Return type:

m_avg

_DailyAverages()[source]

Helper function to rerieve the daily averages from the WaterMLOperations GetValues() function in the GetDailyAverage() function :param GetValuesResponse: GetValues Response from WaterMLOperations GetValues() function

Returns:

daily_average array

Return type:

d_avg