{ "info": { "author": "Andrew Annex", "author_email": "annex@jhu.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: GIS" ], "description": "Circ\n====\n\n*Making just ok CTX mosaics since 2018*\n\nCirc builds CTX mosaics by reading the CTX image metadata to select images that\nintersect the bounding box the user provides, and then does some basic filtering and\nstochastic image reduction to come up with a reasonably minimal list of images that cover the bbox\nand have low-ish emission angles.\n\nThe images used come from ASU Mars Space Flight Facility viewer.mars.asu.edu.\n\n\nInstallation\n------------\n\ncurrently you must have gdal and wget installed and available in your PATH.\nthen download or clone the repo and then run `python setup.py install`\n\n\nUsage\n----- \n\n.. code:: bash\n\n Usage: circ make-vrt MINX MINY MAXX MAXY [NAME] [EM_TOL] [DRY_RUN]\n circ make-vrt --minx MINX --miny MINY --maxx MAXX --maxy MAXY [--name NAME] [--em-tol EM_TOL] [--dry-run DRY_RUN]\n\n\nSpecify a minimum and maximum longitude (minx maxx) and a minimum and maximum latitude (miny maxy).\nBy default the maximum emission angle allowed is 5.0, but this can be reduced to lower values without\nloosing much spatial coverage if any. Try using the `--dry-run` flag and different emission angle values to\nobserve how the count in images changes for your bbox.\n\nSo to make a ctx mosaic around Gale Crater, after installation simply run:\n\n.. code:: bash\n\n circ make-vrt 136.0 -7.0 139.5 -3.5 --name gale --em_tol 1.0\n\n\nThis will create a folder called `gale` in which a bunch of ctx images will be downloaded. Also the emission angle tolerance has been lowered to 1.0 (less than or equal to)\nThe bbox passed in here is a bit larger than is truly needed, so some extra images will be downloaded.\nIf you are running this example it would be worth contracting it by a half to three quarters of a degree for each coordinate.\n\nThe VRT image created at the end can then be used directly in applications like QGIS or to construct a merged image (which would take less disk space) using other gdal command line tools like so:\n\n.. code:: bash\n\n gdal_translate -co COMPRESS=JPEG -co TILED=YES -co COPY_SRC_OVERVIEWS=YES gale.vrt gale_jpeg.tif\n gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config JPEG_QUALITY_OVERVIEW 85 gale_jpeg.tif 2 4 8\n\n\n\nTo see that we actually saved space, here is the total space the gale folder takes:\n\n.. code:: bash\n\n du -sh ./gale\n 5.0G ./gale\n\n\nAnd this is the amount of space the final jpeg compressed tif version has:\n\n.. code:: bash\n\n du -sh ./gale_jpeg.tif\n 817M ./gale\n\n\nAt this point you can delete the vrt and folder of tiffs to save disk space, and use other gdal commands to clip the mosaic to clip the mosaic to the bounding box.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/AndrewAnnex/circ/archive/0.0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrewannex/circ", "keywords": "mars,nasa,ode,pds,cli,tool,ctx,circ,mosaic,gdal", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "circ", "package_url": "https://pypi.org/project/circ/", "platform": "", "project_url": "https://pypi.org/project/circ/", "project_urls": { "Download": "https://github.com/AndrewAnnex/circ/archive/0.0.1.tar.gz", "Homepage": "https://github.com/andrewannex/circ" }, "release_url": "https://pypi.org/project/circ/0.0.1/", "requires_dist": [ "sh", "tqdm", "requests", "fire", "moody", "geopandas", "shapely", "deco" ], "requires_python": "", "summary": "A basic CLI to make mosaic vrts using ctx imagery", "version": "0.0.1" }, "last_serial": 3499015, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5c9399053cc3d03b9ca16a350b6ab9b7", "sha256": "99c5d2abd6d18e36493ad8443a17391ed879a2c9db088539a7db87375c091fdf" }, "downloads": -1, "filename": "circ-0.0.1-py36-none-any.whl", "has_sig": false, "md5_digest": "5c9399053cc3d03b9ca16a350b6ab9b7", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 8743998, "upload_time": "2018-01-18T00:19:08", "url": "https://files.pythonhosted.org/packages/e3/99/760733efc234c026599d44fc43958001e098463511f789eb0b294c648f14/circ-0.0.1-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af8ef1527c101d84a9719564998b429e", "sha256": "6075e370efdac042eff2ecf4368b31ab18f1f4c7f757692b26b4e21b3843a9fc" }, "downloads": -1, "filename": "circ-0.0.1.tar.gz", "has_sig": false, "md5_digest": "af8ef1527c101d84a9719564998b429e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8506553, "upload_time": "2018-01-18T00:19:21", "url": "https://files.pythonhosted.org/packages/be/3e/99b140efe8fb16fef2249a570d63d9c4765e7bae1690489b07bdf50d46ac/circ-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c9399053cc3d03b9ca16a350b6ab9b7", "sha256": "99c5d2abd6d18e36493ad8443a17391ed879a2c9db088539a7db87375c091fdf" }, "downloads": -1, "filename": "circ-0.0.1-py36-none-any.whl", "has_sig": false, "md5_digest": "5c9399053cc3d03b9ca16a350b6ab9b7", "packagetype": "bdist_wheel", "python_version": "py36", "requires_python": null, "size": 8743998, "upload_time": "2018-01-18T00:19:08", "url": "https://files.pythonhosted.org/packages/e3/99/760733efc234c026599d44fc43958001e098463511f789eb0b294c648f14/circ-0.0.1-py36-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af8ef1527c101d84a9719564998b429e", "sha256": "6075e370efdac042eff2ecf4368b31ab18f1f4c7f757692b26b4e21b3843a9fc" }, "downloads": -1, "filename": "circ-0.0.1.tar.gz", "has_sig": false, "md5_digest": "af8ef1527c101d84a9719564998b429e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8506553, "upload_time": "2018-01-18T00:19:21", "url": "https://files.pythonhosted.org/packages/be/3e/99b140efe8fb16fef2249a570d63d9c4765e7bae1690489b07bdf50d46ac/circ-0.0.1.tar.gz" } ] }