Class SarStacExtensionExtensions
Helper class to access the SAR extension.
Inheritance
System.Object
SarStacExtensionExtensions
Namespace: Stac.Extensions.Sar
Assembly: DotNetStac.dll
Syntax
public static class SarStacExtensionExtensions : object
Methods
| Improve this Doc View SourceGetAsset(StacItem, String)
Gets the Stac Asset with the specified polarization.
Declaration
public static StacAsset GetAsset(this StacItem stacItem, string polarization)
Parameters
Type | Name | Description |
---|---|---|
StacItem | stacItem | The STAC item. |
System.String | polarization | The polarization. |
Returns
Type | Description |
---|---|
StacAsset | The Stac Asset. |
Required(SarStacExtension, String, SarCommonFrequencyBandName, String[], String)
Sets the required SAR extension properties.
Declaration
public static void Required(this SarStacExtension sarStacExtension, string instrumentMode, SarCommonFrequencyBandName frequencyBandName, string[] polarizations, string productType)
Parameters
Type | Name | Description |
---|---|---|
SarStacExtension | sarStacExtension | The SAR extension. |
System.String | instrumentMode | The instrument mode. |
SarCommonFrequencyBandName | frequencyBandName | Name of the frequency band. |
System.String[] | polarizations | The polarizations. |
System.String | productType | Type of the product. |
SarExtension(StacAsset)
Gets the SAR extension.
Declaration
public static SarStacExtension SarExtension(this StacAsset stacAsset)
Parameters
Type | Name | Description |
---|---|---|
StacAsset | stacAsset | The STAC asset. |
Returns
Type | Description |
---|---|
SarStacExtension | The SAR extension. |
SarExtension(StacItem)
Gets the SAR extension.
Declaration
public static SarStacExtension SarExtension(this StacItem stacItem)
Parameters
Type | Name | Description |
---|---|---|
StacItem | stacItem | The STAC item. |
Returns
Type | Description |
---|---|
SarStacExtension | The SAR extension. |