spacepy.pybats.bats

A PyBats module for handling input, output, and visualization of binary SWMF output files taylored to BATS-R-US-type data.

Classes

Bats2d(filename, *args[, blocksize])

A child class of IdlFile tailored to 2D BATS-R-US output.

BatsLog(filename[, starttime, keep_case])

A specialized version of LogFile that includes special methods for plotting common BATS-R-US log file values, such as D$_{ST}$.

Extraction(x, y, dataset[, var_list])

A class for creating and visualizing extractions from other PbData 2D data sets.

GeoIndexFile(filename[, keep_case])

Geomagnetic Index files are a specialized BATS-R-US output that contain geomagnetic indices calculated from simulated ground-based magnetometers.

Mag(nlines, time[, gmvars, ievars])

A container for data from a single BATS-R-US virtual magnetometer.

MagFile(filename[, ie_name, find_ie])

BATS-R-US magnetometer files are powerful tools for both research and operations.

MagGridFile(*args, **kwargs)

Magnetometer grids are a recent addition to BATS-R-US: instead of specifying a small set of individual stations, the user can specify a grid of many stations spanning a latitude/longitude range.

ShellSlice(filename[, format])

Shell slices are special MHD outputs where the domain is interpolated onto a spherical slice in 1, 2, or 3 dimensions.

Stream(bats, xstart, ystart, xfield, yfield)

A class for streamlines.

VirtSat(*args, **kwargs)

A spacepy.pybats.LogFile object tailored to virtual satellite output; includes special satellite-specific plotting methods.