spacepy.pybats.gitm.GitmBin

class spacepy.pybats.gitm.GitmBin(filename, *args, **kwargs)[source]

Object to open, manipulate and visualize 1 and 3 dimensional GITM output stored in binary format. Object inherits from spacepy.pybats.PbData; see that documentation for general information on how these objects work.

GITM index ordering is [lon, lat, altitude]. For 2D or 1D files, any dimension that has only one value will have that dimension removed from the final arrays (e.g., a 2D cut through a single altitude will have the altitude dimension removed; the final arrays will be lon X lat only.)

__init__(filename, *args, **kwargs)[source]

Base class for “Data Model” representation data

Abstract method, reimplement

Attributes:
attrsdict

dictionary of the attributes of the SpaceData object

Methods

calc_deg()

Gitm defaults to radians for lat and lon, which is sometimes difficult to use.

Attributes

calc_deg()[source]

Gitm defaults to radians for lat and lon, which is sometimes difficult to use. This method creates dLat and dLon, which is lat and lon in degrees.

attrs: collections.abc.Mapping