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
33e42b14
Commit
33e42b14
authored
7 years ago
by
benjamin.jakimow@geo.hu-berlin.de
Browse files
Options
Downloads
Patches
Plain Diff
refactoring
parent
a9e720f1
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
make/deploy.py
+1
-1
1 addition, 1 deletion
make/deploy.py
timeseriesviewer/__main__.py
+3
-2
3 additions, 2 deletions
timeseriesviewer/__main__.py
timeseriesviewer/main.py
+4
-4
4 additions, 4 deletions
timeseriesviewer/main.py
timeseriesviewer/pixelloader.py
+3
-5
3 additions, 5 deletions
timeseriesviewer/pixelloader.py
with
11 additions
and
12 deletions
make/deploy.py
+
1
−
1
View file @
33e42b14
...
@@ -94,7 +94,7 @@ if __name__ == "__main__":
...
@@ -94,7 +94,7 @@ if __name__ == "__main__":
cfg
=
pb_tool
.
get_config
(
config
=
pathCfg
)
cfg
=
pb_tool
.
get_config
(
config
=
pathCfg
)
if
True
:
if
True
:
#1. clean an existing directory = the
enmapboxplugin
folder
#1. clean an existing directory = the
timeseriesviewer
folder
pb_tool
.
clean_deployment
(
ask_first
=
False
,
config
=
pathCfg
)
pb_tool
.
clean_deployment
(
ask_first
=
False
,
config
=
pathCfg
)
#2. Compile. Basically call pyrcc to create the resources.rc file
#2. Compile. Basically call pyrcc to create the resources.rc file
...
...
This diff is collapsed.
Click to expand it.
timeseriesviewer/__main__.py
+
3
−
2
View file @
33e42b14
...
@@ -20,8 +20,9 @@ from __future__ import absolute_import
...
@@ -20,8 +20,9 @@ from __future__ import absolute_import
import
sys
import
sys
class
run
():
class
run
():
"""
# add site-packages to sys.path as done by enmapboxplugin.py
Starts the HUB TimeSeriesViewer
"""
from
timeseriesviewer.sandbox
import
initQgisApplication
from
timeseriesviewer.sandbox
import
initQgisApplication
qgsApp
=
initQgisApplication
()
qgsApp
=
initQgisApplication
()
...
...
This diff is collapsed.
Click to expand it.
timeseriesviewer/main.py
+
4
−
4
View file @
33e42b14
...
@@ -45,10 +45,10 @@ from timeseriesviewer.profilevisualization import SpectralTemporalVisualization
...
@@ -45,10 +45,10 @@ from timeseriesviewer.profilevisualization import SpectralTemporalVisualization
#
path = os.path.abspath(jp(sys.exec_prefix, '../../bin/pythonw.exe'))
path
=
os
.
path
.
abspath
(
jp
(
sys
.
exec_prefix
,
'
../../bin/pythonw.exe
'
))
#
if os.path.exists(path):
if
os
.
path
.
exists
(
path
):
#
multiprocessing.set_executable(path)
multiprocessing
.
set_executable
(
path
)
#
sys.argv = [ None ]
sys
.
argv
=
[
None
]
#ensure that required non-standard modules are available
#ensure that required non-standard modules are available
...
...
This diff is collapsed.
Click to expand it.
timeseriesviewer/pixelloader.py
+
3
−
5
View file @
33e42b14
...
@@ -20,8 +20,9 @@
...
@@ -20,8 +20,9 @@
"""
"""
# noinspection PyPep8Naming
# noinspection PyPep8Naming
from
__future__
import
absolute_import
from
__future__
import
absolute_import
import
os
,
pickle
import
os
,
sys
,
pickle
import
sys
import
multiprocessing
as
mp
import
datetime
import
datetime
from
qgis.gui
import
*
from
qgis.gui
import
*
from
qgis.core
import
*
from
qgis.core
import
*
...
@@ -29,9 +30,6 @@ from PyQt4.QtCore import *
...
@@ -29,9 +30,6 @@ from PyQt4.QtCore import *
import
numpy
as
np
import
numpy
as
np
from
timeseriesviewer.utils
import
SpatialPoint
,
SpatialExtent
,
geo2px
,
px2geo
from
timeseriesviewer.utils
import
SpatialPoint
,
SpatialExtent
,
geo2px
,
px2geo
from
osgeo
import
gdal
,
gdal_array
,
osr
from
osgeo
import
gdal
,
gdal_array
,
osr
import
multiprocessing
as
mp
#mp.freeze_support()
DEBUG
=
False
DEBUG
=
False
...
...
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