Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gms_preprocessing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geomultisens
gms_preprocessing
Commits
9f98c9a4
Commit
9f98c9a4
authored
Nov 27, 2020
by
Daniel Scheffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing code belonging to the previous commit.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
2b1d9a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
gms_preprocessing/algorithms/L2B_P.py
gms_preprocessing/algorithms/L2B_P.py
+7
-3
No files found.
gms_preprocessing/algorithms/L2B_P.py
View file @
9f98c9a4
...
...
@@ -66,9 +66,13 @@ class L2B_object(L2A_object):
# FIXME exclude or include thermal bands; respect sorted CWLs in context of LayerBandsAssignment
tgt_sat
,
tgt_sen
=
datasetid_to_sat_sen
(
CFG
.
datasetid_spectral_ref
)
# NOTE: get target LBA at L2A, because spectral characteristics of target sensor do not change after AC
tgt_LBA
=
get_LayerBandsAssignment
(
GMS_identifier
(
satellite
=
tgt_sat
,
sensor
=
tgt_sen
,
subsystem
=
''
,
image_type
=
'RSD'
,
proc_level
=
'L2A'
,
dataset_ID
=
src_dsID
,
logger
=
None
))
tgt_gmsid_kw
=
dict
(
satellite
=
tgt_sat
,
sensor
=
tgt_sen
,
subsystem
=
''
,
image_type
=
'RSD'
,
dataset_ID
=
src_dsID
,
logger
=
None
)
tgt_LBA
=
get_LayerBandsAssignment
(
GMS_identifier
(
proc_level
=
'L2A'
,
**
tgt_gmsid_kw
))
if
CFG
.
datasetid_spectral_ref
is
None
:
tgt_cwl
=
CFG
.
target_CWL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment