Giter VIP home page Giter VIP logo

neos's Introduction

An Application for Finding Out About Near Earth Objects:

NEO is a command line interface for quickly searching for and finding out about near earth objects. Users can search for a particular asteroid by name or pdes(their id in the database) or look at certain near earth objects based on their characteristics and import results to csv or json files.

Commands:

  • Positional arguments:

    • query: Shows asteroid that match certain criteria defined by the user such as. The parameters that aren'y defined will be ignored:
      • --distance-min: minimum distance between earth and asteroids
      • --distance-max:maximum distance between earth and asteroids
      • velocity_min: minimum velocity of asteroids
      • velocity_max: minimum velocity of asteroids
      • --date: date that asteroids pass earth
      • --start-date: asteroids that pass earth after this date
      • --end-date: asteroids that pass earth before this date
      • hazardous: asteroids that are recognized as hazardous
    • inspect: Specifically look for an asteroid by looking at its name or database id:
      • --name: Find asteroid with the following name.
      • --pdes: Find asteroid with the followig pdes.
      • verbose: Also print all known close approaches of this asteroid
    • interactive: Inspect and query objects at the same time. Prevents loading files everytime and speeds up the program.
  • optional arguments:

    • --neofile: Path to CSV file of near-Earth objects.
    • --cadfile: Path to JSON file of close approach data.

    Data:

    The data is divided between two files, both of which are from nasas Jet Propultion Laboratory.

    • Data about NEOs:
      • The neos file is a csv file containing information about the near earth objects detected by nasa. It has information about their names, diameter, wheather they are hazardous or not and many other things. Not all the information in the file is used in the application. The data was gathered from nasas website.
    • Data about approaches of NEOs:
      • Stored as a json file, the file contains data about various objects that have approached earth before or will in the future. It contains data like their velocity, the date of their approach, their name, and so on. The data was queried from nasa SBDB API.

Dependencies:

There are no dependencies. Just run the following command with parameters you want.

python3 main.py

neos's People

Contributors

elytgy avatar

Stargazers

Roman 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.