mc_plot_loggers {myClim}R Documentation

Plot data from loggers

Description

Function save separate files (*.png) per the loggers to the directory. Only Raw-format supported, Agg-format not supported. For Agg-format use mc_plot_line(). Function was primary designed for Tomst TMS loggers for fast, and easy data visualization.

Usage

mc_plot_loggers(
  data,
  directory,
  localities = NULL,
  sensors = NULL,
  crop = c(NA, NA)
)

Arguments

data

myClim object in Raw-format. see myClim-package

directory

path to output directory

localities

names of localities; if NULL then all (default NULL)

sensors

names of sensors; if NULL then all (default NULL) see names(mc_data_sensors)

crop

datetime range for plot, not cropping if NA (default c(NA, NA))

Value

PNG files created in the output directory

Examples

tmp_dir <- file.path(tempdir(), "plot")
mc_plot_loggers(mc_data_example_clean, tmp_dir)
unlink(tmp_dir, recursive=TRUE)

[Package myClim version 1.1.0 Index]