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

Namespaces

 test_read_adapt_gong_date
 

Variables

string test_read_adapt_gong_date.help_message
 
tuple test_read_adapt_gong_date.date_min = datetime.datetime(2019,7,1)
 
 test_read_adapt_gong_date.date_max = module_common.utc_today
 
 test_read_adapt_gong_date.tmp = date_min
 
string test_read_adapt_gong_date.axis_name_y = 'Latitude'
 
string test_read_adapt_gong_date.axis_name_x = 'Carrington Longitude'
 
int test_read_adapt_gong_date.axis_size = 10
 
string test_read_adapt_gong_date.axis_color = 'k'
 
int test_read_adapt_gong_date.dphi = 40
 
list test_read_adapt_gong_date.xtick_loc = [ i*dphi for i in range(0,int(360./dphi)+1) ]
 
list test_read_adapt_gong_date.xtick_label = [ str(int(xtick_loc[i])) for i in range(0,len(xtick_loc)) ]
 
list test_read_adapt_gong_date.ytick_loc = [ -90,-80,-60,-40,-20,0,20,40,60,80,90 ]
 
list test_read_adapt_gong_date.ytick_label = [ str(int(ytick_loc[i])) for i in range(0,len(ytick_loc)) ]
 
tuple test_read_adapt_gong_date.folder_test = os.path.join('dir.test','TEST')
 
tuple test_read_adapt_gong_date.fig_size = (12,6)
 
int test_read_adapt_gong_date.fig_resolution = 100
 
 test_read_adapt_gong_date.delta = date_max-date_min
 
 test_read_adapt_gong_date.ndays = delta.days
 
list test_read_adapt_gong_date.dates = [ date_min + i*datetime.timedelta(days=1) for i in range(0,ndays+1) ]
 
tuple test_read_adapt_gong_date.date_in = module_timespace.Time()
 
tuple test_read_adapt_gong_date.fig = plt.figure(num=1,figsize=fig_size,dpi=fig_resolution)
 
string test_read_adapt_gong_date.map2D_type = 'NSO'
 NSO Read the file. More...
 
string test_read_adapt_gong_date.mag_table = 'OBS_MAPS_NSO'
 
tuple test_read_adapt_gong_date.mag_db = database_map2D.time2map(mag_table,date_in)
 
tuple test_read_adapt_gong_date.magmap_path = os.path.join(mag_db['dirname'],mag_db['filename'])
 
tuple test_read_adapt_gong_date.magmap_data = interface_read_map2D.read(mag_table,magmap_path)
 
tuple test_read_adapt_gong_date.sub = plt.subplot(221)
 
tuple test_read_adapt_gong_date.img = plot_common.map2D(sub,mag_table,magmap_data,mag_db['vmin'],mag_db['vmax'],1)
 
tuple test_read_adapt_gong_date.eq = plot_common.equator(sub,'black')
 
tuple test_read_adapt_gong_date.min_value = np.nanmin(magmap_data.data)
 
tuple test_read_adapt_gong_date.max_value = np.nanmax(magmap_data.data)
 
tuple test_read_adapt_gong_date.mean_value = np.nanmean(magmap_data.data)
 
string test_read_adapt_gong_date.command = 'eog %s/test_*.png'