-
Using suncalc 0.5.0
Some code that recreates the issue:
```
suncalc::getSunlightTimes(
date = as.Date("2018-05-24"),
lat = 53.53043,
lon = -113.51,
keep = c("dusk", "night", "dawn","n…
-
Hello gregseth!
PHP 5.6.3 (cli) (built: Nov 14 2014 20:21:33)
Zend Engine v2.6.0
with Zend OPcache v7.0.4-dev
```
```
Timestamp: 367930576.999999
Fraction: 0.00055706175882264
Phase: 0…
-
I tested it through the following codes:
const suncalc=require('suncalc');
console.log(suncalc.getTimes(new Date(1971, 10, 27), 25.0, 119.0).sunrise);
console.log(suncalc.getTimes(new Date(19…
ghost updated
5 years ago
-
<script src="http://openingh.openstreetmap.de/evaluation_tool/node_modules/suncalc/suncalc.js">
<script src="http://openingh.openstreetmap.de/evaluation_tool/opening_hours.js">
-
Need this to calculate certain times even before sunrise. When is the sun X degrees below/above the horizon?
Suncalc has a function called addtimes() that takes an angle as a parameter and returns a…
-
I was doing some investigation of sunsets and I noticed something strange:
> SunCalc.getTimes(new Date(2017, 6, 11), 40.7128, -74.0060).sunset
Mon Jul 10 2017 20:29:46 GMT-0400 (EDT)
> SunCal…
-
PySolar seems to produce discontinuous sun elevation/altitude around sunset (and also near sunrise): there is a ~0.6deg jump in the following test case. May be related to #115.
Minimal example show…
-
As a different option to solar irradiance sometimes you want a categorical variable for day/night/or crepuscular periods. The function I currently use pulls down sunrise/sunset times using package sun…
-
Sun and moon positions are (to a greater or lesser extent) dependent on elevation as well as latitude/longitude. The `suncalc` library used accepts an optional `height` parameter, defaulting to the ge…
-
Hi,
thank you for this cool plugin, but I cannot find the moonphase (which Suncalc supports) :-(