SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
readchole.read_chole_solarmonitor_chimera Namespace Reference

Classes

class  CHIMERAError
 
class  CHIMERAChole
 

Functions

def write_choles
 Write chole list in a file. More...
 
def print_choles
 Write chole list on standard output. More...
 
def chimera_decode_contour_id
 Decode Chimera contour ID. More...
 
def chimera_code_contour_id
 Code Chimera contour ID. More...
 
def find_contour_by_id
 In a list of CHIMERAChole objects, find the one with a given chole_id. More...
 
def main_contour
 In a list of CHIMERAChole objects, find the number of main contour. More...
 
def chimera2std
 Transform a CHIMERAChole object into a module_chole.Chole object (standard). More...
 
def read_ascii
 Master routine for reading SOLARMONITOR/CHIMERA different formats. More...
 
def read_ascii_v0
 Read ascii SOLARMONITOR/CHIMERA V0-format coronal hole file from Solarmonitor/Chimera. More...
 
def write_ascii_v0
 Write ascii SOLARMONITOR/CHIMERA V0-format coronal hole file from Solarmonitor/Chimera. More...
 
def read_ascii_v1
 Read ascii SOLARMONITOR/CHIMERA V1-format coronal hole file from Solarmonitor/Chimera. More...
 
def write_ascii_v1
 Write ascii SOLARMONITOR/CHIMERA V1-format coronal hole file from Solarmonitor/Chimera. More...
 

Function Documentation

def readchole.read_chole_solarmonitor_chimera.chimera2std (   choles_chimera,
  observer = 'Earth' 
)

Transform a CHIMERAChole object into a module_chole.Chole object (standard).

Parameters
[in]choles_chimera,:list of CHIMERAChole objects
[out]choles_std,:list module_chole.Chole objects
def readchole.read_chole_solarmonitor_chimera.chimera_code_contour_id (   chole_id)

Code Chimera contour ID.

ID: d.00000

Returns
a string

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.chimera_decode_contour_id (   line)

Decode Chimera contour ID.

ID: d.00000

Returns
an integer

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.find_contour_by_id (   contours,
  id_in 
)

In a list of CHIMERAChole objects, find the one with a given chole_id.

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.main_contour (   contours)

In a list of CHIMERAChole objects, find the number of main contour.

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.print_choles (   choles)

Write chole list on standard output.

def readchole.read_chole_solarmonitor_chimera.read_ascii (   filepath)

Master routine for reading SOLARMONITOR/CHIMERA different formats.

Here is the call graph for this function:

def readchole.read_chole_solarmonitor_chimera.read_ascii_v0 (   ifile)

Read ascii SOLARMONITOR/CHIMERA V0-format coronal hole file from Solarmonitor/Chimera.

Parameters
[in]ifile,:file ID of an open file
[out]contours,:List of CHIMERAChole objects in HPC coordinate.

SOLARMONITOR V0-format for coronal hole file is the following:

  • 4k-Image (4096x4096 pixels)
  • Pixels are centered at (2048,2048)
  • Pixels begins at left, bottom corner. Header:
  • Date(utime): Ymd_HMS
  • Solar_radius: f
  • Pixel_2_arcsec: f

Data:

  • ID: 1.0
  • pixel_lon pixel_lat
  • ...
  • ID: 2.0
  • ...

Here is the call graph for this function:

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.read_ascii_v1 (   ifile)

Read ascii SOLARMONITOR/CHIMERA V1-format coronal hole file from Solarmonitor/Chimera.

Parameters
[in]ifile,:file ID of an open file
[out]contours,:List of CHIMERAChole objects in HGC coordinate.

SOLARMONITOR V1-format for coronal hole file is the following:
Header:

  • Version 1
  • Date(utime): Ymd_HMS
  • Solar_radius: f
  • Pixel_2_arcsec: f

Data:

  • ID: 1.0
  • HGC_lon HGC_lat
  • ...
  • ID: 2.0
  • ...

Here is the call graph for this function:

Here is the caller graph for this function:

def readchole.read_chole_solarmonitor_chimera.write_ascii_v0 (   contours,
  filepath 
)

Write ascii SOLARMONITOR/CHIMERA V0-format coronal hole file from Solarmonitor/Chimera.

Parameters
[in]contours,:List of CHIMERAChole objects in HPC coordinates.
[in]filepath

Here is the call graph for this function:

def readchole.read_chole_solarmonitor_chimera.write_ascii_v1 (   contours,
  filepath 
)

Write ascii SOLARMONITOR/CHIMERA V1-format coronal hole file from Solarmonitor/Chimera.

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

Here is the call graph for this function:

def readchole.read_chole_solarmonitor_chimera.write_choles (   choles,
  fid 
)

Write chole list in a file.