Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tambeta/daylen
Script for generating an animation of day length isolines onto an azimuthal map
https://github.com/tambeta/daylen
Last synced: about 14 hours ago
JSON representation
Script for generating an animation of day length isolines onto an azimuthal map
- Host: GitHub
- URL: https://github.com/tambeta/daylen
- Owner: tambeta
- License: bsd-3-clause
- Created: 2016-06-22T18:20:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-23T10:08:06.000Z (over 8 years ago)
- Last Synced: 2023-07-21T18:15:15.151Z (over 1 year ago)
- Language: Python
- Size: 2.87 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# daylen
A Python 3 script for generating an animation of day length isolines onto an
azimuthal map.Since it's intended as a one-off script, there is no command-line interface
and control of the script is via hardcoded constants. Feel free to fork and
improve the interface, though.The script requires the [astral](https://pypi.python.org/pypi/astral) module.
The base map was generated using [this](http://ns6t.net/azimuth/azimuth.html)
excellent service.To generate the animation using ffmpeg:
$ mkdir out
$ ./daylen.py
$ cd out
$ ffmpeg -pattern_type glob -i '*.png' -vf scale=-2:720 -c:v libx264 -preset slow -crf 20 out.mp4Results:
* [Sunrise - sunset](https://gfycat.com/CrispPlayfulAllosaurus)
* [Dawn - dusk](https://gfycat.com/YellowishEducatedBlackmamba)