SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions | Variables
read_timeserie_ace_maglv1 Namespace Reference

Classes

class  ACEMAGLV1Error
 

Functions

def read
 Master routine for reading ACE/MAG/level1 different formats. More...
 
def read_v2
 Read V2 format and return a module_timeserie.Timeserie object. More...
 
def from_v1_to_v2
 Convert Level1 V1 format file (HDF) into V2 format ascii file. More...
 

Variables

tuple ref_epoch = datetime.datetime(1996,1,1)
 
tuple ancillary_path = os.path.join(path_ace,'ACE_ANCIL.HDF')
 

Function Documentation

def read_timeserie_ace_maglv1.from_v1_to_v2 (   path_v1,
  path_v2 
)

Convert Level1 V1 format file (HDF) into V2 format ascii file.

Use C program mag_avgvec_rd in path_ace.

def read_timeserie_ace_maglv1.read (   filepath)

Master routine for reading ACE/MAG/level1 different formats.

Here is the call graph for this function:

Here is the caller graph for this function:

def read_timeserie_ace_maglv1.read_v2 (   filepath)

Read V2 format and return a module_timeserie.Timeserie object.

ACE/MAG/Level1 V2-format is the following:

1 readout collection ACEepoch b_x b_y b_z b_sigma
2 705745907 705745906 757814404.57 -2.0913 0.6913 1.8979 0.5938
3 705745923 705745922 757814420.60 -1.8955 0.5372 2.2919 0.4639
4 ...

Where Bx,By,Bz is the magnetic field in GSE or GSM frame.

Here is the caller graph for this function:

Variable Documentation

tuple read_timeserie_ace_maglv1.ancillary_path = os.path.join(path_ace,'ACE_ANCIL.HDF')
tuple read_timeserie_ace_maglv1.ref_epoch = datetime.datetime(1996,1,1)