## product.CoherenceProduct


Coherence product from burst pair.


Usage

``` python
product.CoherenceProduct(
    burst_id,
    sub_swath,
    crs,
    date_primary,
    date_secondary,
    polarization,
    *,
    pass_direction,
    _rel_orbit_number=None
)
```


## Parameters


`burst_id: int`  
Burst identifier.

`sub_swath: SubSwath`  
Sub-swath identifier.

`crs: CRSLike`  
The coordinate reference system.

`date_primary: Timestamp`  
Primary acquisition date.

`date_secondary: Timestamp`  
Secondary acquisition date.

`polarization: Polarization`  
The polarization.

`pass_direction: PassDirection`  
Pass direction, `"Ascending"` or `"Descending"`. Keyword-only.


## Attributes

| Name | Description |
|----|----|
| [baseline_days](#baseline_days) | Calculate temporal baseline in days. |
| [product_type](#product_type) | Get product type identifier. |

------------------------------------------------------------------------


#### baseline_days


Calculate temporal baseline in days.


`baseline_days: int`


------------------------------------------------------------------------


#### product_type


Get product type identifier.


`product_type: str`


## Methods

| Name | Description |
|----|----|
| [from_burst_pair()](#from_burst_pair) | Create CoherenceProduct from BurstPair. |

------------------------------------------------------------------------


#### from_burst_pair()


Create CoherenceProduct from BurstPair.


Usage

``` python
from_burst_pair(pair, crs)
```


##### Parameters


`pair: BurstPair`  
Burst pair to create product from.

`crs: CRSInput | Literal[``"auto"]`  
The coordinate reference system, a WGS 84 / UTM zone, north or south, which product file names record. Given as a CRS object, an authority string such as `"EPSG:32632"` or an EPSG code, or `"auto"` for the zone of the pair's footprint, [BurstPair.utm_zone](burst.BurstPair.md#s1bursts.burst.BurstPair.utm_zone).


##### Returns


`CoherenceProduct`  
Coherence product metadata.


##### Raises


`ValueError`  
If `crs` is not a WGS 84 / UTM zone.

`NoUTMZoneError`  
If `crs` is `"auto"` and the footprint's center lies outside the UTM zones.

`BurstMapUnavailableError`  
If the burst carries no relative orbit number or pass direction, or for `"auto"` no footprint, and the burst map has not been downloaded.
