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

Functions

def read_ascii
 Master routine for reading module_chole.Chole() different formats. More...
 
def read_ascii_v0
 Read ascii v0 format coronal hole file from SWD. More...
 
def write_ascii_v0
 Write ascii v0 format coronal hole file from SWD. More...
 

Function Documentation

def ascii_chole.read_ascii (   filepath)

Master routine for reading module_chole.Chole() different formats.

Here is the call graph for this function:

def ascii_chole.read_ascii_v0 (   ifile)

Read ascii v0 format coronal hole file from SWD.

Parameters
[in]ifile,:file ID of an open file
[out]contours,:List of module_chole.Chole objects in HGC coordinates.

SWD V0-format for coronal hole file is the following:
Header (6 lines):

  • #Version: 0
  • #Date(utime): Y-m-dTH:M:S
  • #Observer: ObsName
  • #ObserverPosition: R_OBS(m) CRLT_OBS(degrees) CRLN_OBS(degrees)
  • #ID: id_contour(int)
  • #R(m) CRLT(degrees) CRLN(degrees) DIST(m) HPLT(degrees) HPLN(degrees)

Data:

  • ID: 1
  • R(m) CRLT(degrees) CRLN(degrees) DIST(m) HPLT(degrees) HPLN(degrees)
  • ...
  • ID: 2
  • ...

Here is the caller graph for this function:

def ascii_chole.write_ascii_v0 (   choles,
  filepath 
)

Write ascii v0 format coronal hole file from SWD.

Parameters
[in]contours,:List of module_chole.Chole objects in HGC coordinate.
[in]filepath

Here is the call graph for this function: