Giter VIP home page Giter VIP logo

fewsr's Introduction

FEWSR

R package that contains the FEWS river, lake, and pond models used to obtain the evapotranspiration from surface waters in power plants.

Development version installation

if (!requireNamespace("devtools")) {

install.packages("devtools")

}

devtools::install_github("iembry-USGS/FEWSR", build_vignettes = TRUE)

CRAN Installation (once it is available on CRAN)

install.packages("FEWSR")

FEWSR Vignettes

# the user can view the vignettes with the following command:

browseVignettes("FEWSR")

Examples

## interactive FEWSR examples (the user selects the input file via a file dialog)

library("FEWSR")

fewsr(sheet = "Input", type = "pond", output = "csv")
# The sheet name is "Input" and the surface water is pond


fewsr(type = "river", output = "xlsx")
# The sheet number is 1 (default) and the surface water is river


fewsr(sheet = 4, type = "lake", output = "both")
# The sheet number is 4 and the surface water is lake



## non-interactive FEWSR examples (the user provides the input file)

library("FEWSR")

fewsr2(file.path(system.file("extdata", "FEWS_Pond_plants_input.xlsx",
package = "FEWSR")), type = "pond", output = "csv")
# The sheet number is 1 (default) and the surface water is pond



file <- "river_input.csv"
# it is assumed that the input file is located within your current working directory

fewsr2(file, type = "river", output = "xlsx"))
# The sheet number is 1 (default) and the surface water is river

Disclaimer

This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy

Although this software program has been used by the U.S. Geological Survey (USGS), no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

This software is provided "AS IS."

fewsr's People

Contributors

iembry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.