Linear Collider Forum



Home » ILCDirac » Productions » access CALICE data from DIRAC?
Re: access CALICE data from DIRAC? [message #2288 is a reply to message #2287] Sun, 24 November 2013 23:27 Go to previous messageGo to previous message
jeans
Messages: 22
Registered: November 2012
I managed to do this by specifying the SRM explicitly:

Quote:

.
.
.
from ILCDIRAC.Interfaces.API.NewInterface.Applications import GetSRMFile
srm = GetSRMFile()
fdict={"file" : " srm://dcache-se-desy.desy.de/pnfs/desy.de/calice/generated/2 011-10-04/file885bf7d6-f911-4169-8124-097379c42c0f", "site" : "DESY-SRM"}
srm.setFiles(fdict)
srm.setDebug(True)
res = job.append(srm)
if not res['OK']:
print res['Message']
exit()
.
.
.



then later in script:

Quote:

ma.setInputFile("file885bf7d6-f911-4169-8124-097379c42c0f")
 
Read Message
Read Message
Read Message
Goto Forum:
  


Current Time: Mon Oct 15 23:20:54 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software