Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
9b659849
Commit
9b659849
authored
Oct 11, 2017
by
Daniel Scheffler
Browse files
Excluded some funcs from coverage.
parent
d2c7ec79
Pipeline
#1341
passed with stages
in 11 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
arosics/geometry.py
View file @
9b659849
...
...
@@ -23,7 +23,7 @@ def angle_to_north(XY):
return
np
.
abs
(
np
.
degrees
(
np
.
array
(
np
.
arctan2
(
XYarr
[:,
1
],
XYarr
[:,
0
])
-
np
.
pi
/
2
))
%
360
)
def
get_true_corner_mapXY
(
fPath_or_geoarray
,
band
=
0
,
noDataVal
=
None
,
mp
=
1
,
v
=
0
,
q
=
0
):
def
get_true_corner_mapXY
(
fPath_or_geoarray
,
band
=
0
,
noDataVal
=
None
,
mp
=
1
,
v
=
0
,
q
=
0
):
# pragma: no cover
# FIXME this function is not used anymore
"""
...
...
arosics/io.py
View file @
9b659849
...
...
@@ -59,7 +59,7 @@ def write_envi(arr, outpath, gt=None, prj=None):
out_mm
[:,
:,
0
]
=
arr
def
wfa
(
p
,
c
):
def
wfa
(
p
,
c
):
# pragma: no cover
try
:
with
open
(
p
,
'a'
)
as
of
:
of
.
write
(
c
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment