vipersci


Namevipersci JSON
Version 0.11.0 PyPI version JSON
download
home_pagehttps://github.com/NeoGeographyToolkit/vipersci
SummaryThe VIPER Science package is software to support the activities of the Volatiles Investigating Polar Exploration Rover (VIPER) Science Team.
upload_time2024-06-24 16:54:30
maintainerNone
docs_urlNone
authorvipersci Developers
requires_python>=3.7
licenseApache 2
keywords viper
VCS
bugtrack_url
requirements genshi geoalchemy2 geopandas matplotlib numpy pandas pillow psycopg2 pyproj pyyaml rasterio requests scikit-image scikit-learn shapely sqlalchemy tifftools
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========
vipersci
========

.. image:: https://github.com/NeoGeographyToolkit/vipersci/actions/workflows/python-test.yml/badge.svg
        :target: https://github.com/NeoGeographyToolkit/vipersci/actions

.. image:: https://codecov.io/github/NeoGeographyToolkit/vipersci/branch/main/graph/badge.svg?token=5U68VOAHGG 
 :target: https://codecov.io/github/NeoGeographyToolkit/vipersci

.. image:: https://img.shields.io/pypi/v/vipersci.svg
        :target: https://pypi.python.org/pypi/vipersci

This vipersci package is software to support the activities of the
Volatiles Investigating Polar Exploration Rover (VIPER) Science Team.

This software will implement scientific models to convert instrument
raw data to useful derived data (but not including any proprietary
instrument details). This includes functionality for running the
models "in reverse" in order to simulate instrument data for tests
and mission simulations. This software will enable and support the
creation of various geospatial data sets (maps) to help visualize
and understand data from the spacecraft. It will also support the
creation of PDS4 archive labels and structures for eventual data
delivery to the Planetary Data System (PDS).

At the moment, this repo is under significant development and change as we
attempt to craft various pieces of code.  It is definitely a work-in-progress.

The VIPER Science Team is developing this software "in the open"
in order to adhere to the new `NASA Science Information Policy for
the Science Mission Directorate (SPD-41)
<https://science.nasa.gov/science-red/s3fs-public/atoms/files/Scientific%20Information%20policy%20SPD-41.pdf>`_
as much as is possible.


* Free software: Apache 2 License

..    * Documentation: https://vipersci.readthedocs.io.
..    * `PlanetaryPy`_ Affiliate Package.


Installation
------------

The vipersci package is available on PyPI and pip-installable.

Installation via Conda will be forthcoming.

For the moment, follow the "Get Started!" directions in the CONTRIBUTING.rst document.


Contributing
------------

Feedback, issues, and contributions are always gratefully welcomed. See the
contributing guide for details on how to help and setup a development
environment.

Credits
-------

vipersci was developed in the open at NASA's Ames Research Center.

See the `AUTHORS
<https://github.com/NeoGeographyToolkit/vipersci/blob/master/AUTHORS.rst>`_
file for a complete list of developers.


License
-------

See LICENSE file for the full text of the license that applies to vipersci.

Copyright (c) 2022-2023, United States Government as represented by
the Administrator of the National Aeronautics and Space
Administration. All rights reserved.

The "vipersci" software is licensed under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with the
License.  You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License.


.. _PlanetaryPy: https://github.com/planetarypy

=========
Changelog
=========

All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

When updating this file, please add an entry for your change under
Unreleased_ and one of the following headings:

- Added - for new features.
- Changed - for changes in existing functionality.
- Deprecated - for soon-to-be removed features.
- Removed - for now removed features.
- Fixed - for any bug fixes.
- Security - in case of vulnerabilities.

If the heading does not yet exist under Unreleased_, then add it
as a 3rd level heading, underlined with pluses (see examples below).

When preparing for a public release add a new 2nd level heading,
underlined with dashes under Unreleased_ with the version number
and the release date, in year-month-day format (see examples below).


Unreleased
----------


0.11.0 (2024-06-24)
-------------------
The large number of minor changes in this release are the result of applying ufmt
to organize the imports that the top of each module, and the application of pylint
to tidy up a variety of code structures.

Added
^^^^^
- image_records.py - Added ccu_temperature and external_temperature columns to record the
  AD590 sensor data.

Fixed
^^^^^
- get_position.py - The get_position_and_pose functions now have an explicit timeout
  and throw exceptions if they have difficulties with their connection.

Changed
^^^^^^^
- requirements.txt - Added version number requirements that reflect the current testing
  environment.


0.10.0 (2024-05-28)
-------------------

Added
^^^^^
- image_records.py - Added various light_on_x columns to record the state of the
  lights in ImageRecord objects.

Changed
^^^^^^^
- create_raw.py - For the get_lights() function, session is now optional, and by default,
  the get_lights() function now relies on the values in the passed ImageRecord, but if
  given a session, the values in the light_records table will override what is in the
  ImageRecord.

