Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EO Time Series Viewer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Benjamin Jakimow
EO Time Series Viewer
Commits
4828d04d
Commit
4828d04d
authored
7 years ago
by
benjamin.jakimow@geo.hu-berlin.de
Browse files
Options
Downloads
Patches
Plain Diff
tbd.
parent
45ce6f5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
timeseriesviewer/sandbox.py
+21
-3
21 additions, 3 deletions
timeseriesviewer/sandbox.py
with
21 additions
and
3 deletions
timeseriesviewer/sandbox.py
+
21
−
3
View file @
4828d04d
...
...
@@ -44,7 +44,7 @@ def sandboxGui():
#searchDir = r'O:\SenseCarbonProcessing\BJ_NOC\01_RasterData\01_UncutVRT'
#searchDir = r'O:\SenseCarbonProcessing\BJ_NOC\01_RasterData\02_CuttedVRT'
imgs
=
file_search
(
searchDir
,
'
*.bsq
'
,
recursive
=
True
)[
0
:
5
]
imgs
=
file_search
(
searchDir
,
'
*.bsq
'
,
recursive
=
True
)
#
[0:5]
#imgs = [example.Images.Img_2014_07_10_LC82270652014191LGN00_BOA]
S
.
addTimeSeriesImages
(
imgs
)
...
...
@@ -229,6 +229,24 @@ def initQgisEnvironment():
qgsApp
.
initQgis
()
return
qgsApp
def
sandboxTestdata
():
from
timeseriesviewer.main
import
TimeSeriesViewer
from
timeseriesviewer
import
PATH_EXAMPLE_TIMESERIES
S
=
TimeSeriesViewer
(
None
)
S
.
ui
.
show
()
S
.
run
()
S
.
spatialTemporalVis
.
MVC
.
createMapView
()
import
example.Images
searchDir
=
jp
(
DIR_EXAMPLES
,
'
Images
'
)
imgs
=
file_search
(
searchDir
,
'
*.bsq
'
,
recursive
=
True
)
# [0:5]
imgs
=
[
r
'
D:\\Repositories\\QGIS_Plugins\\hub-timeseriesviewer\\example\\Images\\2015-11-10_LE72270652015314ASN00_BOA.bsq
'
,
r
'
D:\\Repositories\\QGIS_Plugins\\hub-timeseriesviewer\\example\\Images\\re_2012-06-12.bsq
'
]
S
.
addTimeSeriesImages
(
imgs
)
if
__name__
==
'
__main__
'
:
...
...
@@ -240,8 +258,8 @@ if __name__ == '__main__':
#run tests
if
False
:
gdal_qgis_benchmark
()
if
False
:
sandboxQgisBridge
()
if
Tru
e
:
sandboxGui
()
if
Fals
e
:
sandboxGui
()
if
True
:
sandboxTestdata
()
#close QGIS
qgsApp
.
exec_
()
qgsApp
.
exitQgis
()
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