SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Namespaces | Functions | Variables
test_read_wso_wso_cr.py File Reference

Namespaces

 test_read_wso_wso_cr
 

Functions

def test_read_wso_wso_cr.get_wso_wso_gif
 

Variables

string test_read_wso_wso_cr.map2D_type = 'WSO'
 
string test_read_wso_wso_cr.help_message
 
list test_read_wso_wso_cr.ncar_min = interface_read_map2D.info[map2D_type]
 
list test_read_wso_wso_cr.ncar_max = interface_read_map2D.info[map2D_type]
 
 test_read_wso_wso_cr.tmp = ncar_min
 
string test_read_wso_wso_cr.axis_name_y = 'Latitude'
 
string test_read_wso_wso_cr.axis_name_x = 'Carrington Longitude'
 
int test_read_wso_wso_cr.axis_size = 10
 
string test_read_wso_wso_cr.axis_color = 'k'
 
int test_read_wso_wso_cr.dphi = 40
 
list test_read_wso_wso_cr.xtick_loc = [ i*dphi for i in range(0,int(360./dphi)+1) ]
 
list test_read_wso_wso_cr.xtick_label = [ str(int(xtick_loc[i])) for i in range(0,len(xtick_loc)) ]
 
list test_read_wso_wso_cr.ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ]
 
list test_read_wso_wso_cr.ytick_label = [ str(int(ytick_loc[i])) for i in range(0,len(ytick_loc)) ]
 
tuple test_read_wso_wso_cr.folder_ref = os.path.join('dir.test','REF_WSO')
 
tuple test_read_wso_wso_cr.folder_test = os.path.join('dir.test','TEST_WSO')
 
tuple test_read_wso_wso_cr.fig_size = (12,6)
 
int test_read_wso_wso_cr.fig_resolution = 100
 
tuple test_read_wso_wso_cr.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
 
tuple test_read_wso_wso_cr.magmap_path = interface_read_map2D.ncar2map(map2D_type,ncar)
 WSO DB Read the file. More...
 
tuple test_read_wso_wso_cr.magmap_data = interface_read_map2D.read(map2D_type,magmap_path)
 
tuple test_read_wso_wso_cr.min_value = np.nanmin(magmap_data.data)
 
tuple test_read_wso_wso_cr.max_value = np.nanmax(magmap_data.data)
 
tuple test_read_wso_wso_cr.mean_value = np.nanmean(magmap_data.data)
 
tuple test_read_wso_wso_cr.sub = plt.subplot(222)
 
tuple test_read_wso_wso_cr.img = plot_common.map2D(sub,map2D_type,magmap_data,1)
 
tuple test_read_wso_wso_cr.eq = plot_common.equator(sub,'black')
 
tuple test_read_wso_wso_cr.remote_path = get_wso_wso_gif(ncar)
 WSO REF Download and plot reference image. More...
 
tuple test_read_wso_wso_cr.imgplot = sub.imshow(img)