Skip to content
Snippets Groups Projects
Commit ca6b5535 authored by (no author)'s avatar (no author)
Browse files

supporting mapped plots in the gui

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@220 8a9318a1-56ba-4d59-b755-99d26321be01
parent 3df564c4
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,10 @@ The constants module handles generally useful constants in the Glance GUI. ...@@ -17,6 +17,10 @@ The constants module handles generally useful constants in the Glance GUI.
It not only stores values that are intended to be unchangable and globally available. It not only stores values that are intended to be unchangable and globally available.
""" """
# constants to represent to two data sets
A_CONST = "A"
B_CONST = "B"
# constants for the possible image types # constants for the possible image types
ORIGINAL_A = "Original A Data" ORIGINAL_A = "Original A Data"
ORIGINAL_B = "Original B Data" ORIGINAL_B = "Original B Data"
...@@ -58,7 +62,7 @@ ONLY_1D = "One Dimensional" ...@@ -58,7 +62,7 @@ ONLY_1D = "One Dimensional"
# a list of data handling types, for conveinence # a list of data handling types, for conveinence
DATA_FORMS = [SIMPLE_2D, DATA_FORMS = [SIMPLE_2D,
# MAPPED_2D, TODO add this back in when the mapped stuff is ready MAPPED_2D,
ONLY_1D] ONLY_1D]
# the default names that the model will try to select for the latitude and longitude # the default names that the model will try to select for the latitude and longitude
...@@ -78,7 +82,7 @@ CM_GRAY_REV = "Grayscale, Reverse" ...@@ -78,7 +82,7 @@ CM_GRAY_REV = "Grayscale, Reverse"
CM_SPECTRAL = "Rainbow2" CM_SPECTRAL = "Rainbow2"
COLORMAP_NAMES = [CM_RAINBOW, CM_RAINBOW_REV, CM_RAINBOW_DESAT, CM_GRAY, CM_GRAY_REV, CM_SPECTRAL] COLORMAP_NAMES = [CM_RAINBOW, CM_RAINBOW_REV, CM_RAINBOW_DESAT, CM_GRAY, CM_GRAY_REV, CM_SPECTRAL]
NO_DATA_MESSAGE = "Requested data was not available or did not exist." NO_DATA_MESSAGE = "Requested data was not available or did not exist."
UNKNOWN_DATA_FORM = "An ununsupported plot format was requested. Aborting attempt to plot data." UNKNOWN_DATA_FORM = "An ununsupported plot format was requested. Aborting attempt to plot data."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment