prelim_record_check: Preliminary checks for temperature records.

Description Usage Arguments Value Examples

View source: R/incoming_data.R

Description

Check if a weather record is suitable for spectral analysis. Checks are based on sampling: records must sample at least every six hours on average, be at least 1.5 years in length, and not have a single gap more than ten percent of the record length. As suggested by the function name, these checks are preliminary. The significance of the peaks should also be measured, either by comparison to a white noise model, as in nlts, or against Monte Carlo or Chi-square AR1 levels as in redfit, available in dplR.

Usage

1
prelim_record_check(record_time)

Arguments

record_time

A time vector, in fractional julian date.

Value

A logical data frame with check values.

Examples

1
2
3
4
weather_record <- get_noaaisd_data(usaf = "702700",
                                   wban = "00489",
                                   years = 2014:2015)
prelim_record_check(weather_record$jday)

georgebiogeekwang/tempcycles documentation built on May 17, 2019, 1:15 a.m.