dbW_blob_to_weatherData: Conversion: (Compressed) raw vector (e.g., SQL-retrieved...

View source: R/sw_dbW_WeatherDatabase.R

dbW_blob_to_weatherDataR Documentation

Conversion: (Compressed) raw vector (e.g., SQL-retrieved blob) to (uncompressed) object

Description

The rSOILWAT2 SQLite-DB which manages daily weather data (each as a list of elements of class swWeatherData), uses internally (compressed) blobs. This function is used to convert the blob object to the object used by rSOILWAT2's simulation functions.

Usage

dbW_blob_to_weatherData(data_blob, type = "gzip")

Arguments

data_blob

A raw vector

type

A character string. One of c("gzip", "bzip2", "xz", "none").

See Also

memDecompress, unserialize


Burke-Lauenroth-Lab/Rsoilwat documentation built on Dec. 9, 2023, 12:41 a.m.