Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
img
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Introduction

advr is a package for the scientific research program of CO2 advection.

The CO2 advection measurement consists with integrated observations of air temperature, humidity, 2D wind velocity, CO2 mixing ratio profile, and chamber flux. The measurement procedure is controlled by a data logger and a microcontroller.

advr has the following features.

  • advr provides the technical programs for the data logger and the microcontroller.
  • advr pre-processes the raw data and visualize them in a friendly way.

In the future more features will come.

Installation

devtools::install_github('pzhaonet/advr')

Quick Start

# load the advr package
library(advr)

# download the datalogger program (.CR1)
get_logger()

# download the microcontroller program (.ino)
get_arduino()

# download a demo data file
get_data()

# read the raw data file and pre-process the data
adv_data <- read_adv("demo/data_sample.csv", "demo/data_header.csv")

# configure the file names for the sensors
colname_ws <- paste('mean_wind_speed', 1:4, sep = '')
colname_wd <- paste('resultant_mean_wind_direction', 1:4, sep = '')
colname_t <- c(paste('hcT_Avg(', 1:8, ')', sep = ''), 
               paste('chamberT_Avg(', 1:3, ')', sep = ''))

# visualize the raw data by day
plot_adv(aa = adv_data)

# visualize the entire raw data file 
plot_adv(aa = adv_data, sub_by = NA)

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.