Functions | |
def | get_wso_wso_gif |
Variables | |
string | map2D_type = 'WSO' |
string | help_message |
list | ncar_min = interface_read_map2D.info[map2D_type] |
list | ncar_max = interface_read_map2D.info[map2D_type] |
tmp = ncar_min | |
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_WSO') |
tuple | folder_test = os.path.join('dir.test','TEST_WSO') |
tuple | fig_size = (12,6) |
int | fig_resolution = 100 |
tuple | fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution) |
tuple | magmap_path = interface_read_map2D.ncar2map(map2D_type,ncar) |
WSO DB Read the file. More... | |
tuple | magmap_data = interface_read_map2D.read(map2D_type,magmap_path) |
tuple | min_value = np.nanmin(magmap_data.data) |
tuple | max_value = np.nanmax(magmap_data.data) |
tuple | mean_value = np.nanmean(magmap_data.data) |
tuple | sub = plt.subplot(222) |
tuple | img = plot_common.map2D(sub,map2D_type,magmap_data,1) |
tuple | eq = plot_common.equator(sub,'black') |
tuple | remote_path = get_wso_wso_gif(ncar) |
WSO REF Download and plot reference image. More... | |
tuple | imgplot = sub.imshow(img) |
def test_read_wso_wso_cr.get_wso_wso_gif | ( | ncar | ) |
Find in NSO website the png corresponding to the Carrington rotation. Return its complete url.
string test_read_wso_wso_cr.axis_color = 'k' |
string test_read_wso_wso_cr.axis_name_x = 'Carrington Longitude' |
string test_read_wso_wso_cr.axis_name_y = 'Latitude' |
int test_read_wso_wso_cr.axis_size = 10 |
int test_read_wso_wso_cr.dphi = 40 |
tuple test_read_wso_wso_cr.eq = plot_common.equator(sub,'black') |
tuple test_read_wso_wso_cr.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution) |
int test_read_wso_wso_cr.fig_resolution = 100 |
tuple test_read_wso_wso_cr.fig_size = (12,6) |
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') |
string test_read_wso_wso_cr.help_message |
tuple test_read_wso_wso_cr.img = plot_common.map2D(sub,map2D_type,magmap_data,1) |
tuple test_read_wso_wso_cr.imgplot = sub.imshow(img) |
tuple test_read_wso_wso_cr.magmap_data = interface_read_map2D.read(map2D_type,magmap_path) |
tuple test_read_wso_wso_cr.magmap_path = interface_read_map2D.ncar2map(map2D_type,ncar) |
WSO DB Read the file.
string test_read_wso_wso_cr.map2D_type = 'WSO' |
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.min_value = np.nanmin(magmap_data.data) |
list test_read_wso_wso_cr.ncar_max = interface_read_map2D.info[map2D_type] |
list test_read_wso_wso_cr.ncar_min = interface_read_map2D.info[map2D_type] |
tuple test_read_wso_wso_cr.remote_path = get_wso_wso_gif(ncar) |
WSO REF Download and plot reference image.
tuple test_read_wso_wso_cr.sub = plt.subplot(222) |
test_read_wso_wso_cr.tmp = ncar_min |
list test_read_wso_wso_cr.ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ] |