Conveniently download USGS gauge flowrate data

Version 1.0.1 (4.31 KB) by Jeff Burkey
The function 'usgs' will download data from USGS data servers using their web service.
8 Downloads
Updated 25 Apr 2024

View License

Nothing fancy but needed something to speed up the process when wanting to grab some USGS data. The function uses the RESTful web service protocols which is already a function (i.e., webread) in Matlab. My code is hardcoded expecting a JSON format.
You have an option to set a boolean to true if you want a simple graph created to view the data.
Thank you USGS!

Cite As

Jeff Burkey (2024). Conveniently download USGS gauge flowrate data (https://www.mathworks.com/matlabcentral/fileexchange/164431-conveniently-download-usgs-gauge-flowrate-data), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Tweaked the input to the function call. I needed to include weboptions and adjust the 'timeout' setting for larger querries.

1.0.0