The core BASIN-3D application that uses a generalized data synthesis model that applies across a variety of earth science observation types (hydrology, geochemistry, climate etc.). https://basin3d.readthedocs.io/
Describe the bug
The following log warning is outout when querying USGS for data
WARNING:root:Could not connect to USGS site info: _log() got an unexpected keyword argument 'url'
To Reproduce
Steps to reproduce the behavior:
Execute the following code.
# All the imports
import datetime
import os
import sys
import h5py
import pandas
from basin3d import synthesis
from basin3d.plugins import usgs
import logging
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
# Register the USGS Plugin
synthesizer = synthesis.register()
# Create a query dictionary
query_info = {}
query_info['observed_property_variables'] = ['RDC', 'WT']
query_info['start_date'] = '2020-01-01'
query_info['end_date'] = '2020-01-02'
query_info['monitoring_features'] = 'USGS-02'
# NOTE: this will not work for the current version of basin3d because
# the return for get_timeseries_data() was changed to a SynthesizedTimeseriesData
# object.
output = synthesis.get_timeseries_data(synthesizer, **query_info)
Describe the bug The following log warning is outout when querying USGS for data
To Reproduce Steps to reproduce the behavior:
Execute the following code.