Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Utilities to work with solar time, i.e. where noon is exactly when sun culminates.

NotificationsYou must be signed in to change notification settings

EarthyScience/solartime

Repository files navigation

CRAN_Status_BadgeR-CMD-check

Overview

Thesolartime package provides utilities to work with solar time,i.e. where noon is exactly when sun culminates. It provides functions tocompute

  • difference between local time zone and solar time
  • sun position
  • sunrise, sunset, daylength, and daytime flags

Installation

# From CRAN (in future)#install.packages("solartime")# Or the the development version from GitHub:# install.packages("devtools")devtools::install_github("bgctw/solartime")

Usage

The city of Jena is located west of the timezone’s meridian. Hence, thesun culminates around 13 minutes later.

The time difference shifts during the year because ofearth orbit’seccentricity.

require(solartime,quietly=TRUE)latDeg<-50.93;longDeg<-11.57doy<-1:366locaDiffMin<-60* computeSolarToLocalTimeDifference(longDeg,timeZone=1L,doy=doy)plot(locaDiffMin~doy,ylab="time difference solar - local time (min)")abline(h=localDiff); abline(h=0,lty="dotted")

See thepackagevignettes(*.md) for further examples.

About

Utilities to work with solar time, i.e. where noon is exactly when sun culminates.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp