Planned intervention: On Wednesday April 3rd 05:30 UTC Zenodo will be unavailable for up to 2-10 minutes to perform a storage cluster upgrade.

There is a newer version of the record available.

Published May 13, 2016 | Version v1.0.2
Software Open

lakemorpho: Second CRAN release

  • 1. U.S. Environmental Protection Agency

Description

lakemorpho 1.0.2 (2016-05-14) New Features

  • Added intersect= argument on lakeMaxWidth(). Default is FALSE which finds longest line perpendicular to the maximum length line, but not necessarily intersecting with the maximum length line. TRUE forces the intersection. The definition of maximum lake width does not specify whether or not the intersection is required.
Bug Fixes
  • lakeMaxWidth() was flipping slope of line on lakes with a maximum lake length that had negative slope. Tracked down to creating a line with matrix(). Switched to data.frame() and now works.
  • lakeMaxLength() was using rgeos::gWithin to ID lines that fell inside the lake boundary. Would occassionally select a line that was outside the boundary on curved lakes (e.g. s-shaped). Couldn't track down why this was happening, but rgeos::gContains() did not have this same behavior, so replaced gWithin() with gContains.
  • switched paste(substitue()) to deparse(substitute())
API Changes
  • lakeFetch - bearing parameter no long character, accepts numeric (0-360).
Minor Changes
  • Fixed several typos in documentation
  • Corrected older documenation that doesn't reflect current API
  • Re-generated documentation with roxygen2 4.1.0
  • lakeSurroundTopo() now returns stops and errors when multiple polygons submitted.
  • lakeMorphoClass() now accepts lake only. Other arguments have defualt NULL values.
  • Default plot accepts NULLS in lakeMorphoClass and plots lines if they exist.
  • Added NEWS.md
  • Added elevation checks for functions that require it.
  • check now error, instead of warns, when wrong input is supplied
  • moving main GitHub repository to personal account

Files

lakemorpho-v1.0.2.zip

Files (407.7 kB)

Name Size Download all
md5:0a4f3e849afb34836b11f8f86ac0e267
407.7 kB Preview Download

Additional details

Related works