uwsift package
Subpackages
- uwsift.control package
- Submodules
- uwsift.control.auto_update module
- uwsift.control.qml_utils module
- uwsift.control.time_matcher module
- uwsift.control.time_matcher_policies module
- uwsift.control.time_transformer module
- uwsift.control.time_transformer_policies module
WrappingDrivingPolicy
WrappingDrivingPolicy.change_timebase()
WrappingDrivingPolicy.compute_t_sim()
WrappingDrivingPolicy.curr_t_sim()
WrappingDrivingPolicy.curr_timeline_index()
WrappingDrivingPolicy.driving_layer
WrappingDrivingPolicy.jump_to_t_sim()
WrappingDrivingPolicy.on_layers_update()
WrappingDrivingPolicy.timeline
WrappingDrivingPolicy.timeline_length
- Module contents
- uwsift.model package
- Submodules
- uwsift.model.area_definitions_manager module
- uwsift.model.catalogue module
- uwsift.model.composite_recipes module
AlgebraicRecipe
CompositeRecipe
Recipe
RecipeManager
RecipeManager.create_algebraic_recipe()
RecipeManager.create_rgb_recipe()
RecipeManager.load_available_recipes()
RecipeManager.open_recipe()
RecipeManager.remove_layer_as_recipe_input()
RecipeManager.save_recipe()
RecipeManager.update_algebraic_recipe_input_layers()
RecipeManager.update_algebraic_recipe_operation_formula()
RecipeManager.update_algebraic_recipe_operation_kind()
RecipeManager.update_recipe_name()
RecipeManager.update_rgb_recipe_color_limits()
RecipeManager.update_rgb_recipe_gammas()
RecipeManager.update_rgb_recipe_input_layers()
- uwsift.model.document module
- uwsift.model.document
Document
Document.activate_product_uuid_as_new_dataset()
Document.area_definition()
Document.change_projection()
Document.change_projection_index()
Document.current_projection_index()
Document.find_colormap()
Document.get_uuids()
Document.import_files()
Document.remove_dataset_info()
Document.remove_user_colormap()
Document.sort_product_uuids()
Document.update_user_colormap()
- uwsift.model.layer_item module
LayerItem
LayerItem.add_algebraic_dataset()
LayerItem.add_dataset()
LayerItem.add_multichannel_dataset()
LayerItem.data()
LayerItem.describe_timeline()
LayerItem.descriptor
LayerItem.determine_initial_clims()
LayerItem.dynamic
LayerItem.extract_layer_info()
LayerItem.get_active_product_datasets()
LayerItem.get_actual_range_from_first_active_dataset()
LayerItem.get_actual_range_from_layer()
LayerItem.get_dataset_by_uuid()
LayerItem.get_datasets_uuids()
LayerItem.get_first_active_product_dataset()
LayerItem.has_in_timeline()
LayerItem.kind
LayerItem.name
LayerItem.opacity
LayerItem.order
LayerItem.presentation
LayerItem.probe_value
LayerItem.remove_dataset()
LayerItem.replace_recipe_layer_info()
LayerItem.short_descriptor
LayerItem.timeline
LayerItem.update_invariable_display_data()
LayerItem.valid_range
LayerItem.visible
- uwsift.model.layer_model module
LayerModel
LayerModel.add_dataset()
LayerModel.change_color_limits_for_layer()
LayerModel.change_colormap_for_layer()
LayerModel.change_gamma_for_layer()
LayerModel.columnCount()
LayerModel.create_algebraic_composite_layer()
LayerModel.create_reasonable_algebraic_composite_default()
LayerModel.create_reasonable_rgb_composite_default()
LayerModel.create_rgb_composite_layer()
LayerModel.data()
LayerModel.dropMimeData()
LayerModel.flags()
LayerModel.get_dataset_by_uuid()
LayerModel.get_dataset_presentation_by_uuid()
LayerModel.get_dynamic_layers()
LayerModel.get_input_layers_info()
LayerModel.get_layer_by_uuid()
LayerModel.get_layers_by_uuids()
LayerModel.get_probeable_layers()
LayerModel.hasChildren()
LayerModel.headerData()
LayerModel.index()
LayerModel.init_system_layers()
LayerModel.mimeData()
LayerModel.mimeTypes()
LayerModel.on_didMatchTimes()
LayerModel.on_point_probe_set()
LayerModel.order()
LayerModel.parent()
LayerModel.remove_datasets_from_all_layers()
LayerModel.remove_layers()
LayerModel.rowCount()
LayerModel.setData()
LayerModel.start_algebraic_composite_creation()
LayerModel.start_rgb_composite_creation()
LayerModel.supportedDropActions()
LayerModel.toggle_layers_visibility()
LayerModel.update_recipe_layer_name()
LayerModel.update_recipe_layer_timeline()
LayerModel.update_rgb_layer_color_limits()
LayerModel.update_rgb_layer_gamma()
LayerModel.update_user_colormap_for_layers()
ProductFamilyKeyMappingPolicy
- uwsift.model.product_dataset module
- uwsift.model.shapes module
- uwsift.model.time_manager module
TimeManager
TimeManager.connect_to_model()
TimeManager.create_formatted_t_sim()
TimeManager.get_current_timebase_current_dataset()
TimeManager.get_current_timebase_current_dataset_uuid()
TimeManager.get_current_timebase_dataset_count()
TimeManager.get_current_timebase_dataset_uuids()
TimeManager.get_current_timebase_datasets()
TimeManager.get_current_timebase_timeline()
TimeManager.get_current_timebase_timeline_index()
TimeManager.jump()
TimeManager.on_timebase_change()
TimeManager.qml_backend
TimeManager.step()
TimeManager.sync_to_time_transformer()
TimeManager.tick()
TimeManager.tick_qml_state()
TimeManager.update_qml_layer_model()
TimeManager.update_qml_timeline()
- Module contents
- uwsift.project package
- uwsift.ui package
- Submodules
- uwsift.ui.change_colormap_dialog_ui module
- uwsift.ui.custom_widgets module
- uwsift.ui.dataset_statistics_widget_ui module
- uwsift.ui.export_image_dialog_ui module
- uwsift.ui.layer_details_widget_ui module
- uwsift.ui.open_cache_dialog_ui module
- uwsift.ui.open_file_wizard_ui module
- uwsift.ui.pov_main_ui module
- Module contents
- uwsift.util package
- Subpackages
- Submodules
- uwsift.util.common module
- uwsift.util.default_paths module
- uwsift.util.disk_management module
- uwsift.util.heap_analyzer module
HeapAnalyzer
HeapAnalyzer.combine_snapshot()
HeapAnalyzer.create_plot()
HeapAnalyzer.dump_combined_snapshots()
HeapAnalyzer.get_conda_packages_path()
HeapAnalyzer.get_python_stdlib_path()
HeapAnalyzer.get_top_stats()
HeapAnalyzer.get_uwsift_project_path()
HeapAnalyzer.load_combined_snapshots()
HeapAnalyzer.load_snapshots()
- uwsift.util.heap_profiler module
- uwsift.util.logger module
- uwsift.util.ps_analyzer module
- uwsift.util.ps_profiler module
- uwsift.util.storage_agent module
- uwsift.util.watchdog module
- Module contents
- uwsift.view package
- Submodules
- uwsift.view.algebraic_config module
- uwsift.view.cameras module
- uwsift.view.colormap module
- uwsift.view.colormap_editor module
- uwsift.view.dataset_statistics_pane module
- uwsift.view.export_image module
- uwsift.view.layer_details module
- uwsift.view.layer_tree_view module
- uwsift.view.open_file_wizard module
- uwsift.view.probes module
CustomNavigationToolbar
ProbeGraphDisplay
ProbeGraphDisplay.DEFAULT_NUM_BINS
ProbeGraphDisplay.MAX_SCATTER_PLOT_DATA
ProbeGraphDisplay.checked
ProbeGraphDisplay.clearPlot()
ProbeGraphDisplay.getName()
ProbeGraphDisplay.plotDensityScatterplot()
ProbeGraphDisplay.plotHistogram()
ProbeGraphDisplay.rebuildPlot()
ProbeGraphDisplay.setPoint()
ProbeGraphDisplay.setRegion()
ProbeGraphDisplay.set_default_layer_selections()
ProbeGraphDisplay.set_possible_layers()
ProbeGraphDisplay.vsChecked()
ProbeGraphDisplay.xSelected()
ProbeGraphDisplay.ySelected()
ProbeGraphManager
ProbeGraphManager.current_graph_has_polygon()
ProbeGraphManager.current_graph_set_region()
ProbeGraphManager.current_point_probe_status()
ProbeGraphManager.handleActiveProductDatasetsChanged()
ProbeGraphManager.on_region_probe_tool_selected()
ProbeGraphManager.set_default_layer_selections()
ProbeGraphManager.set_up_tab()
ProbeGraphManager.toggle_point_probe()
ProbeGraphManager.update_point_probe()
- uwsift.view.rgb_config module
RGBLayerConfigPane
RGBLayerConfigPane.gamma_boxes
RGBLayerConfigPane.layer_added()
RGBLayerConfigPane.layer_removed()
RGBLayerConfigPane.line_edits
RGBLayerConfigPane.rgb
RGBLayerConfigPane.rgb_name_edit
RGBLayerConfigPane.selection_did_change()
RGBLayerConfigPane.set_combos_to_layer_names()
RGBLayerConfigPane.sliders
- uwsift.view.scene_graph module
AnimationController
AnimationController.animating
AnimationController.animation_speed
AnimationController.connect_to_model()
AnimationController.get_current_frame_index()
AnimationController.get_current_frame_uuid()
AnimationController.get_frame_count()
AnimationController.get_frame_uuids()
AnimationController.jump()
AnimationController.toggle_animation()
MainMap
Markers
Markers2
PendingPolygon
SIFTMainMapCanvas
SceneGraphManager
SceneGraphManager.add_node_for_composite_dataset()
SceneGraphManager.add_node_for_image_dataset()
SceneGraphManager.add_node_for_layer()
SceneGraphManager.add_node_for_lines_dataset()
SceneGraphManager.add_node_for_mc_image_dataset()
SceneGraphManager.add_node_for_points_dataset()
SceneGraphManager.add_node_for_system_generated_data()
SceneGraphManager.apply_presentation_to_image_node()
SceneGraphManager.change_dataset_nodes_color_limits()
SceneGraphManager.change_dataset_nodes_colormap()
SceneGraphManager.change_dataset_nodes_gamma()
SceneGraphManager.change_dataset_visible()
SceneGraphManager.change_layer_opacity()
SceneGraphManager.change_layer_visible()
SceneGraphManager.change_node_for_composite_dataset()
SceneGraphManager.change_tool()
SceneGraphManager.clear_pending_polygon()
SceneGraphManager.colormaps
SceneGraphManager.copy_polygon()
SceneGraphManager.cycle_borders_color()
SceneGraphManager.cycle_latlon_grid_color()
SceneGraphManager.datasets
SceneGraphManager.get_screenshot_array()
SceneGraphManager.has_pending_polygon()
SceneGraphManager.map_to_colors_autoscaled()
SceneGraphManager.next_tool()
SceneGraphManager.on_mouse_press_point()
SceneGraphManager.on_mouse_press_region()
SceneGraphManager.on_new_polygon()
SceneGraphManager.on_point_probe_set()
SceneGraphManager.on_view_change()
SceneGraphManager.purge_dataset()
SceneGraphManager.queue
SceneGraphManager.remove_layer_node()
SceneGraphManager.remove_polygon()
SceneGraphManager.set_projection()
SceneGraphManager.show_only_polygons()
SceneGraphManager.texture_shape
SceneGraphManager.update_basic_dataset()
SceneGraphManager.update_layers_z()
get_configured_latlon_grid_resolution()
- uwsift.view.test_visuals module
- uwsift.view.texture_atlas module
- .py
MultiChannelGPUScaledTexture2D
MultiChannelGPUScaledTexture2D.check_data_format()
MultiChannelGPUScaledTexture2D.clim
MultiChannelGPUScaledTexture2D.clim_normalized
MultiChannelGPUScaledTexture2D.internalformat
MultiChannelGPUScaledTexture2D.interpolation
MultiChannelGPUScaledTexture2D.scale_and_set_data()
MultiChannelGPUScaledTexture2D.set_clim()
MultiChannelGPUScaledTexture2D.textures
MultiChannelTextureAtlas2D
TextureAtlas2D
- uwsift.view.tile_calculator module
TileCalculator
TileCalculator.OVERSAMPLED
TileCalculator.UNDERSAMPLED
TileCalculator.WELLSAMPLED
TileCalculator.calc_stride()
TileCalculator.calc_texture_coordinates()
TileCalculator.calc_tile_fraction()
TileCalculator.calc_tile_slice()
TileCalculator.calc_vertex_coordinates()
TileCalculator.calc_view_extents()
TileCalculator.visible_tiles()
calc_overview_stride()
calc_pixel_size()
calc_stride()
calc_texture_coordinates()
calc_tile_fraction()
calc_tile_slice()
calc_vertex_coordinates()
calc_view_extents()
clip()
get_reference_points()
isclose()
max_tiles_available()
visible_tiles()
- uwsift.view.transform module
- uwsift.view.visuals module
- Module contents
- uwsift.workspace package
- Subpackages
- Submodules
- uwsift.workspace.caching_workspace module
CachingWorkspace
CachingWorkspace.bgnd_task_complete()
CachingWorkspace.clear_workspace_content()
CachingWorkspace.close()
CachingWorkspace.collect_product_metadata_for_paths()
CachingWorkspace.get_content()
CachingWorkspace.get_info()
CachingWorkspace.get_metadata()
CachingWorkspace.import_product_content()
CachingWorkspace.metadatabase
CachingWorkspace.product_names_available_in_cache
CachingWorkspace.purge_content_for_product_uuids()
CachingWorkspace.recently_used_products()
- uwsift.workspace.collector module
- uwsift.workspace.guidebook module
- uwsift.workspace.importer module
- uwsift.workspace.metadatabase module
- metadatabase.py
ChainRecordWithDict
Content
ContentImage
ContentImage.INFO_TO_FIELD
ContentImage.LOD_OVERVIEW
ContentImage.atime
ContentImage.cell_height
ContentImage.cell_width
ContentImage.cols
ContentImage.coverage_cols
ContentImage.coverage_levels
ContentImage.coverage_path
ContentImage.coverage_rows
ContentImage.dtype
ContentImage.grid_first_index_x
ContentImage.grid_first_index_y
ContentImage.grid_origin
ContentImage.id
ContentImage.is_overview
ContentImage.levels
ContentImage.lod
ContentImage.mtime
ContentImage.n_attributes
ContentImage.origin_x
ContentImage.origin_y
ContentImage.path
ContentImage.product
ContentImage.product_id
ContentImage.proj4
ContentImage.resolution
ContentImage.rows
ContentImage.shape
ContentImage.sparsity_cols
ContentImage.sparsity_levels
ContentImage.sparsity_path
ContentImage.sparsity_rows
ContentImage.type
ContentImage.x_path
ContentImage.xyz_dtype
ContentImage.y_path
ContentImage.z_path
ContentKeyValue
ContentLines
ContentMultiChannelImage
ContentMultiChannelImage.atime
ContentMultiChannelImage.bands
ContentMultiChannelImage.cell_height
ContentMultiChannelImage.cell_width
ContentMultiChannelImage.cols
ContentMultiChannelImage.coverage_bands
ContentMultiChannelImage.coverage_cols
ContentMultiChannelImage.coverage_levels
ContentMultiChannelImage.coverage_path
ContentMultiChannelImage.coverage_rows
ContentMultiChannelImage.dtype
ContentMultiChannelImage.grid_first_index_x
ContentMultiChannelImage.grid_first_index_y
ContentMultiChannelImage.grid_origin
ContentMultiChannelImage.id
ContentMultiChannelImage.levels
ContentMultiChannelImage.lod
ContentMultiChannelImage.mtime
ContentMultiChannelImage.n_attributes
ContentMultiChannelImage.origin_x
ContentMultiChannelImage.origin_y
ContentMultiChannelImage.path
ContentMultiChannelImage.product
ContentMultiChannelImage.product_id
ContentMultiChannelImage.proj4
ContentMultiChannelImage.resolution
ContentMultiChannelImage.rows
ContentMultiChannelImage.shape
ContentMultiChannelImage.sparsity_cols
ContentMultiChannelImage.sparsity_levels
ContentMultiChannelImage.sparsity_path
ContentMultiChannelImage.sparsity_rows
ContentMultiChannelImage.type
ContentMultiChannelImage.x_path
ContentMultiChannelImage.xyz_dtype
ContentMultiChannelImage.y_path
ContentMultiChannelImage.z_path
ContentUnstructuredPoints
ContentUnstructuredPoints.atime
ContentUnstructuredPoints.dtype
ContentUnstructuredPoints.id
ContentUnstructuredPoints.mtime
ContentUnstructuredPoints.n_attributes
ContentUnstructuredPoints.n_dimensions
ContentUnstructuredPoints.n_points
ContentUnstructuredPoints.path
ContentUnstructuredPoints.product
ContentUnstructuredPoints.product_id
ContentUnstructuredPoints.proj4
ContentUnstructuredPoints.type
Metadatabase
Product
Product.INFO_TO_FIELD
Product.atime
Product.category
Product.cell_height
Product.cell_width
Product.content
Product.expression
Product.family
Product.from_info()
Product.grid_first_index_x
Product.grid_first_index_y
Product.grid_origin
Product.id
Product.ident
Product.info
Product.name
Product.obs_duration
Product.obs_time
Product.origin_x
Product.origin_y
Product.proj4
Product.resource
Product.resource_id
Product.serial
Product.symbol
Product.touch()
Product.track
Product.update()
Product.uuid
Product.uuid_str
ProductKeyValue
Resource
SymbolKeyValue
- uwsift.workspace.simple_workspace module
SimpleWorkspace
SimpleWorkspace.bgnd_task_complete()
SimpleWorkspace.clear_workspace_content()
SimpleWorkspace.close()
SimpleWorkspace.collect_product_metadata_for_paths()
SimpleWorkspace.find_merge_target()
SimpleWorkspace.get_content()
SimpleWorkspace.get_info()
SimpleWorkspace.get_metadata()
SimpleWorkspace.import_product_content()
SimpleWorkspace.purge_content_for_product_uuids()
SimpleWorkspace.remove_content_data_from_cache_dir_checked()
- uwsift.workspace.statistics module
- uwsift.workspace.workspace module
ActiveContent
BaseWorkspace
BaseWorkspace.bgnd_task_complete()
BaseWorkspace.clear_workspace_content()
BaseWorkspace.close()
BaseWorkspace.collect_product_metadata_for_paths()
BaseWorkspace.create_algebraic_composite()
BaseWorkspace.dataset_proj()
BaseWorkspace.find_merge_target()
BaseWorkspace.get_content()
BaseWorkspace.get_content_coordinate_mask()
BaseWorkspace.get_content_point()
BaseWorkspace.get_content_polygon()
BaseWorkspace.get_coordinate_mask_polygon()
BaseWorkspace.get_info()
BaseWorkspace.get_lines_arrays()
BaseWorkspace.get_metadata()
BaseWorkspace.get_min_max_value_for_dataset_by_uuid()
BaseWorkspace.get_points_arrays()
BaseWorkspace.get_range_for_dataset_no_fail()
BaseWorkspace.get_statistics_for_dataset_by_uuid()
BaseWorkspace.import_product_content()
BaseWorkspace.lowest_resolution_uuid()
BaseWorkspace.position_to_grid_index()
BaseWorkspace.purge_content_for_product_uuids()
BaseWorkspace.remove()
BaseWorkspace.set_product_state_flag()
frozendict
- Module contents
Submodules
uwsift.common module
.py
PURPOSE Support calculations, namedtuples and constants used throughout the library and application.
REFERENCES
REQUIRES numpy numba
- author:
R.K.Garcia <rayg@ssec.wisc.edu>
- copyright:
2015 by University of Wisconsin Regents, see AUTHORS for more details
- license:
GPLv3, see LICENSE for more details
- class uwsift.common.Box(bottom, left, top, right)[source]
Bases:
NamedTuple
- class uwsift.common.Flags[source]
Bases:
set
A set of enumerated Flags which may ultimately be represented as a bitfield, but observing set interface
- class uwsift.common.ImageDisplayMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
- PIXEL_MATRIX = 'pixel_matrix'
- SIMPLE_GEOLOCATED = 'simple_geolocated'
- TILED_GEOLOCATED = 'tiled_geolocated'
- class uwsift.common.IndexBox(bottom: int, left: int, top: int, right: int)[source]
Bases:
NamedTuple
Box using integer index values as coordinates.
This has a very similar purpose to
Box
, but restricts coordinates to integer values.
- class uwsift.common.Info(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
Standard keys for info dictionaries Note: some fields correspond to database fields in workspace.metadatabase !
- ALGEBRAIC = 'algebraic'
- CATEGORY = 'category'
- CELL_HEIGHT = 'cell_height'
- CELL_WIDTH = 'cell_width'
- CENTRAL_WAVELENGTH = 'nominal_wavelength'
- CLIM = 'clim'
- COLORMAP = 'colormap'
- DATASET_NAME = 'dataset_name'
- DISPLAY_FAMILY = 'display_family'
- DISPLAY_NAME = 'display_name'
- DISPLAY_TIME = 'display_time'
- FAMILY = 'family'
- GRID_FIRST_INDEX_X = 'grid_first_index_x'
- GRID_FIRST_INDEX_Y = 'grid_first_index_y'
- GRID_ORIGIN = 'grid_layout_origin'
- INSTRUMENT = 'instrument'
- KIND = 'kind'
- LONG_NAME = 'long_name'
- OBS_DURATION = 'obsduration'
- OBS_TIME = 'obstime'
- ORIGIN_X = 'origin_x'
- ORIGIN_Y = 'origin_y'
- PATHNAME = 'path'
- PLATFORM = 'platform'
- PROJ = 'proj4'
- SCENE = 'scene'
- SCHED_TIME = 'timeline'
- SERIAL = 'serial'
- SHAPE = 'shape'
- SHORT_NAME = 'short_name'
- STANDARD_NAME = 'standard_name'
- STYLE = 'style'
- UNITS = 'units'
- UNIT_CONVERSION = 'unit_conversion'
- UNKNOWN = '???'
- UUID = 'uuid'
- VALID_RANGE = 'valid_range'
- class uwsift.common.Instrument(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
- ABI = 'ABI'
- AHI = 'AHI'
- AMI = 'AMI'
- AVHRR3 = 'AVHRR-3'
- FCI = 'FCI'
- GENERATED = 'Generated'
- GFS = 'GFS'
- GLM = 'GLM'
- LI = 'LI'
- MIXED = 'Mixed'
- NAM = 'NAM'
- SEVIRI = 'SEVIRI'
- UNKNOWN = '???'
- class uwsift.common.Kind(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
Kind of entities we’re working with.
- COMPOSITE = 1
- IMAGE = 1
- LINES = 7
- MC_IMAGE = 10
- OUTLINE = 2
- POINTS = 9
- RGB = 4
- SHAPE = 3
- UNKNOWN = 0
- VECTORS = 8
- class uwsift.common.LayerModelColumns[source]
Bases:
object
- NAME = 2
- PROBE_UNIT = 5
- PROBE_VALUE = 4
- SOURCE = 1
- VISIBILITY = 0
- WAVELENGTH = 3
- class uwsift.common.LayerVisibility(visible: bool, opacity: float)[source]
Bases:
NamedTuple
Combine the two parameters controlling the visibility of layers.
- class uwsift.common.Platform(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
- GK2A = 'GEO-KOMPSAT-2A'
- GOES_16 = 'G16'
- GOES_17 = 'G17'
- GOES_18 = 'G18'
- GOES_19 = 'G19'
- HIMAWARI_8 = 'Himawari-8'
- HIMAWARI_9 = 'Himawari-9'
- M01 = 'Metop-B'
- M02 = 'Metop-A'
- M03 = 'Metop-C'
- MIXED = 'Mixed'
- MSG1 = 'Meteosat-8'
- MSG2 = 'Meteosat-9'
- MSG3 = 'Meteosat-10'
- MSG4 = 'Meteosat-11'
- MTGI1 = 'MTG-I1'
- NWP = 'NWP'
- SYSTEM = 'System'
- UNKNOWN = '???'
- class uwsift.common.Point(y, x)[source]
Bases:
NamedTuple
- class uwsift.common.Presentation(uuid: UUID | None, kind: Kind, visible: bool = True, colormap: object = None, style: object = None, climits: tuple | list = (inf, -inf), gamma: float | List[float] = 1.0, opacity: float = 1.0)[source]
Bases:
object
Presentation information for a layer and dataset.
- class uwsift.common.Resolution(dy: float, dx: float)[source]
Bases:
NamedTuple
Pixel resolution (km per pixel).
- class uwsift.common.State(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
State for products in document.
- ARRIVING = 2
- ATTACHED = 5
- CACHED = 3
- DANGLING = -1
- ONSCREEN = 6
- POTENTIAL = 1
- UNKNOWN = 0
- class uwsift.common.Tool(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
Enum
Names for cursor tools.
- PAN_ZOOM = 'pan_zoom'
- POINT_PROBE = 'point_probe'
- REGION_PROBE = 'region_probe'
uwsift.queue module
queue.py
PURPOSE Global background task queue for loading, rendering, et cetera. Use TheQueue.add() to create background behavior. Note that Qt4 facilities other than signals should not be used on the task queue!
REFERENCES
REQUIRES
- author:
R.K.Garcia <rayg@ssec.wisc.edu>
- copyright:
2014 by University of Wisconsin Regents, see AUTHORS for more details
- license:
GPLv3, see LICENSE for more details
- class uwsift.queue.TaskQueue(process_pool=None)[source]
Bases:
QObject
Global background task queue for loading, rendering, et cetera. Includes state updates and GUI links. Eventually will include thread pools and multiprocess pools. Two threads for interactive tasks (high priority), one thread for background tasks (low priority): 0, 1, 2
- add(key, task_iterable, description, interactive=False, and_then=None, use_process_pool=False, use_thread_pool=False)[source]
Add an iterable task which will yield progress information dictionaries.
Expect behavior like this:
for task in queue: for status_info in task: update_display(status_info) pop_display(final_status_info)
- Parameters:
key (str) – unique key for task. Queuing the same key will result in the old task being removed and the new one deferred to the end
task_iterable (iter) – callable resulting in an iterable, or an iterable itself to be run on the background
- property depth
- property remaining
uwsift.satpy_compat module
Wrappers around Satpy to handle changes between versions.