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.

  • logger_name - Logger name.

  • 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     logger_name serial_number   logger_type          start_date
#> 1       A1E05        Thermo_1      91184101        Thermo 2020-10-28 08:45:00
#> 2       A1E05        Dendro_1      92201058        Dendro 2020-10-31 12:00:00
#> 3       A2E32           TMS_1      94184103           TMS 2020-10-16 06:15:00
#> 4       A2E32 HOBO_U23-001A_1      20024338 HOBO_U23-001A 2020-10-09 08:00:00
#> 5       A6W79           TMS_1      94184102           TMS 2020-10-06 09:00:00
#>     end_date step_seconds
#> 1 2021-02-01           NA
#> 2 2021-02-01           NA
#> 3 2021-02-01           NA
#> 4 2021-02-01           NA
#> 5 2021-02-01           NA