qc_get_timezone_coord: Timezones from coordinates

View source: R/qc_data_general_checks.R

qc_get_timezone_coordR Documentation

Timezones from coordinates

Description

Get timezones from coordinates using lutz package and tranforms timezone ISO code to character vector compatible with lubridate and POSIXct

Usage

qc_get_timezone_coord(coord_lat, coord_lon, parent_logger = "test")

Arguments

coord_lat

numeric vector of latitudes

coord_lon

numeric vector of longitudes the same length as x

Details

GMT time zones are used, as they are day saving light time (DST) agnostic, and in that way the DST can setted if the metadata says so. GMT are sign exchanged to be compatible with ISO.

Value

A character vector with the timezone code compatible with lubridate and as.POSIXct

See Also

Other Quality Checks Functions: create_dic(), qc_coordinates(), qc_data_results_table(), qc_ext_radiation(), qc_factor_values(), qc_get_biomes_spdf(), qc_get_biome(), qc_is_timestamp(), qc_md_cols(), qc_md_results_table(), qc_measured_sfn(), qc_pl_treatments(), qc_psi_N_nas(), qc_psi_SE_nas(), qc_psi_nas(), qc_set_timezone(), qc_simplify_questions(), qc_species_names_info(), qc_species_names(), qc_species_verification(), qc_start_process_psi(), qc_timestamp_nas()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.