-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: mMake AbstractSentinelHubV3WithCCLayer deal with maxcc para…
…meters for Processing API
- Loading branch information
1 parent
1b84c31
commit 8532c19
Showing
3 changed files
with
13 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
import { DATASET_S2L1C } from 'src/layer/dataset'; | ||
import { AbstractSentinelHubV3WithCCLayer } from './AbstractSentinelHubV3WithCCLayer'; | ||
import { ProcessingPayload } from 'src/layer/processing'; | ||
|
||
export class S2L1CLayer extends AbstractSentinelHubV3WithCCLayer { | ||
public readonly dataset = DATASET_S2L1C; | ||
|
||
protected async updateProcessingGetMapPayload(payload: ProcessingPayload): Promise<ProcessingPayload> { | ||
payload.input.data[0].dataFilter.maxCloudCoverage = this.maxCloudCoverPercent; | ||
return payload; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters