Skip to content

Commit

Permalink
Merge pull request #261 from johntruckenbrodt/docs/version_0.22.0
Browse files Browse the repository at this point in the history
version 0.22.0 changelog and documentation improvements
  • Loading branch information
johntruckenbrodt authored Sep 21, 2023
2 parents dbe62ec + 74992dd commit e167366
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
17 changes: 17 additions & 0 deletions docs/source/about/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -934,3 +934,20 @@ Auxiliary Data Handling
- function :func:`pyroSAR.auxdata.dem_create`:

+ new argument `resampleAlg` to change the resampling algorithm

0.22.0 | 2023-09-21
===================

Drivers
-------
- class :class:`pyroSAR.drivers.Archive`:

+ allow multiple products with same `outname_base`, e.g. Sentinel-1 GRD and SLC; this required the introduction of a second primary key in the database
+ method :meth:`~pyroSAR.drivers.Archive.import_outdated`: option to import data from an old database with only one primary key; this requires the old
database to be opened in legacy mode (new argument `legacy=True`)

- class :class:`pyroSAR.drivers.SAFE`: support for handling Sentinel-1 OCN products (metadata reading and database handling)

Auxiliary Data Handling
-----------------------
- class :class:`pyroSAR.auxdata.DEMHandler`: enabled handling of southern hemisphere geometries.
5 changes: 4 additions & 1 deletion docs/source/api/auxdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Auxiliary Data Tools
====================

.. automodule:: pyroSAR.auxdata
:members: dem_autoload, dem_create, get_egm_lookup
:members: dem_autoload, dem_create, get_egm_lookup, getasse30_hdr, get_dem_options, DEMHandler
:undoc-members:
:show-inheritance:

Expand All @@ -12,3 +12,6 @@ Auxiliary Data Tools
dem_autoload
dem_create
get_egm_lookup
getasse30_hdr
get_dem_options
DEMHandler
5 changes: 3 additions & 2 deletions pyroSAR/auxdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,9 @@ def dem_create(src, dst, t_srs=None, tr=None, threads=None,

class DEMHandler:
"""
| An interface to obtain DEM data for selected geometries.
| The files are downloaded into the ESA SNAP auxiliary data directory structure.
An interface to obtain DEM data for selected geometries.
The files are downloaded into the ESA SNAP auxiliary data directory structure.
This class is the foundation for the convenience function :func:`~pyroSAR.auxdata.dem_autoload`.
Parameters
----------
Expand Down
8 changes: 5 additions & 3 deletions pyroSAR/snap/auxil.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,18 +331,20 @@ def gpt(xmlfile, tmpdir, groups=None, cleanup=True,
each (sub-)workflow containing this operator will be executed with the define executable;
- e.g. ``{'Terrain-Flattening': '/home/user/snap/bin/gpt'}``
gpt_args: list[str] or None
a list of additional arguments to be passed to the gpt call
- e.g. ``['-x', '-c', '2048M']`` for increased tile cache size and intermediate clearing
- e.g. ``['-x', '-c', '2048M']`` for increased tile cache size and intermediate clearing
removeS1BorderNoiseMethod: str
the border noise removal method to be applied, See :func:`pyroSAR.S1.removeGRDBorderNoise` for details;
one of the following:
- 'ESA': the pure implementation as described by ESA
- 'pyroSAR': the ESA method plus the custom pyroSAR refinement. This is only applied if the IPF version is
< 2.9 where additional noise removal was necessary. The outpur of the additional noise removal is stored
in the subdirectory bnr of `tmpdir`.
< 2.9 where additional noise removal was necessary. The output of the additional noise removal is stored
in the subdirectory bnr of `tmpdir`.
Returns
-------
Expand Down

0 comments on commit e167366

Please sign in to comment.