Skip to content

QDataSet.Schemes

Jeremy Faden edited this page Feb 12, 2020 · 22 revisions

QDataSet Schemes

QDataSet uses "Duck Typing", which is to say if it looks like a duck, it's a duck. There's no strong typing which asserts that a QDataSet can only be interpreted in some way. This section attempts to enumerate different types and the properties they have. See https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/examples/Schemes.java which has codes demonstrating schemes and tests to see if a QDataSet satisfies a scheme. Here is a list of schemes, which can be link targets elsewhere.

Datum

rank==0

No renderers support this form. There is a Java object "Datum" for this type which is typically used.

Datum Range

rank==1
length()==2
not a bundle

No renderers support this form. There is a Java object "DatumRange" for this type which is typically used.

Bounding Box

rank==2
length()==2
length(1)==2

No renderers support this form.

rank 2 waveform

rank==2
has depend_0 which is the base time for each waveform
has depend_1 which are the offsets
depend_1 units are offset of depend_0 units

series
huge scatter

rank 3 waveform

rank==3
each slice is rank 2 waveform

series
huge scatter

rank 2 waveform rank 2 offsets

like rank 2 waveform, but depend_1 is rank 2.

series

time series

has DEPEND_0
DEPEND_0 units are time locations

Almost any render plots this form, exceptions include PitchAngleDistributionRenderer

spectrogram

rank==2 or rank==3
not a bundle

spectrogram

complex spectrogram

rank==3
zeroth index is a "join" which just connects one or more simple spectrograms.

spectrogram

vector time series

time series
rank==2
isQube
each component has same units

series by unbundling

color scatter

rank==2
length(0)=3

color scatter

events list

rank==2
bundle
length(0)==3 or length(0)==4 events bar

events list with colors

vap+dat:http://autoplot.org/autoplot/data/event/events.dat rank==2
bundle
length(0)==4

Example URI: vap+dat:http://autoplot.org/autoplot/data/event/events.dat

events bar

composite image

rank==3
isQube
DEPEND_0 is missing or uniform
DEPEND_1 is missing or uniform
length(0,0)=3 or length(0,0)=4

RGBImageRenderer Spectrogram by slicing

rank 2 bundle data set

BUNDLE_1 is a dataset containing a description of each column.
suppose BUNDLE_1 is called bds.
bds.property(QDataSet.TITLE,0) is the title of the first dataset.
bds.property(QDataSet.UNITS,0) is the units property.

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