ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Functions
ascii_connectivitypoint Namespace Reference

R/W routine in ascii format for module_connectivity.ConnectivityPoint. More...

Functions

def write
 Master write routine for ConnectivityPoint list. More...
 
def read
 Master read routine for different ConnectivityPoint list ascii format. More...
 
def write_v0
 Write a ConnectivityPoint list in a file unit already open in proper mode (append,replace...) using format 0. More...
 
def read_v0
 Read a ConnectivityPoint list from a file unit already open in proper mode (read...) using format 0. More...
 
def write_v1
 Write a ConnectivityPoint list in a file unit already open in proper mode (append,replace...) using format 1. More...
 
def read_v1
 Read a ConnectivityPoint list from a file unit already open in proper mode (read...) using format 1. More...
 

Detailed Description

R/W routine in ascii format for module_connectivity.ConnectivityPoint.

Function Documentation

def ascii_connectivitypoint.read (   ifile)

Master read routine for different ConnectivityPoint list ascii format.

Read first line only and auto determine version. Call the good vX function.

Here is the call graph for this function:

Here is the caller graph for this function:

def ascii_connectivitypoint.read_v0 (   ifile)

Read a ConnectivityPoint list from a file unit already open in proper mode (read...) using format 0.

Format V0 is define here.

Here is the caller graph for this function:

def ascii_connectivitypoint.read_v1 (   ifile)

Read a ConnectivityPoint list from a file unit already open in proper mode (read...) using format 1.

Format V1 is define here.

Here is the caller graph for this function:

def ascii_connectivitypoint.write (   obs_name,
  obs_date,
  obs_coord_hgc,
  connectivity_map,
  ifile 
)

Master write routine for ConnectivityPoint list.

  • write_v1

Here is the call graph for this function:

def ascii_connectivitypoint.write_v0 (   obs_name,
  obs_date,
  obs_coord_hgc,
  densitymaps,
  ifile 
)

Write a ConnectivityPoint list in a file unit already open in proper mode (append,replace...) using format 0.

Format V0
Header. Here the 12 header lines:
  • ObserverName coordinate is given in the HelioGraphic Carrington coordinate system HGC (R,CRLT,CRLN).
  • ObserverName is the center of Helioprojective coordinate system HPC (DIST,HPLT,HPLN).
  • CROTA2=0. Sun North is up.
  • List of points is given using spherical (r,lat,lon) representation in the HGC and HPC coordinate systems.
  • A probability density is given for each point.
  • Data is formatted as follow:
  • nVersion
  • Rsun(m)
  • ObserverTime
  • ObserverName R_OBS(m) CRLT_OBS(degrees) CRLN_OBS(degrees)
  • npoint
  • ipoint density(%) R(m) CRLT(degrees) CRLN(degrees) DIST(m) HPLT(degrees) HPLN(degrees) Format V0 is define here.

Here is the call graph for this function:

Here is the caller graph for this function:

def ascii_connectivitypoint.write_v1 (   obs_name,
  obs_date,
  obs_coord_hgc,
  densitymaps,
  ifile 
)

Write a ConnectivityPoint list in a file unit already open in proper mode (append,replace...) using format 1.

Format V1
Header. Here the 15 header lines:
  • ObserverName coordinate is given in the HelioGraphic Carrington coordinate system HGC (R,CRLT,CRLN).
  • ObserverName is the center of Helioprojective coordinate system HPC (DIST,HPLT,HPLN).
  • CROTA2=0. Sun North is up.
  • List of points is given using spherical (r,lat,lon) representation in the HGC and HPC coordinate systems.
  • A probability density is given for each point.
  • FSS stands for Fast Solar Wind.
  • SSW stands for Slow Solar Wind.
  • M stands for Measured Solar Wind Speed.
  • Data is formatted as follow:
  • nVersion
  • Rsun(m)
  • ObserverTime
  • ObserverName R_OBS(m) CRLT_OBS(degrees) CRLN_OBS(degrees)
  • npoint_tot npoint_ssw npoint_fsw npoint_m
  • FSW/SSW/M ipoint density(%) R(m) CRLT(degrees) CRLN(degrees) DIST(m) HPLT(degrees) HPLN(degrees) Format V1 is define here.

Here is the call graph for this function:

Here is the caller graph for this function: