Document RGLM tools

From Age of Water
Revision as of 18:17, 23 April 2015 by Hilary (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

GLEON and CIDA (center for data analytics) at the USGS have developed two software packages written in the R statistical language to interact with GLM

  • GLM: lake model
  • GLMr: package designed to support scripted interactions with GLM_Software.
  • glmtools: tools to reproducible model results, adjust parameter files, and plot visualizations

Why R?

  • Performace: stable, light and fast
  • Support network
    • documentation, community, developers
  • Reproducibility
    • anyone anywhere can reproduce results
    • enables dissemination - this presentation is a .Rmd file!
  • Versatility: unified solution to almost any numerical problem, graphical capabilities
  • Testing: integrated “R package” testing limits bugs

Package Downloads

Download R packages from GRAN (Geological Survey R Archive Network)

glmtools Functions (as of v0.2.5.2)

Maintainer: Jordan S Read
Authors: Jordan S Read, Luke A Winslow

Function Title
compare_to_field compare metric for GLM vs field observations
get_evaporation get evaporation from GLM simulation
get_hypsography retrieve hypsography information
get_ice get ice depth from GLM simulation
get_nml_value gets a nml value according to an arg_name
get_surface_height get surface height from GLM simulation
get_temp get water temperatures from a GLM simulation
get_wind get wind speed from GLM simulation
model_diagnostics run diagnostics on model results
plot_temp plot water temperatures from a GLM simulation
read_field_obs read in field data into a data.frame
read_nml read in a GLM simulation *.nml file
resample_sim get subset of time from a generic timeseries data.frame
resample_to_field match GLM water temperatures with field observations
set_nml sets values in nml object
sim_metrics get possible metrics for comparing GLM outputs to field
summarize_sim creates GLM simulation summary outputs
validate_sim run diagnostics on model results vs observations
write_nml write GLM *.nml for a GLM simulation


Yandex.Metrica