Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EnPT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
8cd37437
Commit
8cd37437
authored
2 years ago
by
Daniel Scheffler
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/fix_unexpected_warnings' into 'master'
Bugfix/fix unexpected warnings Closes
#102
See merge request
!83
parents
7c408687
0667e823
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!83
Bugfix/fix unexpected warnings
Pipeline
#58394
passed
2 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
HISTORY.rst
+1
-0
1 addition, 0 deletions
HISTORY.rst
enpt/model/images/images_mapgeo.py
+2
-1
2 additions, 1 deletion
enpt/model/images/images_mapgeo.py
with
3 additions
and
1 deletion
HISTORY.rst
+
1
−
0
View file @
8cd37437
...
...
@@ -10,6 +10,7 @@ History
* !81: Fixed #100 (`run_deadpix_P=False` does not disable second run of dead pixel correction after AC).
* !82: Fixed #101 (Lower case raster file extensions are incompatible with EnMAP-Box product import dialog)
by switching to uppercase file extensions in case of ENVI output format.
* !83: Fixed #102 (Output writer raises warnings that Polymer results cannot be written although AC mode is 'land').
0.19.0 (2023-02-17)
...
...
This diff is collapsed.
Click to expand it.
enpt/model/images/images_mapgeo.py
+
2
−
1
View file @
8cd37437
...
...
@@ -288,7 +288,8 @@ class EnMAPL2Product_MapGeo(_EnMAP_Image):
attr_gA
.
save
(
outpath
,
**
kwargs_save
)
outpaths
[
attrName
]
=
outpath
else
:
if
attrName
.
startswith
(
'
polymer_
'
)
and
not
self
.
cfg
.
polymer_additional_results
:
if
attrName
.
startswith
(
'
polymer_
'
)
and
\
(
not
self
.
cfg
.
polymer_additional_results
or
self
.
cfg
.
mode_ac
==
'
land
'
):
# Do not show a warning if a Polymer product was intentionally not produced and cannot be saved.
pass
else
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment