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

Namespaces

 fetchmap2D.fetch_soho_eit_171_cr1
 
 fetch_soho_eit_171_cr1
 Download and reformat euv171 from fetch type SOHO_EIT_171_CR1.
 

Variables

string fetchmap2D.fetch_soho_eit_171_cr1.help_message
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.date_begin = datetime.datetime(1900,1,1)
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.date_end = datetime.datetime(module_common.utc_today.year+1,12,31)
 
 fetchmap2D.fetch_soho_eit_171_cr1.last_map = False
 
 fetchmap2D.fetch_soho_eit_171_cr1.first_map = False
 
 fetchmap2D.fetch_soho_eit_171_cr1.download = True
 
int fetchmap2D.fetch_soho_eit_171_cr1.verbose = 0
 
string fetchmap2D.fetch_soho_eit_171_cr1.fetch_type = 'SOHO_EIT_171_CR1'
 
list fetchmap2D.fetch_soho_eit_171_cr1.local_dir = interface_fetch_map2D.fetch_info[fetch_type]
 
list fetchmap2D.fetch_soho_eit_171_cr1.table_name = interface_fetch_map2D.fetch_info[fetch_type]
 
list fetchmap2D.fetch_soho_eit_171_cr1.data_type = interface_fetch_map2D.fetch_info[fetch_type]
 
list fetchmap2D.fetch_soho_eit_171_cr1.map_type = interface_fetch_map2D.fetch_info[fetch_type]
 
list fetchmap2D.fetch_soho_eit_171_cr1.vmin = interface_fetch_map2D.fetch_info[fetch_type]
 
list fetchmap2D.fetch_soho_eit_171_cr1.vmax = interface_fetch_map2D.fetch_info[fetch_type]
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.log_name = os.path.join('logs','fetch_map2D_soho_eit_171_cr1_' + '%04d'%(module_common.utc_today.year) + '%02d'%(module_common.utc_today.month) + '%02d'%(module_common.utc_today.day))
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.log_id = open(log_name,'a')
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.itime1 = module_timespace.Time()
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.itime2 = module_timespace.Time()
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.logs = database_map2D.init_db(database_map2D.database_path,1)
 
string fetchmap2D.fetch_soho_eit_171_cr1.message = '... Connecting to and reading sun.stanford website...'
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.server = interface_fetch_map2D.connect_remote_server(fetch_type)
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.all_remote_files = interface_fetch_map2D.read_remote_server(fetch_type,server)
 
list fetchmap2D.fetch_soho_eit_171_cr1.pattern = interface_fetch_map2D.fetch_info[fetch_type]
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.metafile = interface_fetch_map2D.MetaFile()
 
 fetchmap2D.fetch_soho_eit_171_cr1.ncar_begin = itime1.ncar
 
 fetchmap2D.fetch_soho_eit_171_cr1.ncar_end = itime2.ncar
 
list fetchmap2D.fetch_soho_eit_171_cr1.remote_files_fm1 = [ all_remote_files[-1] ]
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.to_be_downloaded = interface_fetch_map2D.vn2vnp1(remote_files_fm1,fetch_type,-1)
 
list fetchmap2D.fetch_soho_eit_171_cr1.downloaded_files = []
 
list fetchmap2D.fetch_soho_eit_171_cr1.remote_files_f0 = []
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.metafile_f0 = interface_fetch_map2D.MetaFile()
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.to_be_f1_fetched = interface_fetch_map2D.vn2vnp1(remote_files_f0,fetch_type,0)
 
list fetchmap2D.fetch_soho_eit_171_cr1.f1_fetched_paths = []
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.current_dir = os.getcwd()
 
 fetchmap2D.fetch_soho_eit_171_cr1.file_f0 = metafile.name
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.file_f1 = interface_fetch_map2D.set_name_np1(fetch_type,file_f0,0)
 
string fetchmap2D.fetch_soho_eit_171_cr1.command = 'ln -sf '
 
list fetchmap2D.fetch_soho_eit_171_cr1.f1_fetched_files = []
 
 fetchmap2D.fetch_soho_eit_171_cr1.file_fx = metafile.name
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.flevel = interface_fetch_map2D.find_fetch_level(fetch_type,file_fx)
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.result = database_map2D.find_element([table_name],conn,cur,filename = file_fx)
 
tuple fetchmap2D.fetch_soho_eit_171_cr1.row_id