This function returns a data.frame with information about loggers.

mc_info_logger(data)

Arguments

data

myClim object in Raw-format. see myClim-package

Value

A data.frame with the following columns:

  • locality_id - If provided by the user, it represents the locality ID; if not provided, it is identical to the logger's serial number.

  • index - Logger index at the locality.

  • serial_number - Serial number of the logger, either provided by the user or automatically detected from the file name or header.

  • logger_type - Logger type.

  • start_date - The oldest record on the logger.

  • end_date - The newest record on the logger.

  • step_seconds - Time step of the record series (in seconds).

Details

This function is designed to work only with myClim objects in Raw-format, where the loggers are organized at localities. In Agg-format, myClim objects do not support loggers; sensors are directly connected to the locality. See myClim-package. mc_info_logger does not work in Agg-format.

Examples

mc_info_logger(mc_data_example_raw)
#>   locality_id index serial_number   logger_type          start_date   end_date
#> 1       A1E05     1      91184101        Thermo 2020-10-28 08:45:00 2021-02-01
#> 2       A1E05     2      92201058        Dendro 2020-10-31 12:00:00 2021-02-01
#> 3       A2E32     1      94184103           TMS 2020-10-16 06:15:00 2021-02-01
#> 4       A2E32     2      20024338 HOBO_U23-001A 2020-10-09 08:00:00 2021-02-01
#> 5       A6W79     1      94184102           TMS 2020-10-06 09:00:00 2021-02-01
#>   step_seconds
#> 1           NA
#> 2           NA
#> 3           NA
#> 4           NA
#> 5           NA