Package: pybomwater
BoM WaterA python tool for requesting data from BoM Sensor Observation Service (SOS2, as WaterML 2.0 format)This package has been developed to access to the BoM Water Data Sensor Observation Service (SOS). With a goal to easily and efficiently integrate data into scientific workflowsLicenseMIT-derived (seeLicense.txt)InstallationFrom pypi:pip install pybomwaterFrom source:UsingpoetryI like to keep the.venvin my project directory so I usepoetry config --local virtualenvs.in-project truepoetry installwhich will install the dependencies listed in thepoetry.lockpoetry shellwhich is initialize the environment within your running application (eg cmd), or in VS CodeCmd+Shift+pand then typePython Interpreterand select the environment you just built.UsageseeJupyter Notebook exampleNOTEThe first time a BomWater object is instantiated (bm = bom_water.BomWater()) a cache of data is created.  This process obtains data from the BoM service and will take a little while to complete.  Once cached this process is not repeated and performance will return to normal.DocumentationBureau of Meteorology (BoM) documentation on using their SOS service is available at the following links:BoM Water Data serviceBoM NotesBoM Guide to Sensor Observation Services (SOS2)The following cells implement requests that access the BoM SOS2 service.GetCapabiltiesLists services available and the filters that can be used to select data output by those services. It also provides an overview of parameters, time series types and geographic area covered by the services.GetFeatureOfInterestProvides details about a set of geographical features or locations at which observations are measured. They can be selected according to the parameter measured, type of time series available, and area or point location.GetDataAvailabilityLists the type of data available for a ‘feature of interest’ and its coverage. This includes a list of parameters, the time series types available for each of the parameters, and the observed period of record for each time series type.GetObservationReturns observations of a specified ‘feature of interest’ and parameter, within a specific time series type. Each observation has a datetime, value, quality and interpolation type.Parameter currently available via SOS2ParameterWater regulation Data SubcategoryDry Air Temperature4fElectrical Conductivity @ 25C9aEvaporation4cGround Water Level2aRainfall4aRelative Humidity4hStorage Level3aStorage Volume3bTurbidity9dWater Course Discharge (standard time series types)1bWater Course Discharge (flood warning time series types)11bWater Course Level (standard time series types)1aWater Course Level (flood warning time series types)11aWater pH9gWater Temperature9hWind Direction4Timeseries pattern and aggreated availableTime series nameProcedureIdentifier Time series descriptionDMQaQc.Merged.DailyMean.24HRPat1_C_B_1_DailyMean or Pat9_C_B_1_DailyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to daily means, reported from midnight to midnight.DMQaQc.Merged.DailyMax.24HRPat1_C_B_1_DailyMax or Pat9_C_B_1_DailyMaxMaximum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnightDMQaQc.Merged.DailyMin.24HRPat1_C_B_1_DailyMin or Pat9_C_B_1_DailyMinMinimum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.MonthlyMean.CalMonthPat1_C_B_1_MonthlyMean or Pat9_C_B_1_MonthlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to monthly means.DMQaQc.Merged.YearlyMean.CalYearPat1_C_B_1_YearlyMean or Pat9_C_B_1_YearlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to yearly means.DMQaQc.Merged.DailyTotal.09HRPat2_C_B_1_DailyTot09DMQaQc.Merged.AsStored.1 timeseries aggregated to daily totals, reported from 9am to 9am.DMQaQc.Merged.DailyTotal.24HRPat2_C_B_1_DailyTot24DMQaQc.Merged.AsStored.1 timeseries aggregated to daily totals,reported from midnight to midnight.DMQaQc.Merged.MonthlyTotal.CalMonthPat2_C_B_1_MonthlyTot24DMQaQc.Merged.AsStored.1 timeseries aggregated to monthly totals.DMQaQc.Merged.YearlyTotal.CalYearPat2_C_B_1_YearlyTot24DMQaQc.Merged.AsStored.1 timeseries aggregated to yearly totals.DMQaQc.Merged.HourlyMean.HRPat3_C_B_1_HourlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to hourly means.DMQaQc.Merged.DailyMean.24HRPat3_C_B_1_DailyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to daily means, reported from midnight to midnight.DMQaQc.Merged.DailyMax.24HRPat3_C_B_1_DailyMaxMaximum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.DailyMin.24HRPat3_C_B_1_DailyMinMinimum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.MonthlyMean.CalMonthPat3_C_B_1_MonthlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to monthly means.DMQaQc.Merged.YearlyMean.CalYearPat3_C_B_1_YearlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to yearly means.DMQaQc.Merged.HourlyMean.HRPat4_C_B_1_HourlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to hourly means.DMQaQc.Merged.DailyMean.09HRPat4_C_B_1_DailyMean09DMQaQc.Merged.AsStored.1 timeseries aggregated to daily means, reported from 9am to 9am.DMQaQc.Merged.DailyMax.24HRPat4_C_B_1_DailyMaxMaximum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.DailyMin.24HRPat4_C_B_1_DailyMinMinimum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.DailyMean.24HRPat4_C_B_1_DailyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to daily means, reported from midnight to midnight.DMQaQc.Merged.MonthlyMean.CalMonthPat4_C_B_1_MonthlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to monthly means.DMQaQc.Merged.YearlyMean.CalYearPat4_C_B_1_YearlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to yearly means.DMQaQc.Merged.HourlyMean.HRPat6_C_B_1_HourlyMean or Pat7_C_B_1_HourlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to hourly means.DMQaQc.Merged.DailyMean.24HRPat6_C_B_1_DailyMean or Pat7_C_B_1_DailyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to daily means, reported from midnight to midnight.DMQaQc.Merged.DailyMax.24HRPat6_C_B_1_DailyMax or Pat7_C_B_1_DailyMaxMaximum of values in theDMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.DailyMin.24HRPat6_C_B_1_DailyMin or Pat7_C_B_1_DailyMinMinimum of values in the DMQaQc.Merged.AsStored.1 timeseries - from midnight to midnight.DMQaQc.Merged.MonthlyMean.CalMonthPat6_C_B_1_MonthlyMean or Pat7_C_B_1_MonthlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to monthly means.DMQaQc.Merged.YearlyMean.CalYearPat6_C_B_1_YearlyMean or Pat7_C_B_1_YearlyMeanDMQaQc.Merged.AsStored.1 timeseries aggregated to yearly means.Task list