Variables | |
list | nuc = sys.argv[1] |
list | target = sys.argv[2] |
tuple | override = os.getenv('MORE_ENSDF_DIR',None) |
target = override | |
tuple | mlen = len(A) |
string | filename = '%(a)03d%(n)s.ens' |
string | url = 'http://ie.lbl.gov/databases/data/%(a)03d/%(a)03d%(n)s/%(a)03d%(n)s.ens' |
string | err_target = '/' |
tuple | errfile = open(err_target,'r') |
tuple | response = urlopen(url) |
tuple | err = str(err) |
tuple | errfile = open(err_target,'w') |
list | data = [] |
int | file = 2 |
tuple | file = open(target,"w") |
tuple | line = (3-mlen) |
list lbl-ensdf-fetcher::nuc = sys.argv[1] [static] |
Definition at line 9 of file lbl-ensdf-fetcher.py.
list lbl-ensdf-fetcher::target = sys.argv[2] [static] |
Definition at line 10 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::override = os.getenv('MORE_ENSDF_DIR',None) [static] |
Definition at line 19 of file lbl-ensdf-fetcher.py.
lbl-ensdf-fetcher::target = override [static] |
Definition at line 21 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::mlen = len(A) [static] |
Definition at line 30 of file lbl-ensdf-fetcher.py.
string lbl-ensdf-fetcher::filename = '%(a)03d%(n)s.ens' [static] |
Definition at line 31 of file lbl-ensdf-fetcher.py.
string lbl-ensdf-fetcher::url = 'http://ie.lbl.gov/databases/data/%(a)03d/%(a)03d%(n)s/%(a)03d%(n)s.ens' [static] |
Definition at line 32 of file lbl-ensdf-fetcher.py.
string lbl-ensdf-fetcher::err_target = '/' [static] |
Definition at line 36 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::errfile = open(err_target,'r') [static] |
Definition at line 39 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::response = urlopen(url) [static] |
Definition at line 46 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::err = str(err) [static] |
Definition at line 48 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::errfile = open(err_target,'w') [static] |
Definition at line 50 of file lbl-ensdf-fetcher.py.
list lbl-ensdf-fetcher::data = [] [static] |
Definition at line 57 of file lbl-ensdf-fetcher.py.
int lbl-ensdf-fetcher::file = 2 [static] |
Definition at line 63 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::file = open(target,"w") [static] |
Definition at line 65 of file lbl-ensdf-fetcher.py.
tuple lbl-ensdf-fetcher::line = (3-mlen) [static] |
Definition at line 70 of file lbl-ensdf-fetcher.py.