User Tools

Site Tools


community:hepsim:usage_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
community:hepsim:usage_analysis [2016/04/28 15:26]
asc
community:hepsim:usage_analysis [2016/11/16 23:38] (current)
asc [Accessing data]
Line 43: Line 43:
 </code> </code>
  
 +Note that you can find URL list of datasets using the standard Python. 
 +
 +<code python>
 +name="tev100_pythia8_minbias_a14"
 +hepsim_server="http://atlaswww.hep.anl.gov/hepsim/"
 +import urllib2
 +response = urllib2.urlopen(hepsim_server+'/geturlmirrors.php?name='+name)
 +html = response.read()
 +response.close()
 +html=html.split(";")
 +print html # print a list of URL locations 
 +</code>
  
 If ProMC files were downloaded to the local file system, one can build the file list as: If ProMC files were downloaded to the local file system, one can build the file list as:
community/hepsim/usage_analysis.1461857216.txt.gz ยท Last modified: 2016/04/28 15:26 by asc