R/prepare_astro.R

Defines functions .prepare_astro

.prepare_astro <- function(self) {
  astro_args <- as.matrix(simon_coef_1994[, -1])

  astro <- astro(
    self$datetime$t_astro,
    astro_args,
    self$station$longitude,
    self$datetime$hours,
    self$datetime$ddt
  )

  astro_der <- astro_der(self$datetime$t_astro, astro_args)

  return(list(astro = astro, astro_der = astro_der))
}

Try the earthtide package in your browser

Any scripts or data that you put into this service are public.

earthtide documentation built on Nov. 16, 2023, 5:07 p.m.