CRAN
MC2toPath 0.0.16
Translates information from netcdf files with MC2 output into inter-PVT transitions.
Released May 18, 2014 by Dave Conklin
Dependencies
Post processes MC2 output, especially for use by Path or ST-Sim. MC2 (short for "MC1 version 2") is a dynamic global vegetation model (en.wikipedia.org/wiki/DGVM). Path (essa.com/tools/path) and ST-Sim (www.apexrms.com) are state-and-transition model (STM) engines. MC2 has a user website at sites.google.com/site/mc1dgvmusers. Since 2001, MC1 has been used to simulate changes in natural vegetation due to climate change at scales from regional to global. In 2012, MC1 was reimplemented in C++ to make it faster and to reduce storage requirements. This newer version is referred to as MC2, an abbreviation of "MC1 version 2". Beginning in 2011, output from MC1 and MC2 has been used to inform regional state-and-transition model simulations by the U.S. Forest Service and the Washington State Department of Natural Resources. Projects to date have involved study areas in central Oregon, the Olympic Peninsula, the Blue Mountains ecoregion, southwestern Oregon, and southeastern Oregon. In the first of this series of projects, the netCDF output files from MC2 were manually post-processed, mostly in Excel, to produce input .csv files for the STM engines. Beginning with the second project, R scripts were used to automate the post-processing work. These R scripts have been collected into the MC2toPath R-package.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>MC2toPath</artifactId> <version>0.0.16-b242</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:MC2toPath')
Test Results
This package was last tested against Renjin 0.9.2644 on Jun 2, 2018.
- AggregateFireFracs-examples
- AggregateVegFracs-examples
- ReportMeanVegChanges-examples
- SaveFireAreaFracs-examples
- SaveFireProbabilityMultipliers-examples
- SaveMatrix-examples
- SaveRatios-examples
- SaveSequence-examples
- SaveVegChangeProbabilityMultipliers-examples
- SaveVegFracs-examples
- VTnames-examples
- VegTypeChanges-examples