0.9.2 (2024-04-15)
------------------

Fixed
^^^^^
- nss.py - The DataModeler class would incorrectly always return a weh_arr of all-NaN
  values.  This bug has been fixed, and additional safeguards and error reporting have
  been placed in the class, and tests written.

0.9.1 (2024-04-10)
------------------

Fixed
^^^^^
- anaglyph.py - when used with scikit-image versions greater than 0.21 changed the
  argument signature for phase_cross_correlation().  Fixed call, and should now
  work more globally.

0.9.0 (2024-04-08)
------------------

Added
^^^^^
- get_position.py - Now has support for http basic auth and can now handle returns
  from the REST service that could be either a sequence of elements or a single
  element.
- create_raw.py - Updated to accommodate the icer_minloss and icer_byte_quota properties
  of an ImageRecord.
- image_records.py - Added properties for the new image_nickname and waypoint_id
  properties, and updated the concept of capture_id to be a combination of the
  waypoint_id and the locally unique_capture_id, instead of a combination of the
  locally unique_capture_id and the image_request_id.

Fixed
^^^^^
- pano_check.py - removed a redundant argument.
- create_mmgis_pano.py - outpaths for saving the pano and thumbnail were being
  incorrectly generated.


0.8.0 (2024-02-21)
------------------

Changed
^^^^^^^
- The instrument_name() function in pid.py now can deal with alias names that are
  within a given string, not just an exact match.
- Now that pid.instrument_name() is more robust, ImageRecord.__init__() can handle a
  wider variety of Yamcs parameter names, should they change in the future.
- create_mmgis_pano.py - create() now takes a thumbsize int or tuple of ints that
  will control the creation and size of an output thumbnail JPG file, with naming
  convention set by Yamcs/OpenMCT.
- image_records.py - Added icer_byte_quota and icer_minloss parameters to ImageRecord,
  as well as a variety of improved handling related to this change and in pid.py.
- pid.py - Changed handling of the compression value to match the kinds of data we'll
  get from telemetry, so that the letters are assigned to cover an interval of possible
  compression ratios, and to reflect the new default byte quota value for driving
  images.

0.7.0 (2024-02-05)
------------------

Changed
^^^^^^^
- The light_records.py table now just records state changes (from 'on' to 'off' or
  vice-versa).
- create_image.py's create() method now has an imgtype argument that default to TIFF
  (but can be PNG).
- junc_image_req_ldst.py got some additional columns to manage the Science Team
  evaluation of images acquired from Image Requests.
- create_pano.py's make_pano_product() function renamed to make_pano_record().
- nss_simulator.py - nodata defaults for ideal detector count maps updated to more
  realistic values for dry terrain.
- image_statistics.py - Added additional stats in the compute() function, and added
  a pprint() function to format the info nicely.

Added
^^^^^
- pds.Purpose now provides names and explanations for the PDS-allowable values
  for "purpose."
- yamcs_reception_time column added to the image_records.py table.
- Association table junc_image_pano created which provides a many-to-many
  connection between ImageRecords and PanoRecords and added bidirectional
  relationship entries to each table.
- pano_records table now has pan and tilt angle min/max values to indicate
  angular range of panorama coverage.
- ImageRecord objects will now extract an ImageRequest ID from the provided capture_id
  if it is larger than the 16 bit range.
- image_requests.py - "Acquired," "Not Acquired," "Not Planned," and "Not Obtainable"
  statuses added to enum.  Also added asdict() method.
- ptu_records.py - Tables to record the pan and tilt of the rover's pan-tilt-unit (PTU).
- create_browse.py - For making browse products from existing image products.
- create_mmgis_pano.py - For making pano products for use in MMGIS.
- create_pano.py - updated to correctly add PanoRecord associations, can now query
  database for ImageRecords.
- create_pano_product.py - takes PanoRecords and makes a PDS Pano Product.
- get_position.py - Gets position and yaw from a REST-based service.
- create_vis_dbs.py - Now also supports spatialite databases, primarily for testing.
- create_raw.py - Added components for adding observational intent and data quality
  to the XML label.
- labelmaker - A program to help build PDS4 bundle and collection labels.
- bundle_install - A program to copy just the files related to a PDS4 bundle into a
  new location.  Fundamentally allowing a "make install" for PDS4 bundles.

Removed
^^^^^^^
- ldst_verification.py because the evaluation activity reflected here was on a per-image
  basis, but it has been revised to be on a per-Image-Request basis.


0.6.1 (2023-09-25)
------------------

Fixed
^^^^^
- validators.validate_dateimte_asutc now properly raises a ValueError if the provided
  tz-aware datetime has a non-UTC tz offset (before any tz-aware datetime would pass
  the validator).
