Coder Social home page Coder Social logo

starmap-svg's Introduction

starmap-svg

for generating svg starmaps from selected coordinates and time

Requirements

Python > 3.2 
pip install svgwrite

Usage

python starmap.py -h

optional arguments:
  -h, --help            show this help message and exit

  -coord COORD, --coord COORD
                        coordinates in format northern,eastern
  -time TIME, --time TIME
                        time in format hour.minute.second
  -date DATE, --date DATE
                        date in format day.month.year
  -utc [UTC], --utc [UTC]
                        utc of your location -12 to +12
  -magn [MAGN], --magn [MAGN]
                        magnitude limit 0.1-12.0
  -summertime [SUMMERTIME], --summertime [SUMMERTIME]
                        if it is summertime on the date of the starchart
  -guides [GUIDES], --guides [GUIDES]
                        draw guides True/False
  -constellation [CONSTELLATION], --constellation [CONSTELLATION]
                        show constellation True/False
  -o OUTPUT, --output OUTPUT
                        output filename.svg
  -width [WIDTH], --width [WIDTH]
                        width in mm
  -height [HEIGHT], --height [HEIGHT]
                        height in mm
  -info INFO, --info INFO
                        Info text example eame of the place

Example 1

python starmap.py -coord 60.186,24.959 -time 12.00.00 -date 01.01.2000 -utc +2 -constellation True

image

Example 2

python starmap.py -coord 35.684,139.728 -time 20.00.00 -date 15.07.2018 -utc +9 -info TOKYO -guides True -magn 10.0 -width 150 -height 220

image

Info

Stars data: "Yale Bright Star Catalog ver5" http://tdc-www.harvard.edu/catalogs/bsc5.html

TODO

Planets and Moon orbits, Automated summertime.

starmap-svg's People

Contributors

skeletor-git avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.