Content-Length: 601702 | pFad | http://github.com/autoplot/documentation/wiki/developer.orbitTimeSpec

90 developer.orbitTimeSpec · autoplot/documentation Wiki · GitHub
Skip to content

developer.orbitTimeSpec

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

Purpose

Define spec for having orbits as time ranges

Audience

Scientists wishing to browse by orbit

Quick Introduction

Often it's more appropriate to browse a series of data by orbit, since each the orbits identify similar intervals and intervals like days have little meaning. Because of this Autoplot is able to handle orbit numbers the same way it does times. For example, the string "February 2012" means the time interval 2012-02-01T00:00 to 2012-03-01T00:00, and "next" means "March 2012," even though they have different numbers of days. The string "orbit:rbspa-pp:30" means the perigee to perigee orbit id 30 of the RBSP-A spacecraft. The are orbits are identified in the file http://www-pw.physics.uiowa.edu/rbsp/orbits/rbspa_pp, and those for "orbit:rbspb-pp:30" are found in http://www-pw.physics.uiowa.edu/rbsp/orbits/rbspb_pp .

Spec

The following string refers to one orbit of the CRRES spacecraft: "orbit:crres:509". These orbits are defined here: http://das2.org/Orbits/crres.dat. Autoplot uses the following logic to resolve an orbit:

The file should contain a set of lines with three values: " " where and are ISO8601 (eg $Y-$m-$dT$H:$M) times. Note this is the events file format, and also that lines not containing these three fields are ignored. This allows the orbits files to exist within a wiki page, using <pre> and </pre> to indicate the table is preformatted. I found also that orbits are often described as " ", so this is supported as well. The code looks for three whitespace-delimited fields, with the middle one an ISO8601 time, and either the first or last field an ISO8601 time.

"orbit:http://das2.org/Orbits/crres.dat:509" is supported as well. Schemes "file://", "http://", "https://", and "ftp://" are supported here. Note this does not use Autoplot's data loading, so data may not exist in zip files or via sftp, and must be a text file.

Orbits in Time Ranges

We also need to be able to create times (and filenames) using orbits for timeranges. For example, you should be able to create a pngwalk by orbit, so you might want to name each file by the orbit number. In this case we might format the names of the files like so:

product_$4(o,id=rbspa-pp).png

instead of

product_$Y$m$d.png

The default field length will be 5 characters and the default pad will be underscore. The digit prefixing the field (4) identifies the length, and the pad keyword identifies pad character (only _ and 0 are supported):

product_$4(o,id=rbspa-pp,pad=0).png

Multiple Orbit Ranges

Surely people will want to be able to specify multiple orbits. As with multiple years, the field is repeated and the second is exclusive. TODO: check on this.

Examples

Different Time Ranges

Note you can get the template for this in the Autoplot Time Range Selector by right clicking, then Examples. You will need to press enter to accept the time. Here are some more examples:

Run PNGWalk with Orbit-based timeranges

We want to run a png walk with parameters plotted orbit by orbit.

  • [Autoplot Menu Bar]->Tools->Create PngWalk
  • Time Format: $(o,id=crres)
  • Time Range: 1991-Feb

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/autoplot/documentation/wiki/developer.orbitTimeSpec

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy