Skip to content

Commit 77f203e

Browse files
author
Jon Duckworth
authored
Merge pull request #556 from duckontheweb/update/gh-326-sar-extension
Update SAR Extension
2 parents e4059c8 + 78767ca commit 77f203e

File tree

5 files changed

+661
-110
lines changed

5 files changed

+661
-110
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- `ProjectionExtension.crs_string` to provide a single string to describe the coordinate reference system (CRS).
88
Useful because projections can be defined by EPSG code, WKT, or projjson.
99
([#548](https://github.com/stac-utils/pystac/pull/548))
10+
- SAR Extension summaries([#556](https://github.com/stac-utils/pystac/pull/556))
11+
- Migration for `sar:type` -> `sar:product_type` and `sar:polarization` ->
12+
`sar:polarizations` for pre-0.9 catalogs
13+
([#556](https://github.com/stac-utils/pystac/pull/556))
1014

1115
### Removed
1216

docs/api.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,63 @@ RasterExtension
499499
:show-inheritance:
500500
:inherited-members:
501501

502+
SAR Extension
503+
-------------
504+
These classes are representations of the :stac-ext:`SAR Extension Spec
505+
<sar>`.
506+
507+
FrequencyBand
508+
~~~~~~~~~~~~~
509+
510+
.. autoclass:: pystac.extensions.sar.FrequencyBand
511+
:members:
512+
:undoc-members:
513+
:show-inheritance:
514+
515+
Polarization
516+
~~~~~~~~~~~~
517+
518+
.. autoclass:: pystac.extensions.sar.Polarization
519+
:members:
520+
:undoc-members:
521+
:show-inheritance:
522+
523+
ObservationDirection
524+
~~~~~~~~~~~~~~~~~~~~
525+
526+
.. autoclass:: pystac.extensions.sar.ObservationDirection
527+
:members:
528+
:undoc-members:
529+
:show-inheritance:
530+
531+
SarExtension
532+
~~~~~~~~~~~~
533+
534+
.. autoclass:: pystac.extensions.sar.SarExtension
535+
:members:
536+
:show-inheritance:
537+
:inherited-members:
538+
539+
ItemSarExtension
540+
~~~~~~~~~~~~~~~~
541+
542+
.. autoclass:: pystac.extensions.sar.ItemSarExtension
543+
:members:
544+
:show-inheritance:
545+
:inherited-members:
546+
547+
AssetSarExtension
548+
~~~~~~~~~~~~~~~~~
549+
550+
.. autoclass:: pystac.extensions.sar.AssetSarExtension
551+
:members:
552+
:show-inheritance:
553+
:inherited-members:
554+
502555
Satellite Extension
503556
-------------------
557+
These classes are representations of the :stac-ext:`Satellite Extension Spec
558+
<sat>`.
504559

505560
OrbitState
506561
~~~~~~~~~~

pystac/extensions/eo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,7 @@ class EOExtension(
283283
:class:`~pystac.Item` or :class:`~pystac.Asset` with properties from the
284284
:stac-ext:`Electro-Optical Extension <eo>`. This class is generic over the type of
285285
STAC Object to be extended (e.g. :class:`~pystac.Item`,
286-
:class:`~pystac.
287-
Asset`).
286+
:class:`~pystac.Asset`).
288287
289288
To create a concrete instance of :class:`EOExtension`, use the
290289
:meth:`EOExtension.ext` method. For example:

0 commit comments

Comments
 (0)