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

Variables

int ncar = 2210
 
string axis_name_y = 'Latitude'
 
string axis_name_x = 'Carrington Longitude'
 
int axis_size = 10
 
string axis_color = 'k'
 
int dphi = 40
 
list xtick_loc = [ i*dphi for i in range(0,int(360./dphi)+1) ]
 
list xtick_label = [ str(int(xtick_loc[i])) for i in range(0,len(xtick_loc)) ]
 
list ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ]
 
list ytick_label = [ str(int(ytick_loc[i])) for i in range(0,len(ytick_loc)) ]
 
tuple folder_ref = os.path.join('dir.test','REF_DATACUBE')
 
tuple folder_test = os.path.join('dir.test','TEST_DATACUBE')
 
tuple fig_size = (12,6)
 
int fig_resolution = 100
 
tuple fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
 
string cube3D_type = 'CORFIELD'
 
tuple cube3D_path = os.path.join('dir.test','REF_DATACUBE','wso_CR2210_datacube.dat')
 
tuple cube3D_high = interface_read_cube3D.read(cube3D_type,cube3D_path)
 
string map2D_type = 'WSO'
 
tuple map2D_path = interface_read_map2D.ncar2map(map2D_type,ncar)
 
tuple map2D_data = interface_read_map2D.read(map2D_type,map2D_path)
 
tuple cube3D_low = module_cube3D.lower_resolution(cube3D_high,2)
 
tuple sub = plt.subplot(221)
 
tuple img = plot_common.slice2D(sub,cube3D_type,cube3D_high,'br',0,0,1)
 
tuple eq = plot_common.equator(sub,'black')
 
tuple the = module_toolbox_num.nearest(cube3D_high.the,0.)
 
tuple index = np.where(cube3D_high.the==the)
 

Variable Documentation

string test_cube3D_lower_resolution.axis_color = 'k'
string test_cube3D_lower_resolution.axis_name_x = 'Carrington Longitude'
string test_cube3D_lower_resolution.axis_name_y = 'Latitude'
int test_cube3D_lower_resolution.axis_size = 10
tuple test_cube3D_lower_resolution.cube3D_high = interface_read_cube3D.read(cube3D_type,cube3D_path)
tuple test_cube3D_lower_resolution.cube3D_low = module_cube3D.lower_resolution(cube3D_high,2)
tuple test_cube3D_lower_resolution.cube3D_path = os.path.join('dir.test','REF_DATACUBE','wso_CR2210_datacube.dat')
string test_cube3D_lower_resolution.cube3D_type = 'CORFIELD'
int test_cube3D_lower_resolution.dphi = 40
tuple test_cube3D_lower_resolution.eq = plot_common.equator(sub,'black')
tuple test_cube3D_lower_resolution.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
int test_cube3D_lower_resolution.fig_resolution = 100
tuple test_cube3D_lower_resolution.fig_size = (12,6)
tuple test_cube3D_lower_resolution.folder_ref = os.path.join('dir.test','REF_DATACUBE')
tuple test_cube3D_lower_resolution.folder_test = os.path.join('dir.test','TEST_DATACUBE')
tuple test_cube3D_lower_resolution.img = plot_common.slice2D(sub,cube3D_type,cube3D_high,'br',0,0,1)
tuple test_cube3D_lower_resolution.index = np.where(cube3D_high.the==the)
tuple test_cube3D_lower_resolution.map2D_data = interface_read_map2D.read(map2D_type,map2D_path)
tuple test_cube3D_lower_resolution.map2D_path = interface_read_map2D.ncar2map(map2D_type,ncar)
string test_cube3D_lower_resolution.map2D_type = 'WSO'
int test_cube3D_lower_resolution.ncar = 2210
tuple test_cube3D_lower_resolution.sub = plt.subplot(221)
tuple test_cube3D_lower_resolution.the = module_toolbox_num.nearest(cube3D_high.the,0.)
list test_cube3D_lower_resolution.xtick_label = [ str(int(xtick_loc[i])) for i in range(0,len(xtick_loc)) ]
list test_cube3D_lower_resolution.xtick_loc = [ i*dphi for i in range(0,int(360./dphi)+1) ]
list test_cube3D_lower_resolution.ytick_label = [ str(int(ytick_loc[i])) for i in range(0,len(ytick_loc)) ]
list test_cube3D_lower_resolution.ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ]