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
WrappingDrivingPolicyWrappingDrivingPolicy.change_timebase()WrappingDrivingPolicy.compute_t_sim()WrappingDrivingPolicy.curr_t_sim()WrappingDrivingPolicy.curr_timeline_index()WrappingDrivingPolicy.driving_layerWrappingDrivingPolicy.jump_to_t_sim()WrappingDrivingPolicy.on_layers_update()WrappingDrivingPolicy.timelineWrappingDrivingPolicy.timeline_length
- Module contents
- uwsift.model package
- Submodules
- uwsift.model.area_definitions_manager module
- uwsift.model.area_definitions_manager
AreaDefinitionsManagerAreaDefinitionsManager.area_def_by_group_name_and_resolution()AreaDefinitionsManager.area_def_by_id()AreaDefinitionsManager.area_def_by_name()AreaDefinitionsManager.area_def_custom_resolution_values()AreaDefinitionsManager.area_group_by_group_name()AreaDefinitionsManager.available_area_def_group_resolutions()AreaDefinitionsManager.available_area_def_names()AreaDefinitionsManager.default_area_def_name()AreaDefinitionsManager.init_available_area_defs()AreaDefinitionsManager.prepare_area_def_for_resampling()
- uwsift.model.catalogue module
- uwsift.model.composite_recipes module
AlgebraicRecipeCompositeRecipeRecipeRecipeManagerRecipeManager.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
DocumentDocument.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
LayerItemLayerItem.add_algebraic_dataset()LayerItem.add_dataset()LayerItem.add_multichannel_dataset()LayerItem.data()LayerItem.describe_timeline()LayerItem.descriptorLayerItem.determine_initial_clims()LayerItem.dynamicLayerItem.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.kindLayerItem.nameLayerItem.opacityLayerItem.orderLayerItem.presentationLayerItem.probe_valueLayerItem.remove_dataset()LayerItem.replace_recipe_layer_info()LayerItem.short_descriptorLayerItem.timelineLayerItem.update_invariable_display_data()LayerItem.valid_rangeLayerItem.visible
- uwsift.model.layer_model module
LayerModelLayerModel.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_layer_id()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
TimeManagerTimeManager.change_current_timebase_uuid()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_backendTimeManager.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
HeapAnalyzerHeapAnalyzer.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
ConfGroupingModeNumericTableWidgetItemOpenFileWizardOpenFileWizard.collect_selected_ids()OpenFileWizard.configured_readersOpenFileWizard.files_to_loadOpenFileWizard.get_directory()OpenFileWizard.get_reader()OpenFileWizard.initializePage()OpenFileWizard.initializeResolutionComboBox()OpenFileWizard.reset_state()OpenFileWizard.validateCurrentPage()
- uwsift.view.probes module
CustomNavigationToolbarProbeGraphDisplayProbeGraphDisplay.DEFAULT_NUM_BINSProbeGraphDisplay.MAX_SCATTER_PLOT_DATAProbeGraphDisplay.checkedProbeGraphDisplay.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()
ProbeGraphManagerProbeGraphManager.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
RGBLayerConfigPaneRGBLayerConfigPane.gamma_boxesRGBLayerConfigPane.layer_added()RGBLayerConfigPane.layer_removed()RGBLayerConfigPane.line_editsRGBLayerConfigPane.rgbRGBLayerConfigPane.rgb_name_editRGBLayerConfigPane.selection_did_change()RGBLayerConfigPane.set_combos_to_layer_names()RGBLayerConfigPane.sliders
- uwsift.view.scene_graph module
AnimationControllerAnimationController.animatingAnimationController.animation_speedAnimationController.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()
CustomImageMainMapMarkersMarkers2PendingPolygonSIFTMainMapCanvasSceneGraphManagerSceneGraphManager.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.collect_projection_infos()SceneGraphManager.colormapsSceneGraphManager.compute_optimal_screenshot_size()SceneGraphManager.copy_polygon()SceneGraphManager.cycle_borders_color()SceneGraphManager.cycle_latlon_grid_color()SceneGraphManager.datasetsSceneGraphManager.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.queueSceneGraphManager.remove_layer_node()SceneGraphManager.remove_polygon()SceneGraphManager.set_projection()SceneGraphManager.show_only_polygons()SceneGraphManager.texture_shapeSceneGraphManager.update_basic_dataset()SceneGraphManager.update_layers_z()
get_configured_latlon_grid_resolution()
- uwsift.view.test_visuals module
- uwsift.view.texture_atlas module
- .py
MultiChannelGPUScaledTexture2DMultiChannelGPUScaledTexture2D.check_data_format()MultiChannelGPUScaledTexture2D.climMultiChannelGPUScaledTexture2D.clim_normalizedMultiChannelGPUScaledTexture2D.internalformatMultiChannelGPUScaledTexture2D.interpolationMultiChannelGPUScaledTexture2D.scale_and_set_data()MultiChannelGPUScaledTexture2D.set_clim()MultiChannelGPUScaledTexture2D.textures
MultiChannelTextureAtlas2DTextureAtlas2D
- uwsift.view.tile_calculator module
TileCalculatorTileCalculator.OVERSAMPLEDTileCalculator.UNDERSAMPLEDTileCalculator.WELLSAMPLEDTileCalculator.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
CachingWorkspaceCachingWorkspace.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.metadatabaseCachingWorkspace.product_names_available_in_cacheCachingWorkspace.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
ChainRecordWithDictContentContentImageContentImage.INFO_TO_FIELDContentImage.LOD_OVERVIEWContentImage.atimeContentImage.cell_heightContentImage.cell_widthContentImage.colsContentImage.coverage_colsContentImage.coverage_levelsContentImage.coverage_pathContentImage.coverage_rowsContentImage.dtypeContentImage.grid_first_index_xContentImage.grid_first_index_yContentImage.grid_originContentImage.idContentImage.is_overviewContentImage.levelsContentImage.lodContentImage.mtimeContentImage.n_attributesContentImage.origin_xContentImage.origin_yContentImage.pathContentImage.productContentImage.product_idContentImage.proj4ContentImage.resolutionContentImage.rowsContentImage.shapeContentImage.sparsity_colsContentImage.sparsity_levelsContentImage.sparsity_pathContentImage.sparsity_rowsContentImage.typeContentImage.x_pathContentImage.xyz_dtypeContentImage.y_pathContentImage.z_path
ContentKeyValueContentLinesContentMultiChannelImageContentMultiChannelImage.atimeContentMultiChannelImage.bandsContentMultiChannelImage.cell_heightContentMultiChannelImage.cell_widthContentMultiChannelImage.colsContentMultiChannelImage.coverage_bandsContentMultiChannelImage.coverage_colsContentMultiChannelImage.coverage_levelsContentMultiChannelImage.coverage_pathContentMultiChannelImage.coverage_rowsContentMultiChannelImage.dtypeContentMultiChannelImage.grid_first_index_xContentMultiChannelImage.grid_first_index_yContentMultiChannelImage.grid_originContentMultiChannelImage.idContentMultiChannelImage.levelsContentMultiChannelImage.lodContentMultiChannelImage.mtimeContentMultiChannelImage.n_attributesContentMultiChannelImage.origin_xContentMultiChannelImage.origin_yContentMultiChannelImage.pathContentMultiChannelImage.productContentMultiChannelImage.product_idContentMultiChannelImage.proj4ContentMultiChannelImage.resolutionContentMultiChannelImage.rowsContentMultiChannelImage.shapeContentMultiChannelImage.sparsity_colsContentMultiChannelImage.sparsity_levelsContentMultiChannelImage.sparsity_pathContentMultiChannelImage.sparsity_rowsContentMultiChannelImage.typeContentMultiChannelImage.x_pathContentMultiChannelImage.xyz_dtypeContentMultiChannelImage.y_pathContentMultiChannelImage.z_path
ContentUnstructuredPointsContentUnstructuredPoints.atimeContentUnstructuredPoints.dtypeContentUnstructuredPoints.idContentUnstructuredPoints.mtimeContentUnstructuredPoints.n_attributesContentUnstructuredPoints.n_dimensionsContentUnstructuredPoints.n_pointsContentUnstructuredPoints.pathContentUnstructuredPoints.productContentUnstructuredPoints.product_idContentUnstructuredPoints.proj4ContentUnstructuredPoints.type
MetadatabaseProductProduct.INFO_TO_FIELDProduct.atimeProduct.categoryProduct.cell_heightProduct.cell_widthProduct.contentProduct.expressionProduct.familyProduct.from_info()Product.grid_first_index_xProduct.grid_first_index_yProduct.grid_originProduct.idProduct.identProduct.infoProduct.nameProduct.obs_durationProduct.obs_timeProduct.origin_xProduct.origin_yProduct.proj4Product.resourceProduct.resource_idProduct.serialProduct.symbolProduct.touch()Product.trackProduct.update()Product.uuidProduct.uuid_str
ProductKeyValueResourceSymbolKeyValue
- uwsift.workspace.simple_workspace module
SimpleWorkspaceSimpleWorkspace.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
ActiveContentBaseWorkspaceBaseWorkspace.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:
setA set of enumerated Flags which may ultimately be represented as a bitfield, but observing set interface
- class uwsift.common.ImageDisplayMode(value)[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:
NamedTupleBox 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)[source]
Bases:
EnumStandard 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)[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)[source]
Bases:
EnumKind 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:
NamedTupleCombine the two parameters controlling the visibility of layers.
- class uwsift.common.Platform(value)[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 = 'Meteosat-12'
- 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:
objectPresentation information for a layer and dataset.
- class uwsift.common.Resolution(dy: float, dx: float)[source]
Bases:
NamedTuplePixel resolution (km per pixel).
- class uwsift.common.State(value)[source]
Bases:
EnumState for products in document.
- ARRIVING = 2
- ATTACHED = 5
- CACHED = 3
- DANGLING = -1
- ONSCREEN = 6
- POTENTIAL = 1
- UNKNOWN = 0
- class uwsift.common.Tool(value)[source]
Bases:
EnumNames 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:
QObjectGlobal 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.