- image_records.ImageRecord object now has pgaGain instead of ppaGain (which was surely
  a typo in the early upstream data.
- create_image.py now correctly imports all of the tables that have a relation to the
  image_records table so that SQLAlchemy can properly resolve them, and downstream
  users of the create_image.create() function don't need to worry about sorting that
  out.
- nss_simulator.py, when asked to produce an output set of maps, uses a zero nodata value
  rather than whatever nodata value was present in the input burial depth map.
- anaglyph.py needed some minor changes to align with upcoming changes in the
  scikit-image architecture.


0.6.0 (2023-09-25)
------------------

Changed the concept of primarily recording PDS-like "products" in the database and data
structures, and changed the concept to capture "records" of various kinds (ImageRecords,
LightRecords, and derived things like PanoRecords) in the database and as the primary
data unit for use and interaction.  And then PDS "products" will be made at a later
time via a process that sources one or many records.

Added
^^^^^
- image_records.py (this replaces the concept of raw_products.py)
- create_image.py (this replaces most of the functionality of the previous
  create_raw.py)
- image_tags.py which contains image tag information.
- image_requests.py defines the table for holding image requests.
- Junction tables to connect LDST information to ImageRequests and ImageTags
  to ImageRecords.
- ldst.py table which contains LDST information.
- light_records.py which handles information about luminaire state.
- anaglyph.py
- pano_check.py to sort through image records and figure out what would be a good
  panorama set.

Changed
^^^^^^^
- header.pga_gain_dict structure now has values that are always floats, which helps
  to determine whether this transformation needs to be applied.
- image_stats.py is the new raw_stats.py, supporting ImageRecord objects.
- pano_products.py is now pano_records.py, supporting ImageRecord objects.
- create_pano.py now supports ImageRecords and PanoRecords.
- create_raw.py rearchitected to gather information from "records" to build XML PDS
  labels.
- create_vis_dbs entry point changed to vis_create_dbs to conform with other vis-related
  entry points.
- pid.VISID now properly sorts the uncompressed "z" state lower (better) than the
  lossless compressed "a" state.
- pid.VISID now has a best_compression() function to sort out the best compression state
  from an iterable containing may compression states from a single observation.


0.5.0 (2023-07-26)
------------------

Added
^^^^^
- PanoID class added to pds.pid
- pano_products and create_pano added, still very preliminary, mostly just mock-ups.
- colorforge program for managing colormaps.
- mypy is now in the development dependencies to support type checking.
- lint/mypy target added to Makefile.
- tri2gpkg now has a --remove_facets option to remove facets with a particular value.


Changed
^^^^^^^
- Explicit in documentation about developing in Python 3.8 (although earlier versions
  should still be supported).
- Many changes to improve type checking.
- Added numeric instrument aliases and checking for them.
- Added information for procesingInfo and outputMask from Yamcs.
- Upgrade to SQLAlchemy >=2.
- Moved definition of Base class up to vis.db.
- heatmaps.py will now accept value data lists or arrays with np.nan or None values
  which will be appropriate ignored in the density heatmap calculation.


Fixed
^^^^^
- tri2gpkg - if the provided polygons have zero area, issue an error rather than
  making a confusing GeoPackage file.



0.4.0 (2023-03-01)
------------------

Added
^^^^^
- carto.bounds module added to unify functionality for both heatmaps and dotmaps.
- carto.dotmap module for creating simple heatmap-like visualizations from 2d scalar data.
- Makefile now has a "lint/twine" option to hopefully help me remember to test that.
- VIS image_statistics.py and raw_stats.py modules.
- A variety of unit tests.
- mypy configuration arguments.

Changed
^^^^^^^
- Updated templates and modules for PDS information model 21.
- Flattened test directory structure.
- tri2gpkg -v is no longer an alias for --value-names, as it now determines verbosity
  since logging has been added.
- GitHub workflows have been re-arranged.  Black and flake8 are now run under the "Lint"
  action, and the flake8 tests are removed from the Python testing matrix.

Removed
^^^^^^^
- The pinned versions requirements_dev.txt

Fixed
^^^^^
- CHANGELOG.rst had an unescaped underbar which caused trouble with twine upload.
- setup.cfg arrangement in install_requires passed local testing, but not GitHub testing,
  have now fixed.
- heatmap's generate_density_heatmap() function now properly returns values of zero
  in the returned out_count numpy array when there are no counts in those grid cells
  instead of the provided nodata value.
- raw-template.xml can only have one Image_Filter object.
- tri2gpkg now works correctly if --keep_z is specified
- tri2gpkg now uses the correct srs if a pre-defined site is selected.


0.3.0 (2022-11-15)
------------------

Added
^^^^^
- pds.datetime.fromisozformat() function.
- pds.pid.VISID.compression_class() function.
- pds.xml.py added, very minimal, functionality may be moved.
- vis.db.raw_products.RawProduct.from_xml() function.
- vis.db.raw_products.RawProduct.asdict() function.
- vis.pds.create_raw.check_bit_depth() function.
- vis.db.create_vis_dbs convenience program to add empty tables to database.

Changed
^^^^^^^
- Updated templates and modules for PDS information model 18.
- vis.db.raw_products.RawProduct has some improved error-checking in __init__() and
  validate_datetime_asutc().
- vis.db.raw_products.RawProduct product_id column is now unique in database.
- vis.db.raw_products.RawProduct md5_checksum changed to file_md4_checksum to
  clearly associate it with the other properties that begin with "file\_".
- vis.pds.create_raw.tiff_info() no longer raises an error if a bit depth other than 16
  is provided.
- vis.pds.create_raw now creates .JSON output files by default instead of XML PDS4
  labels, but XML files can still be made.
- carto.heatmap.write_geotiff_rasterio now supports compressed output and defaults to "deflate"


Fixed
^^^^^
- carto.tri2gpkg.replace_with() now correctly returns a float value in all circumstances.
- pds.pid.VIPERID.datetime() now properly returns datetimes with a UTC timezone.
- vis.db.raw_products.RawProduct.label_dict() now correctly sets sample_bits and
  sample_bit_mask if the image is a SLoG image.
- Added __init__.py files to all modules (some modules did not get incorporated into the
  PyPI package because they did not have __init__.py files.
- The setup.cfg now properly includes requirements that vipersci needs.

Removed
^^^^^^^
- Many modules still had if __name__ == "__main__" constructs from early development
  which are now not needed with the entry points in setup.cfg.


0.2.0 (2022-11-07)
------------------

Added
^^^^^
- Data Simulators for NSS, NIRVSS, and MSolo
- Lots of material to enaable PDS archiving of VIS data.
- Added GitHub workflow to perform Black format checking

Changed
^^^^^^^
- Many updates to heatmap.py
- Applied Black formatting to all code in the repo.
- Modified Python testing workflow to actually work.


0.1.0 (2022-10-05)
------------------
Initial release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/NeoGeographyToolkit/vipersci",
    "name": "vipersci",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "VIPER",
    "author": "vipersci Developers",
    "author_email": "Ross.A.Beyer@nasa.gov",
    "download_url": "https://files.pythonhosted.org/packages/b0/81/b6fb104559b303a92c19bd0f0e2257b6ffb300de0fa67c579fd9fa25f326/vipersci-0.11.0.tar.gz",
    "platform": null,
    "description": "========\nvipersci\n========\n\n.. image:: https://github.com/NeoGeographyToolkit/vipersci/actions/workflows/python-test.yml/badge.svg\n        :target: https://github.com/NeoGeographyToolkit/vipersci/actions\n\n.. image:: https://codecov.io/github/NeoGeographyToolkit/vipersci/branch/main/graph/badge.svg?token=5U68VOAHGG \n :target: https://codecov.io/github/NeoGeographyToolkit/vipersci\n\n.. image:: https://img.shields.io/pypi/v/vipersci.svg\n        :target: https://pypi.python.org/pypi/vipersci\n\nThis vipersci package is software to support the activities of the\nVolatiles Investigating Polar Exploration Rover (VIPER) Science Team.\n\nThis software will implement scientific models to convert instrument\nraw data to useful derived data (but not including any proprietary\ninstrument details). This includes functionality for running the\nmodels \"in reverse\" in order to simulate instrument data for tests\nand mission simulations. This software will enable and support the\ncreation of various geospatial data sets (maps) to help visualize\nand understand data from the spacecraft. It will also support the\ncreation of PDS4 archive labels and structures for eventual data\ndelivery to the Planetary Data System (PDS).\n\nAt the moment, this repo is under significant development and change as we\nattempt to craft various pieces of code.  It is definitely a work-in-progress.\n\nThe VIPER Science Team is developing this software \"in the open\"\nin order to adhere to the new `NASA Science Information Policy for\nthe Science Mission Directorate (SPD-41)\n<https://science.nasa.gov/science-red/s3fs-public/atoms/files/Scientific%20Information%20policy%20SPD-41.pdf>`_\nas much as is possible.\n\n\n* Free software: Apache 2 License\n\n..    * Documentation: https://vipersci.readthedocs.io.\n..    * `PlanetaryPy`_ Affiliate Package.\n\n\nInstallation\n------------\n\nThe vipersci package is available on PyPI and pip-installable.\n\nInstallation via Conda will be forthcoming.\n\nFor the moment, follow the \"Get Started!\" directions in the CONTRIBUTING.rst document.\n\n\nContributing\n------------\n\nFeedback, issues, and contributions are always gratefully welcomed. See the\ncontributing guide for details on how to help and setup a development\nenvironment.\n\nCredits\n-------\n\nvipersci was developed in the open at NASA's Ames Research Center.\n\nSee the `AUTHORS\n<https://github.com/NeoGeographyToolkit/vipersci/blob/master/AUTHORS.rst>`_\nfile for a complete list of developers.\n\n\nLicense\n-------\n\nSee LICENSE file for the full text of the license that applies to vipersci.\n\nCopyright (c) 2022-2023, United States Government as represented by\nthe Administrator of the National Aeronautics and Space\nAdministration. All rights reserved.\n\nThe \"vipersci\" software is licensed under the Apache License, Version 2.0\n(the \"License\"); you may not use this file except in compliance with the\nLicense.  You may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\nimplied. See the License for the specific language governing\npermissions and limitations under the License.\n\n\n.. _PlanetaryPy: https://github.com/planetarypy\n\n=========\nChangelog\n=========\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,\nand this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.\n\nWhen updating this file, please add an entry for your change under\nUnreleased_ and one of the following headings:\n\n- Added - for new features.\n- Changed - for changes in existing functionality.\n- Deprecated - for soon-to-be removed features.\n- Removed - for now removed features.\n- Fixed - for any bug fixes.\n- Security - in case of vulnerabilities.\n\nIf the heading does not yet exist under Unreleased_, then add it\nas a 3rd level heading, underlined with pluses (see examples below).\n\nWhen preparing for a public release add a new 2nd level heading,\nunderlined with dashes under Unreleased_ with the version number\nand the release date, in year-month-day format (see examples below).\n\n\nUnreleased\n----------\n\n\n0.11.0 (2024-06-24)\n-------------------\nThe large number of minor changes in this release are the result of applying ufmt\nto organize the imports that the top of each module, and the application of pylint\nto tidy up a variety of code structures.\n\nAdded\n^^^^^\n- image_records.py - Added ccu_temperature and external_temperature columns to record the\n  AD590 sensor data.\n\nFixed\n^^^^^\n- get_position.py - The get_position_and_pose functions now have an explicit timeout\n  and throw exceptions if they have difficulties with their connection.\n\nChanged\n^^^^^^^\n- requirements.txt - Added version number requirements that reflect the current testing\n  environment.\n\n\n0.10.0 (2024-05-28)\n-------------------\n\nAdded\n^^^^^\n- image_records.py - Added various light_on_x columns to record the state of the\n  lights in ImageRecord objects.\n\nChanged\n^^^^^^^\n- create_raw.py - For the get_lights() function, session is now optional, and by default,\n  the get_lights() function now relies on the values in the passed ImageRecord, but if\n  given a session, the values in the light_records table will override what is in the\n  ImageRecord.\n\n0.9.2 (2024-04-15)\n------------------\n\nFixed\n^^^^^\n- nss.py - The DataModeler class would incorrectly always return a weh_arr of all-NaN\n  values.  This bug has been fixed, and additional safeguards and error reporting have\n  been placed in the class, and tests written.\n\n0.9.1 (2024-04-10)\n------------------\n\nFixed\n^^^^^\n- anaglyph.py - when used with scikit-image versions greater than 0.21 changed the\n  argument signature for phase_cross_correlation().  Fixed call, and should now\n  work more globally.\n\n0.9.0 (2024-04-08)\n------------------\n\nAdded\n^^^^^\n- get_position.py - Now has support for http basic auth and can now handle returns\n  from the REST service that could be either a sequence of elements or a single\n  element.\n- create_raw.py - Updated to accommodate the icer_minloss and icer_byte_quota properties\n  of an ImageRecord.\n- image_records.py - Added properties for the new image_nickname and waypoint_id\n  properties, and updated the concept of capture_id to be a combination of the\n  waypoint_id and the locally unique_capture_id, instead of a combination of the\n  locally unique_capture_id and the image_request_id.\n\nFixed\n^^^^^\n- pano_check.py - removed a redundant argument.\n- create_mmgis_pano.py - outpaths for saving the pano and thumbnail were being\n  incorrectly generated.\n\n\n0.8.0 (2024-02-21)\n------------------\n\nChanged\n^^^^^^^\n- The instrument_name() function in pid.py now can deal with alias names that are\n  within a given string, not just an exact match.\n- Now that pid.instrument_name() is more robust, ImageRecord.__init__() can handle a\n  wider variety of Yamcs parameter names, should they change in the future.\n- create_mmgis_pano.py - create() now takes a thumbsize int or tuple of ints that\n  will control the creation and size of an output thumbnail JPG file, with naming\n  convention set by Yamcs/OpenMCT.\n- image_records.py - Added icer_byte_quota and icer_minloss parameters to ImageRecord,\n  as well as a variety of improved handling related to this change and in pid.py.\n- pid.py - Changed handling of the compression value to match the kinds of data we'll\n  get from telemetry, so that the letters are assigned to cover an interval of possible\n  compression ratios, and to reflect the new default byte quota value for driving\n  images.\n\n0.7.0 (2024-02-05)\n------------------\n\nChanged\n^^^^^^^\n- The light_records.py table now just records state changes (from 'on' to 'off' or\n  vice-versa).\n- create_image.py's create() method now has an imgtype argument that default to TIFF\n  (but can be PNG).\n- junc_image_req_ldst.py got some additional columns to manage the Science Team\n  evaluation of images acquired from Image Requests.\n- create_pano.py's make_pano_product() function renamed to make_pano_record().\n- nss_simulator.py - nodata defaults for ideal detector count maps updated to more\n  realistic values for dry terrain.\n- image_statistics.py - Added additional stats in the compute() function, and added\n  a pprint() function to format the info nicely.\n\nAdded\n^^^^^\n- pds.Purpose now provides names and explanations for the PDS-allowable values\n  for \"purpose.\"\n- yamcs_reception_time column added to the image_records.py table.\n- Association table junc_image_pano created which provides a many-to-many\n  connection between ImageRecords and PanoRecords and added bidirectional\n  relationship entries to each table.\n- pano_records table now has pan and tilt angle min/max values to indicate\n  angular range of panorama coverage.\n- ImageRecord objects will now extract an ImageRequest ID from the provided capture_id\n  if it is larger than the 16 bit range.\n- image_requests.py - \"Acquired,\" \"Not Acquired,\" \"Not Planned,\" and \"Not Obtainable\"\n  statuses added to enum.  Also added asdict() method.\n- ptu_records.py - Tables to record the pan and tilt of the rover's pan-tilt-unit (PTU).\n- create_browse.py - For making browse products from existing image products.\n- create_mmgis_pano.py - For making pano products for use in MMGIS.\n- create_pano.py - updated to correctly add PanoRecord associations, can now query\n  database for ImageRecords.\n- create_pano_product.py - takes PanoRecords and makes a PDS Pano Product.\n- get_position.py - Gets position and yaw from a REST-based service.\n- create_vis_dbs.py - Now also supports spatialite databases, primarily for testing.\n- create_raw.py - Added components for adding observational intent and data quality\n  to the XML label.\n- labelmaker - A program to help build PDS4 bundle and collection labels.\n- bundle_install - A program to copy just the files related to a PDS4 bundle into a\n  new location.  Fundamentally allowing a \"make install\" for PDS4 bundles.\n\nRemoved\n^^^^^^^\n- ldst_verification.py because the evaluation activity reflected here was on a per-image\n  basis, but it has been revised to be on a per-Image-Request basis.\n\n\n0.6.1 (2023-09-25)\n------------------\n\nFixed\n^^^^^\n- validators.validate_dateimte_asutc now properly raises a ValueError if the provided\n  tz-aware datetime has a non-UTC tz offset (before any tz-aware datetime would pass\n  the validator).\n- image_records.ImageRecord object now has pgaGain instead of ppaGain (which was surely\n  a typo in the early upstream data.\n- create_image.py now correctly imports all of the tables that have a relation to the\n  image_records table so that SQLAlchemy can properly resolve them, and downstream\n  users of the create_image.create() function don't need to worry about sorting that\n  out.\n- nss_simulator.py, when asked to produce an output set of maps, uses a zero nodata value\n  rather than whatever nodata value was present in the input burial depth map.\n- anaglyph.py needed some minor changes to align with upcoming changes in the\n  scikit-image architecture.\n\n\n0.6.0 (2023-09-25)\n------------------\n\nChanged the concept of primarily recording PDS-like \"products\" in the database and data\nstructures, and changed the concept to capture \"records\" of various kinds (ImageRecords,\nLightRecords, and derived things like PanoRecords) in the database and as the primary\ndata unit for use and interaction.  And then PDS \"products\" will be made at a later\ntime via a process that sources one or many records.\n\nAdded\n^^^^^\n- image_records.py (this replaces the concept of raw_products.py)\n- create_image.py (this replaces most of the functionality of the previous\n  create_raw.py)\n- image_tags.py which contains image tag information.\n- image_requests.py defines the table for holding image requests.\n- Junction tables to connect LDST information to ImageRequests and ImageTags\n  to ImageRecords.\n- ldst.py table which contains LDST information.\n- light_records.py which handles information about luminaire state.\n- anaglyph.py\n- pano_check.py to sort through image records and figure out what would be a good\n  panorama set.\n\nChanged\n^^^^^^^\n- header.pga_gain_dict structure now has values that are always floats, which helps\n  to determine whether this transformation needs to be applied.\n- image_stats.py is the new raw_stats.py, supporting ImageRecord objects.\n- pano_products.py is now pano_records.py, supporting ImageRecord objects.\n- create_pano.py now supports ImageRecords and PanoRecords.\n- create_raw.py rearchitected to gather information from \"records\" to build XML PDS\n  labels.\n- create_vis_dbs entry point changed to vis_create_dbs to conform with other vis-related\n  entry points.\n- pid.VISID now properly sorts the uncompressed \"z\" state lower (better) than the\n  lossless compressed \"a\" state.\n- pid.VISID now has a best_compression() function to sort out the best compression state\n  from an iterable containing may compression states from a single observation.\n\n\n0.5.0 (2023-07-26)\n------------------\n\nAdded\n^^^^^\n- PanoID class added to pds.pid\n- pano_products and create_pano added, still very preliminary, mostly just mock-ups.\n- colorforge program for managing colormaps.\n- mypy is now in the development dependencies to support type checking.\n- lint/mypy target added to Makefile.\n- tri2gpkg now has a --remove_facets option to remove facets with a particular value.\n\n\nChanged\n^^^^^^^\n- Explicit in documentation about developing in Python 3.8 (although earlier versions\n  should still be supported).\n- Many changes to improve type checking.\n- Added numeric instrument aliases and checking for them.\n- Added information for procesingInfo and outputMask from Yamcs.\n- Upgrade to SQLAlchemy >=2.\n- Moved definition of Base class up to vis.db.\n- heatmaps.py will now accept value data lists or arrays with np.nan or None values\n  which will be appropriate ignored in the density heatmap calculation.\n\n\nFixed\n^^^^^\n- tri2gpkg - if the provided polygons have zero area, issue an error rather than\n  making a confusing GeoPackage file.\n\n\n\n0.4.0 (2023-03-01)\n------------------\n\nAdded\n^^^^^\n- carto.bounds module added to unify functionality for both heatmaps and dotmaps.\n- carto.dotmap module for creating simple heatmap-like visualizations from 2d scalar data.\n- Makefile now has a \"lint/twine\" option to hopefully help me remember to test that.\n- VIS image_statistics.py and raw_stats.py modules.\n- A variety of unit tests.\n- mypy configuration arguments.\n\nChanged\n^^^^^^^\n- Updated templates and modules for PDS information model 21.\n- Flattened test directory structure.\n- tri2gpkg -v is no longer an alias for --value-names, as it now determines verbosity\n  since logging has been added.\n- GitHub workflows have been re-arranged.  Black and flake8 are now run under the \"Lint\"\n  action, and the flake8 tests are removed from the Python testing matrix.\n\nRemoved\n^^^^^^^\n- The pinned versions requirements_dev.txt\n\nFixed\n^^^^^\n- CHANGELOG.rst had an unescaped underbar which caused trouble with twine upload.\n- setup.cfg arrangement in install_requires passed local testing, but not GitHub testing,\n  have now fixed.\n- heatmap's generate_density_heatmap() function now properly returns values of zero\n  in the returned out_count numpy array when there are no counts in those grid cells\n  instead of the provided nodata value.\n- raw-template.xml can only have one Image_Filter object.\n- tri2gpkg now works correctly if --keep_z is specified\n- tri2gpkg now uses the correct srs if a pre-defined site is selected.\n\n\n0.3.0 (2022-11-15)\n------------------\n\nAdded\n^^^^^\n- pds.datetime.fromisozformat() function.\n- pds.pid.VISID.compression_class() function.\n- pds.xml.py added, very minimal, functionality may be moved.\n- vis.db.raw_products.RawProduct.from_xml() function.\n- vis.db.raw_products.RawProduct.asdict() function.\n- vis.pds.create_raw.check_bit_depth() function.\n- vis.db.create_vis_dbs convenience program to add empty tables to database.\n\nChanged\n^^^^^^^\n- Updated templates and modules for PDS information model 18.\n- vis.db.raw_products.RawProduct has some improved error-checking in __init__() and\n  validate_datetime_asutc().\n- vis.db.raw_products.RawProduct product_id column is now unique in database.\n- vis.db.raw_products.RawProduct md5_checksum changed to file_md4_checksum to\n  clearly associate it with the other properties that begin with \"file\\_\".\n- vis.pds.create_raw.tiff_info() no longer raises an error if a bit depth other than 16\n  is provided.\n- vis.pds.create_raw now creates .JSON output files by default instead of XML PDS4\n  labels, but XML files can still be made.\n- carto.heatmap.write_geotiff_rasterio now supports compressed output and defaults to \"deflate\"\n\n\nFixed\n^^^^^\n- carto.tri2gpkg.replace_with() now correctly returns a float value in all circumstances.\n- pds.pid.VIPERID.datetime() now properly returns datetimes with a UTC timezone.\n- vis.db.raw_products.RawProduct.label_dict() now correctly sets sample_bits and\n  sample_bit_mask if the image is a SLoG image.\n- Added __init__.py files to all modules (some modules did not get incorporated into the\n  PyPI package because they did not have __init__.py files.\n- The setup.cfg now properly includes requirements that vipersci needs.\n\nRemoved\n^^^^^^^\n- Many modules still had if __name__ == \"__main__\" constructs from early development\n  which are now not needed with the entry points in setup.cfg.\n\n\n0.2.0 (2022-11-07)\n------------------\n\nAdded\n^^^^^\n- Data Simulators for NSS, NIRVSS, and MSolo\n- Lots of material to enaable PDS archiving of VIS data.\n- Added GitHub workflow to perform Black format checking\n\nChanged\n^^^^^^^\n- Many updates to heatmap.py\n- Applied Black formatting to all code in the repo.\n- Modified Python testing workflow to actually work.\n\n\n0.1.0 (2022-10-05)\n------------------\nInitial release.\n",
    "bugtrack_url": null,
    "license": "Apache 2",
    "summary": "The VIPER Science package is software to support the activities of the Volatiles Investigating Polar Exploration Rover (VIPER) Science Team.",
    "version": "0.11.0",
    "project_urls": {
        "Homepage": "https://github.com/NeoGeographyToolkit/vipersci"
    },
    "split_keywords": [
        "viper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0aceb53201b4519d3de69a248ceb234c0da82cfd2ae42abeffc287c5215ccfcd",
                "md5": "a4fdedf485ded61b3a95bc7744049c57",
                "sha256": "3b96ae164b60ed2e4ee4f12b223fa26ee6be3a5c5fbb3d3a583f971b2b17597f"
            },
            "downloads": -1,
            "filename": "vipersci-0.11.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4fdedf485ded61b3a95bc7744049c57",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 146887,
            "upload_time": "2024-06-24T16:54:28",
            "upload_time_iso_8601": "2024-06-24T16:54:28.826531Z",
            "url": "https://files.pythonhosted.org/packages/0a/ce/b53201b4519d3de69a248ceb234c0da82cfd2ae42abeffc287c5215ccfcd/vipersci-0.11.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b081b6fb104559b303a92c19bd0f0e2257b6ffb300de0fa67c579fd9fa25f326",
                "md5": "b15909a7e824217d4d34902b4e8044f2",
                "sha256": "30b1d8651c594689e4ebc7016792738565bed62d1a027ae5c27d866b1fcae3f4"
            },
            "downloads": -1,
            "filename": "vipersci-0.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b15909a7e824217d4d34902b4e8044f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 143801,
            "upload_time": "2024-06-24T16:54:30",
            "upload_time_iso_8601": "2024-06-24T16:54:30.901083Z",
            "url": "https://files.pythonhosted.org/packages/b0/81/b6fb104559b303a92c19bd0f0e2257b6ffb300de0fa67c579fd9fa25f326/vipersci-0.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-24 16:54:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NeoGeographyToolkit",
    "github_project": "vipersci",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "genshi",
            "specs": [
                [
                    ">=",
                    "0.7.7"
                ],
                [
                    "<=",
                    "0.7.9"
                ]
            ]
        },
        {
            "name": "geoalchemy2",
            "specs": [
                [
                    "<=",
                    "0.15.1"
                ],
                [
                    ">=",
                    "0.14.1"
                ]
            ]
        },
        {
            "name": "geopandas",
            "specs": [
                [
                    ">=",
                    "0.12.2"
                ],
                [
                    "<=",
                    "0.13.2"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    "<=",
                    "3.7.3"
                ],
                [
                    ">=",
                    "3.7.0"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "<=",
                    "1.24.4"
                ],
                [
                    ">=",
                    "1.24.2"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "2.0.3"
                ]
            ]
        },
        {
            "name": "pillow",
            "specs": [
                [
                    "<=",
                    "10.0.0"
                ],
                [
                    ">=",
                    "0.9.4"
                ]
            ]
        },
        {
            "name": "psycopg2",
            "specs": [
                [
                    ">=",
                    "2.9.3"
                ],
                [
                    "<=",
                    "2.9.7"
                ]
            ]
        },
        {
            "name": "pyproj",
            "specs": [
                [
                    "<=",
                    "3.5.0"
                ],
                [
                    ">=",
                    "3.4.1"
                ]
            ]
        },
        {
            "name": "pyyaml",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "rasterio",
            "specs": [
                [
                    "==",
                    "1.3.7"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "<=",
                    "2.32.3"
                ],
                [
                    ">=",
                    "2.28.2"
                ]
            ]
        },
        {
            "name": "scikit-image",
            "specs": [
                [
                    "==",
                    "0.21.0"
                ]
            ]
        },
        {
            "name": "scikit-learn",
            "specs": [
                [
                    ">=",
                    "1.2.1"
                ],
                [
                    "<=",
                    "1.3.2"
                ]
            ]
        },
        {
            "name": "shapely",
            "specs": [
                [
                    "==",
                    "2.0.1"
                ]
            ]
        },
        {
            "name": "sqlalchemy",
            "specs": [
                [
                    "<=",
                    "2.0.30"
                ],
                [
                    ">=",
                    "2.0.4"
                ]
            ]
        },
        {
            "name": "tifftools",
            "specs": [
                [
                    "<=",
                    "1.5.2"
                ],
                [
                    ">=",
                    "1.3.9"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "vipersci"
}
        
Elapsed time: 0.27529s