Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UW-Glance
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
Container Registry
Model registry
Operate
Environments
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
Eva Schiffer
UW-Glance
Commits
d51a9058
Commit
d51a9058
authored
8 years ago
by
Eva Schiffer
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#4
from adesmet-ssec/gui-load-files
Gui load files
parents
30310bb7
05ec221f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyglance/glance/compare.py
+8
-1
8 additions, 1 deletion
pyglance/glance/compare.py
with
8 additions
and
1 deletion
pyglance/glance/compare.py
+
8
−
1
View file @
d51a9058
...
@@ -40,6 +40,7 @@ from glance.util import clean_path, rsync_or_copy_files, get_glance_versi
...
@@ -40,6 +40,7 @@ from glance.util import clean_path, rsync_or_copy_files, get_glance_versi
from
glance.load
import
get_UV_info_from_magnitude_direction_info
,
load_variable_data
,
open_and_process_files
,
handle_lon_lat_info
,
handle_lon_lat_info_for_one_file
from
glance.load
import
get_UV_info_from_magnitude_direction_info
,
load_variable_data
,
open_and_process_files
,
handle_lon_lat_info
,
handle_lon_lat_info_for_one_file
from
glance.lonlat_util
import
VariableComparisonError
from
glance.lonlat_util
import
VariableComparisonError
from
glance.constants
import
*
from
glance.constants
import
*
from
glance.gui_constants
import
A_CONST
,
B_CONST
LOG
=
logging
.
getLogger
(
__name__
)
LOG
=
logging
.
getLogger
(
__name__
)
...
@@ -1435,15 +1436,21 @@ glance inspectStats A.hdf
...
@@ -1435,15 +1436,21 @@ glance inspectStats A.hdf
This option launches the graphical user interface for glance. This interface includes only some of the basic
This option launches the graphical user interface for glance. This interface includes only some of the basic
functionality of glance and may be expanded in the future.
functionality of glance and may be expanded in the future.
No arguments are required when using this option
.
Files to be loaded as File A and File B may be specified on the command line
.
The various output related arguments (quiet, verbose, debug, etc.) may be used if desired.
The various output related arguments (quiet, verbose, debug, etc.) may be used if desired.
Examples:
Examples:
glance gui
glance gui
glance gui A.nc
glance gui A.nc B.hdf
"""
"""
LOG
.
debug
(
"
Launching Glance GUI
"
)
LOG
.
debug
(
"
Launching Glance GUI
"
)
temp_controller
=
gui_control
.
GlanceGUIController
(
get_glance_version_string
())
temp_controller
=
gui_control
.
GlanceGUIController
(
get_glance_version_string
())
if
len
(
args
)
>=
1
:
temp_controller
.
newFileSelected
(
A_CONST
,
args
[
0
])
if
len
(
args
)
>=
2
:
temp_controller
.
newFileSelected
(
B_CONST
,
args
[
1
])
temp_controller
.
launch_gui
()
temp_controller
.
launch_gui
()
def
help
(
command
=
None
):
def
help
(
command
=
None
):
...
...
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