Giter Site home page Giter Site logo

azizimalek / ruaumoko Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuspaceflight/ruaumoko

0.0 0.0 0.0 117 KB

Python module and web API for worldwide elevation data.

License: GNU General Public License v3.0

Shell 6.99% Python 84.32% Dockerfile 2.70% Cython 5.98%

ruaumoko's Introduction

Ruaumoko: Elevation API for Tawhiri

Build Status Coverage Status PyPI version PyPI downloads

A Python module and web API for worldwide elevation data.

This project is a part of the larger Tawhiri Landing Predictor Software.

The digital elevation data is sourced from the Viewfinder Panoramas website.

See the CUSF wiki for more details: http://www.cusf.co.uk/wiki/ruaumoko.

Authors

See AUTHORS.

License

Ruaumoko is Copyright 2014 (see AUTHORS & individual files) and licensed under the GNU GPL 3 (see LICENSE).

Dependencies

Python dependences may be found in requirements.txt. To run the downloader you will also require the convert command (from imagemagick).

Running a development webserver

The ruaumoko-api command can be used to run a development web server.

$ ruaumoko-api runserver

This will use the default configuration. To use a custom configuration to, for example, change the dataset location and enable debugging use the RUAUMOKO_SETTINGS environment variable:

$ cat > ruaumoko-development.txt <<EOL
ELEVATION_DIRECTORY = '/path/to/your/dataset'
DEBUG = True
EOL
$ RUAUMOKO_SETTINGS=ruaumoko-development.txt ruaumoko-api runserver

Dataset Format

Throughout Ruaumoko, data is indexed latitude-first/row-first

The 15-arcsecond (i.e., dividing a degree into 240 points) data comes as a grid of 24 TIFs, named A-X (C layout). Each TIF is a 10801 by 14401 array of 16 bit signed integers. The download script concatenates the arrays (after unpacking the TIFs) to get a single binary file, which is cast to an array with dimensions (4, 6, 10801, 14401).

Note that 4 * 10800 = 180 * 240 and 6 * 14400 = 360 * 240.

Each TIF overlaps with the ones on each side by one row, that is, the 10801th row of 'A' is the same as the 1st row of chunk 'G'.

The top left corner of chunk A is at (lat) 90 (lng) -180. Latitude decreases down the rows; longitude increases along the columns.

ruaumoko's People

Contributors

rjw57 avatar danielrichman avatar adamgreig avatar priyeshpatel avatar aziziretailetics 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.