Skip to content

scripting cookbook

Jeremy Faden edited this page Jun 10, 2022 · 11 revisions

Purpose: Reformat and clean up of the cookbook page at autoplot.org/cookbook.

Introduction

This page hopes to create a useful resource showing example scripts and describing in more detail how they work. Some may find the scripts useful to perform some science task, while others may use these as a reference for writing scripts on their own.

Science Graphics

L-shell as Y-axis

The script https://github.com/autoplot/dev/blob/master/demos/2022/NewLSpec.jy shows how data can be reformed so that L-Shell is used for the Y-axis, Time the X-axis, and another parameter, such as the density, is used for the Z-axis (colorbar).

Data Processing

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