moody


Namemoody JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/andrewannex/moody
SummaryA basic CLI to download data from the Mars ODE PDS Node
upload_time2023-08-22 21:04:15
maintainer
docs_urlNone
authorAndrew Annex
requires_python
licenseMIT
keywords mars nasa ode pds cli tool
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            moody
=====

Moody is a CLI for the Mars ODE PDS Node. It implements some basic
queries against the ODE to download certain files from the ODE. Currently it is focused on
providing commands to download HiRISE and CTX raw files by productId instead of by wgeting the url directly.

The name 'moody' came from thinking about Mars, the ODE, and Python at the same time (but in a good way).

Installation
------------
run `pip install moody`

Chat
----

There is a moody specific gitter room, but the maintainers also hang out in the `open planetary slack <https://openplanetary.slack.com/>`_

|Gitter|

.. |Gitter| image:: https://badges.gitter.im/AndrewAnnex/moody.svg
   :target: https://gitter.im/AndrewAnnex/moody?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge

Usage
-----

Moody by default will use https to download and query the ODE, but
this behavior can be changed by appending ``--nohttps`` to the end of any command.

Download a CTX EDR IMG file::

    moody ctx-edr P16_007428_1845

Will download the ctx edr IMG file ``P16_007428_1845_XN_04N029W.IMG`` to the current working directory

Download all HiRISE EDR IMG files for a particular observation::

    moody hirise-edr ESP_028335_1755

Will download all HiRISE EDR images for the ``ESP_028335_1755`` observation to the current working directory.

To download a csv of the MOLA PEDR data for a given 1 degree bounding box (in 0-360 coords)::

    moody pedr 0 0 1 1

Commands
--------
A list of comands and usages are listed below and can be found directly from moody using the ``--help`` flag::

    moody [HTTPS]
    moody [--use-https HTTPS]

    moody ctx-edr PID [CHUNK_SIZE]
    moody ctx-edr --pid PID [--chunk-size CHUNK_SIZE]

    moody hirise-edr PID [CHUNK_SIZE]
    moody hirise-edr --pid PID [--chunk-size CHUNK_SIZE]


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/andrewannex/moody",
    "name": "moody",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "mars,nasa,ode,pds,cli,tool",
    "author": "Andrew Annex",
    "author_email": "annex@jhu.edu",
    "download_url": "https://files.pythonhosted.org/packages/93/84/bc46323b58938aeb3b522adc04138f80c2cb2d438c1061aaa8a2e3bc19aa/moody-0.2.3.tar.gz",
    "platform": null,
    "description": "moody\n=====\n\nMoody is a CLI for the Mars ODE PDS Node. It implements some basic\nqueries against the ODE to download certain files from the ODE. Currently it is focused on\nproviding commands to download HiRISE and CTX raw files by productId instead of by wgeting the url directly.\n\nThe name 'moody' came from thinking about Mars, the ODE, and Python at the same time (but in a good way).\n\nInstallation\n------------\nrun `pip install moody`\n\nChat\n----\n\nThere is a moody specific gitter room, but the maintainers also hang out in the `open planetary slack <https://openplanetary.slack.com/>`_\n\n|Gitter|\n\n.. |Gitter| image:: https://badges.gitter.im/AndrewAnnex/moody.svg\n   :target: https://gitter.im/AndrewAnnex/moody?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge\n\nUsage\n-----\n\nMoody by default will use https to download and query the ODE, but\nthis behavior can be changed by appending ``--nohttps`` to the end of any command.\n\nDownload a CTX EDR IMG file::\n\n    moody ctx-edr P16_007428_1845\n\nWill download the ctx edr IMG file ``P16_007428_1845_XN_04N029W.IMG`` to the current working directory\n\nDownload all HiRISE EDR IMG files for a particular observation::\n\n    moody hirise-edr ESP_028335_1755\n\nWill download all HiRISE EDR images for the ``ESP_028335_1755`` observation to the current working directory.\n\nTo download a csv of the MOLA PEDR data for a given 1 degree bounding box (in 0-360 coords)::\n\n    moody pedr 0 0 1 1\n\nCommands\n--------\nA list of comands and usages are listed below and can be found directly from moody using the ``--help`` flag::\n\n    moody [HTTPS]\n    moody [--use-https HTTPS]\n\n    moody ctx-edr PID [CHUNK_SIZE]\n    moody ctx-edr --pid PID [--chunk-size CHUNK_SIZE]\n\n    moody hirise-edr PID [CHUNK_SIZE]\n    moody hirise-edr --pid PID [--chunk-size CHUNK_SIZE]\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A basic CLI to download data from the Mars ODE PDS Node",
    "version": "0.2.3",
    "project_urls": {
        "Download": "https://github.com/AndrewAnnex/moody/archive/0.2.3.tar.gz",
        "Homepage": "https://github.com/andrewannex/moody"
    },
    "split_keywords": [
        "mars",
        "nasa",
        "ode",
        "pds",
        "cli",
        "tool"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81403a3998b7c391b9b49c16bc68809f28cc8f874d476b3c5e45a6e916bb3f1f",
                "md5": "27d174b62edbb2c4ac31644365512c29",
                "sha256": "40964fe8fc285e8829233390e6272e6a4a58185a3ae87c0160906177b2fc58f9"
            },
            "downloads": -1,
            "filename": "moody-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27d174b62edbb2c4ac31644365512c29",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7760,
            "upload_time": "2023-08-22T21:04:14",
            "upload_time_iso_8601": "2023-08-22T21:04:14.366068Z",
            "url": "https://files.pythonhosted.org/packages/81/40/3a3998b7c391b9b49c16bc68809f28cc8f874d476b3c5e45a6e916bb3f1f/moody-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9384bc46323b58938aeb3b522adc04138f80c2cb2d438c1061aaa8a2e3bc19aa",
                "md5": "ce03dffe6233610767ff43df50520910",
                "sha256": "8585101fcdeb45a5666eb516498abb0ca93f352a7c1e5628998eb2513bf11cff"
            },
            "downloads": -1,
            "filename": "moody-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "ce03dffe6233610767ff43df50520910",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6198,
            "upload_time": "2023-08-22T21:04:15",
            "upload_time_iso_8601": "2023-08-22T21:04:15.803332Z",
            "url": "https://files.pythonhosted.org/packages/93/84/bc46323b58938aeb3b522adc04138f80c2cb2d438c1061aaa8a2e3bc19aa/moody-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-22 21:04:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "andrewannex",
    "github_project": "moody",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "moody"
}
        
Elapsed time: 0.10235s