intractable / horizon Goto Github PK
View Code? Open in Web Editor NEWA Haskell package for approximate sunrise and sunset UTC times from latitude and longitude
License: BSD 3-Clause "New" or "Revised" License
A Haskell package for approximate sunrise and sunset UTC times from latitude and longitude
License: BSD 3-Clause "New" or "Revised" License
These are useful for calculating solar panel parameters eg http://www.itacanet.org/the-sun-as-a-source-of-energy/part-3-calculating-solar-angles/
It can be useful to know when solar noon is, for example I'm using this to track solar panel behavior. Looks like solarTransit could be exported, perhaps with a conversion to UTCTime.
Thanks for this package.
It needs base version increased to work with recent versions of ghc. cabal install --allow-newer got it installed with base-4.11.
It can be useful to know when the sun is centered on the horizon, or when it is completely behind the horizon, or when it has completely cleared the horizon. For example, I may want to know when to go out to enjoy a sunset, or I may want to know when to expect first light hitting solar panels.
The -0.83 in the code is tuning for the sun's upper limb touching the horizon. So that could be parameterized one way or other. I have a list of some common values, but it seems it sometimes needs to be corrected for altitude so perhaps exposing the parameter would be best.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.