Skip to content

developer.progress.monitors

Jeremy Faden edited this page Jun 14, 2024 · 3 revisions

Audience: Autoplot and das2 developers

Purpose: Explain use and lifecycle of progress monitor objects.

Introduction

The definition of proper management of monitor objects has moved around over the years, and after discovering Autoplot bug https://sourceforge.net/p/autoplot/bugs/1251/ and realizing I've lost my documents on how to manage progress monitors, I realized this needs to be documented again.

Lifecycle

  • Either the progress monitor is ignored, or
  • all uses of the progress monitor are within one script or Java code.

So the lifecycle goes like this:

  • monitor.setTaskSize(int) is the size is determinate.
  • monitor.started() is called.
  • repeat any number of times:
    • monitor.setTaskProgress(int) is called. Monitors must be careful because this method may be called millions of times a second, and it must be quick.
    • monitor.setProgressLabel(String) is called.
  • monitor.finished is called. Just once!!!!

Table Of Contents

URIs that Point to Data Files

Download a CDF and Plot it with Autoplot

Load a CDF directly from a website

URIs that Point to Data Servers

Saving to vap files

Loading vap files

Data Sources

CDF Files

HDF/NetCDF Files

Aggregation

CDAWeb

HAPI Servers

Exporting Data

Export Types

Additional controls

Aggregation

Tools

PNGWalk Tool

Data Mash Up

Events List

Run Batch

Advanced Topics

TimeSeriesBrowse and other Capabilities

Events Lists

Caching

Autoranging

Managing Autoplot's Data Cache

Using Autoplot with Python, IDL, and Matlab

Reading data into Python

Reading data into IDL

Reading data into Matlab

QDataSet Data Model

Clone this wiki locally