DOI-USGS / dataretrieval-python

Python package for retrieving water data from USGS or the multi-agency Water Quality Portal
https://doi-usgs.github.io/dataretrieval-python/
Other
156 stars 37 forks source link

129 data downloading issue with a specific gauging station #131

Closed thodson-usgs closed 7 months ago

thodson-usgs commented 8 months ago

Some sites use a method code of 'x', which was breaking the json parser, which interpret '_x' as a duplicate column following pandas merge convention.

This fix removes update_merge() entirely (I might regret this 💣 💥) and adds the functionality into the json parser itself. If nothing else, this should improve performance.