Skip to content

Commit

Permalink
Merge pull request #271 from johntruckenbrodt/version/0.22.2
Browse files Browse the repository at this point in the history
version 0.22.2 changelog and documentation updates
  • Loading branch information
johntruckenbrodt authored Nov 16, 2023
2 parents 46e0a2f + 67dcd8d commit d4d5c1f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/source/about/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -959,3 +959,18 @@ Drivers
-------
- class :class:`pyroSAR.drivers.BEAM_DIMAP`: enable calling inherited method :meth:`~pyroSAR.drivers.ID.geometry`

0.22.2 | 2023-11-16
===================

SNAP API
--------
- function :func:`pyroSAR.snap.auxil.writer`: fixed bug in ignoring `erode_edges` argument
- function :func:`pyroSAR.snap.auxil.erode_edges`: enable handling of polarimetric matrices

Drivers
-------
- function :func:`pyroSAR.drivers.identify`: enable reading of :class:`~pyroSAR.drivers.TDM` products

Misc
----
- class :class:`pyroSAR.examine.ExamineGamma`: enhanced flexibility in finding GAMMA installation
10 changes: 10 additions & 0 deletions docs/source/api/examine.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Examine
=======

.. automodule:: pyroSAR.examine
:members:
:undoc-members:
:show-inheritance:

.. autosummary::
:nosignatures:
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ API Documentation
api/auxdata
api/datacube
api/ancillary
api/examine

About
=====
Expand Down
11 changes: 11 additions & 0 deletions pyroSAR/examine.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,17 @@ def get_version(self, module):


class ExamineGamma(object):
"""
Class to check if GAMMA is installed.
Examples
--------
>>> from pyroSAR.examine import ExamineGamma
>>> config = ExamineGamma()
>>> print(config.home)
>>> print(config.version)
"""
def __init__(self):
home_sys = os.environ.get('GAMMA_HOME')
if home_sys is not None and not os.path.isdir(home_sys):
Expand Down

0 comments on commit d4d5c1f

Please sign in to comment.