Giter Club home page Giter Club logo

pyalmanac's Introduction

Pyalmanac

Pyalmanac is a Python script that creates the daily pages of the Nautical Almanac. These are tables that are needed for celestial navigation with a Sextant.

This fork of the original code (which can be found at: https://github.com/rodegerdts/Pyalmanac) aims to include a brief guide to celestial navigation and tables of other numbers required to take a sextant measurement and produce a line of position.

WARNING

These tables are generated without warranty or guarantee and should be used with caution. The original author states on his web page (https://sv-inua.net/the-nautical-almanac) that he has tested the code against a 2009 Nautical Almanac (which is published by the UK and US) and could not find any errors over 0.3'.

Requirements

Most of the heavy computing is done by the free Pyephem library. Typesetting is done by TeX/LaTeX So before you can use this program you need to install:

Python v2.x (2.6 or later ) python 3 will not work out of the box

PyEphem

TeX/LaTeX

INSTALLATION Linux:

Install your platforms Python- and LaTeX distribution. Remember to chose python 2.x and install all develpment header files. Run at the command line:

pip install pyephem

Put the Pyalmanac files in any directory and start with:

python pyalmanac or ./pyalmanac

INSTALLATION MAC:

Every Mac comes with python preinstalled. You need to install the PyEphem library to use Pyalmanac. Type the following commands at the commandline (terminal app):

sudo easy_install pip

pip install pyephem

If this command fails your mac asks you if you would like to install the header files. Do so, you do not need to install the full IDE. Try again.

Install TeX/LaTeX from http://www.tug.org/mactex/

Now you are almost ready Put the Pyalmanac files in any directory and start with python pyalmanac or ./pyalmanac

pyalmanac's People

Contributors

rodegerdts avatar st599 avatar pzygielo avatar

Watchers

 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.