SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
readcube3D.read_cube3D_corfield Namespace Reference

Classes

class  CORFIELDError
 

Functions

def read_ascii
 Master routine for reading CORFIELD/Ascii different formats. More...
 
def read_ascii_v0
 Read. More...
 

Function Documentation

def readcube3D.read_cube3D_corfield.read_ascii (   filepath)

Master routine for reading CORFIELD/Ascii different formats.

Here is the call graph for this function:

def readcube3D.read_cube3D_corfield.read_ascii_v0 (   ifile)

Read.

"CORFIELD Ascii Datacube format v0" and return a cube3D for magnetic field.

Returns
module_cube3D.Cube3D() object.

CORFIELD ASCII Datacube V0-format is the following:
Header: 7 lines
Line[4] of header contains nr nthe nphi Data:

  • r [1..nr] coded as E16.6 for each line. Radial distance in Rsun.
  • newline
  • the[1..nthe] coded as E16.6 for each line. Latitude in degree from -90 to 90.
  • newline
  • phi[1..nphi] coded as E16.6 for each line. Longitude in degree from 0 to 360.
  • newline
  • br [1..nr*nthe*nphi] coded as 9E16.6 for each line. Radial magnetic component (G)
  • newline
  • bthe[1..nr*nthe*nphi] coded as 9E16.6 for each line. Latitudinal? magnetic component (G)
  • newline
  • bphi[1..nr*nthe*nphi] coded as 9E16.6 for each line. Longitudinal magnetic component (G)

Here is the caller graph for this function: