library(lubridate) library(hydroTools) library(magrittr) library(glue)
相关理论:
- 东八区是指东经120度线的时间。
- 时角,中午为0,下午为正,1小时为15°
lon <- 114 + 36 / 60 + 19 / 3600 lat <- 30 + 29 / 60 + 49 / 3600 str_time <- "2022-12-12 12:35:00" time <- as.POSIXct(str_time) info <- suncalc(time, lon, lat) info
lon <- 114 + 36 / 60 + 19 / 3600 lat <- 30 + 29 / 60 + 49 / 3600 str_time <- "2022-12-12 14:46:00" time <- as.POSIXct(str_time) info <- suncalc(time, lon, lat) info
注意: 1. 太阳的方位角和影子的方位角,相差180°。 2. 太阳方位角到正前方:逆时针则减,顺时针则加
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.