This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is auto-generated from the current state of the database. Instead of editing this file, | |
# please use the migrations feature of Active Record to incrementally modify your database, and | |
# then regenerate this schema definition. | |
# | |
# Note that this schema.rb definition is the authoritative source for your database schema. If you need | |
# to create the application database on another system, you should be using db:schema:load, not running | |
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
# you'll amass, the slower it'll run and the greater likelihood for issues). | |
# | |
# It's strongly recommended to check this file into your version control system. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install RVM | |
$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
$ source ~/.bashrc | |
$ which rvm # ensure that rvm is in $PATH | |
$ rvm get stable | |
# rvm requirements | |
$ sudo /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec rake db:rollback STEP=2 | |
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. | |
at /home/thrive/rails_projects/ebi_projects/betydb/trunk/update/ruby/1.8/gems/rake-0.9.2.2/lib/rake/rdoctask.rb | |
DEPRECATION WARNING: Rake tasks in vendor/plugins/restful-authentication/tasks are deprecated. Use lib/tasks instead. (called from /home/thrive/rails_projects/ebi_projects/betydb/trunk/update/ruby/1.8/gems/rails-2.3.11/lib/tasks/rails.rb:10) | |
WARNING: This version of mysql2 (0.3.11) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1 | |
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x | |
== RemoveModelTypeFromWorkflows: reverting =================================== | |
-- add_column(:workflows, :model_type, :string) | |
-> 0.3110s | |
== RemoveModelTypeFromWorkflows: reverted (0.3111s) ========================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##' .. content for \description{} (no empty lines) .. | |
##' | |
##' .. content for \details{} .. | |
##' @title | |
##' @param x | |
##' @return | |
##' @export | |
##' @author David LeBauer | |
library("devtools") | |
install("../../ghgvcR") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##' .. content for \description{} (no empty lines) .. | |
##' | |
##' .. content for \details{} .. | |
##' @title | |
##' @param x | |
##' @return | |
##' @export | |
##' @author David LeBauer | |
source("../R/*R") | |
get.nums <- function(x){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##' .. content for \description{} (no empty lines) .. | |
##' | |
##' .. content for \details{} .. | |
##' @title | |
##' @param x | |
##' @return | |
##' @export | |
##' @author David LeBauer | |
get.nums <- function(x){ | |
suppressWarnings( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning messages: | |
1: In install.packages("devtools") : | |
installation of package ‘RCurl’ had non-zero exit status | |
2: In install.packages("devtools") : | |
installation of package ‘httr’ had non-zero exit status | |
3: In install.packages("devtools") : | |
installation of package ‘devtools’ had non-zero exit status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"tropical peat forest","category":"native","T_A":100,"T_E":50,"r":0,"OM_ag":444,"OM_root":108,"OM_wood":0,"OM_litter":0,"OM_peat":1388.889,"OM_SOM":88.96552,"fc_ag_wood_litter":0.5,"fc_root":0,"fc_peat":0,"fc_SOM":0,"Ec_CO2":35.909,"Ec_CH4":0.07,"Ec_N2O":0.0059,"k_ag_wood_litter":0.167,"k_root":0.04,"k_peat":0.02,"k_SOM":0.4,"termite":3,"Ed_CO2_ag_wood_litter":41.66667,"Ed_CO2_root":41.66667,"Ed_CO2_peat":45,"Ed_CO2_litter":48.33333,"Ed_CH4_ag_wood_litter":0.0275,"Ed_CH4_root":0,"Ed_CH4_peat":0,"Ed_CH4_litter":0,"Ed_N2O_ag_wood_litter":0,"Ed_N2O_root":0,"Ed_N2O_peat":0.013645,"Ed_N2O_litter":0,"F_CO2":-443.333,"F_CH4":9.877813,"F_N2O":0.017103,"rd":0,"tR":-9999,"FR_CO2":-9999,"FR_CH4":-9999,"FR_N2O":-9999,"dfc_ag_wood_litter":0.5,"dfc_root":0,"dfc_peat":0,"dk_ag_wood_litter":0.167,"dk_root":0.02,"dk_peat":0.02,"age_transition":-9999,"new_F_CO2":-9999,"new_F_CH4":-9999,"new_F_N2O":-9999,"F_anth":0},{"name":"northern peatland","category":"native","T_A":100,"T_E":50,"r":0,"OM_ag":100,"OM_root":17.6,"OM_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.opengis.net/kml/2.2 http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd http://www.google.com/kml/ext/2.2 http://code.google.com/apis/kml/schema/kml22gx.xsd"> | |
<Document id="Layers"> | |
<name>Layers</name> | |
<Snippet></Snippet> | |
<Folder id="legend2"> | |
<name></name> | |
<Style id="LegendRadioFolder2"><IconStyle><scale>0</scale></IconStyle><ListStyle><listItemType>radioFolder</listItemType></ListStyle></Style> | |
<ScreenOverlay id="A2"><name>Upper Left</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.opengis.net/kml/2.2 http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd http://www.google.com/kml/ext/2.2 http://code.google.com/apis/kml/schema/kml22gx.xsd"> | |
<Document id="Layers"> | |
<name>Layers</name> | |
<Snippet></Snippet> | |
<Folder id="legend2"> | |
<name></name> | |
<Style id="LegendRadioFolder2"><IconStyle><scale>0</scale></IconStyle><ListStyle><listItemType>radioFolder</listItemType></ListStyle></Style> | |
<ScreenOverlay id="A2"><name>Upper Left</name> |