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

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# USGS River Conditions

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/usgs-streamflow-data/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/usgs-streamflow-data/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/usgs-streamflow-data/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/usgs-streamflow-data/#developers)

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

## Skildring

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)

## Installasjon

 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); ?>`

## Vanlege spm.

#### 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.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

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

Contributors

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

[Omset “USGS River Conditions” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/usgs-streamflow-data)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/usgs-streamflow-data/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/usgs-streamflow-data/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/)
med [RSS](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * Public release

## Om

 *  Version **1.01**
 *  Last updated **14 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 2.9 eller nyare **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/usgs-streamflow-data/)
 * Tags
 * [fishing](https://nn.wordpress.org/plugins/tags/fishing/)[USGS](https://nn.wordpress.org/plugins/tags/usgs/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/usgs-streamflow-data/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your 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/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](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/)