Skip to content

developer.multiDataSetConventions

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

Ed West and Jeremy were talking about how conventions could be introduced to support reading in multiple datasets in one pass. For example, with an ascii file you want to read in Y(T). This is common, and we support doing this in one pass with DEPEND_0 keywords. But what if you also want to read in DEPEND_1? I've added keywords for this too. Now someone wants to do similar for the binary reader, but can't until I implement it. What if instead there were conventions for how these are specified, and they can be specified uniformly?

Instead of:

x= vap+bin:/tmp/foo.bin?recLength=16&recOffset=4
y= vap+bin:/tmp/foo.bin?recLength=16&recOffset=8
plot( x,y )

You would have:

ds= vap+bin:/tmp/foo.bin?recLength=16&dep0.recOffset=4&recOffset=8
plot( ds )

This would implicitly create a DEPEND_0 dataset read in with the same arguments, except for recOffset. Or more importantly:

x= vap+bin:/tmp/foo.bin?recLength=16&recOffset=4&byteOffset=16
z= vap+bin:/tmp/foo.bin?recLength=16&recOffset=8&byteOffset=16
y= vap+bin:/tmp/foo.bin?recLength=16&recOffset=8&byteOffset=0&recCount=1
plot( x,y,z )

becomes:

ds= vap+bin:/tmp/foo.bin?recLength=16&dep0.recOffset=4&recOffset=8&byteOffset=16&dep1.recCount=1&dep1.byteOffset=0
plot( x,y,z )

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