Title: USGS River Conditions
Author: manifestcreative
Published: <strong>2012 年 1 月 24 日</strong>
Last modified: 2012 年 1 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# USGS River Conditions

 作者：[manifestcreative](https://profiles.wordpress.org/manifestcreative/)

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

 * [详情](https://cn.wordpress.org/plugins/usgs-streamflow-data/#description)
 * [评价](https://cn.wordpress.org/plugins/usgs-streamflow-data/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/usgs-streamflow-data/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/usgs-streamflow-data/#developers)

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

## 描述

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)

## 安装

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

## 常见问题

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

## 评价

此插件暂无评价。

## 贡献者及开发者

「USGS River Conditions」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「USGS River Conditions」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/usgs-streamflow-data)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/usgs-streamflow-data/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/usgs-streamflow-data/)，或通过[RSS](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/usgs-streamflow-data/)。

## 更新日志

#### 1.0

 * Public release

## 额外信息

 *  版本 **1.01**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/usgs-streamflow-data/)
 * 标签
 * [fishing](https://cn.wordpress.org/plugins/tags/fishing/)[USGS](https://cn.wordpress.org/plugins/tags/usgs/)
 *  [高级视图](https://cn.wordpress.org/plugins/usgs-streamflow-data/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/usgs-streamflow-data/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/usgs-streamflow-data/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://philipdowner.com/)