Title: USGS River Conditions
Author: manifestcreative
Published: <strong>January 24, 2012</strong>
Last modified: January 24, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/usgs-streamflow-data.svg)

# USGS River Conditions

 By [manifestcreative](https://profiles.wordpress.org/manifestcreative/)

[Download](https://downloads.wordpress.org/plugin/usgs-streamflow-data.zip)

 * [Details](https://pcd.wordpress.org/plugins/usgs-streamflow-data/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/usgs-streamflow-data/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/usgs-streamflow-data/#installation)
 * [Development](https://pcd.wordpress.org/plugins/usgs-streamflow-data/#developers)

 [Support](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## Description

This is a WordPress plugin that fetches streamflow and river data from the USGS.
It’s intended use is for river guides and fishing outfitters to report conditions.
It may also be useful for rafting companies and others who offer services related
to rivers and streams.

 * [Documentation on USGS API](http://waterservices.usgs.gov/rest/IV-Service.html)
 * [Data Source](http://waterservices.usgs.gov/nwis/iv?format=json,1.1&stateCd=mt&parameterCd=00060,00065,00010&siteType=ST)
 * [How to Locate USGS sites](http://wdr.water.usgs.gov/nwisgmap/index.html)

## Installation

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Begin by specifying the rivers you’d like to display. Identified as an array within
    the function. `<?php $rivers = usgs_fetch_sites(array('jefferson','madison','bighole','
    beaverhead','ruby'));` ?>
 4. Choose which data parameters to include (stream discharge, temperature, etc), or
    leave blank to include all. `<?php $data_params = usgs_fetch_dataParameters();`?
    >
 5. Place a call to fetch the JSON from USGS `<?php $riverData = usgs_fetch_riverData(
    $rivers,$data_params); ?>`
 6. Display the river data as an unordered list `<?php usgs_display_RiverData($riverData,
    $showMap=false); ?>`
 7. Show a static Google map identifying the locations `<?php usgs_display_map($riverData,'
    riverDataMap','riverMap',650,450,$maptype='terrain',$echo=true); ?>`

## FAQ

#### Will I be able to use this plugin without modifying my theme?

No. You’ll need to have basic familiarity with PHP, HTML and CSS for this plugin
to work as intended. Future releases will attempt to address this and make it more
user friendly.

#### Do you offer support

Generally no. If you wish to request support you may do it [through my personal site](http://philipdowner.com/2012/01/usgs-streamflow-data/).
Since this is my first publicly release plugin, if support requests become overwhelming,
I’ll likely disable support all together.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“USGS River Conditions” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

[Translate “USGS River Conditions” into your language.](https://translate.wordpress.org/projects/wp-plugins/usgs-streamflow-data)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/usgs-streamflow-data/),
check out the [SVN repository](https://plugins.svn.wordpress.org/usgs-streamflow-data/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/)
by [RSS](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Public release

## Meta

 *  Version **1.01**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.9 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/usgs-streamflow-data/)
 * Tags
 * [fishing](https://pcd.wordpress.org/plugins/tags/fishing/)[USGS](https://pcd.wordpress.org/plugins/tags/usgs/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/usgs-streamflow-data/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/)

## Contributors

 *   [ manifestcreative ](https://profiles.wordpress.org/manifestcreative/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://philipdowner.com/)