dguest / pandamonium

Command line scripts to parse panda web api
BSD 3-Clause "New" or "Revised" License
27 stars 17 forks source link

Support working group and official datsets (e.g. phys-hdbs, group.phys-hdbs)? #20

Closed cjustin88 closed 4 years ago

cjustin88 commented 4 years ago

I submit jobs with group credentials and output "official" group datasets, for example:

https://bigpanda.cern.ch/task/20653237/ with output container group.phys-hdbs.20200222_4515a4a0_U.ZdZd13TeV.bkg_mc16e_ttH_NTUP4L/.

Such output containers are not listed with pandamon -s or pandamon phys.hdbs. Is this supported?

Thanks, Justin

dguest commented 4 years ago

Can you try it with -u '' (that's an empty string in quotes)? It might just be that your user name isn't set, you can set the environment variable GRID_USER_NAME to be your full user name.

cjustin88 commented 4 years ago

pandamon only lists jobs under my own name, e.g. user.ychiu.... (same with pandamon -s and pandamon -u'')

dguest commented 4 years ago

right can you try pandamon group.phys-hdbs -u ''? I get a lot of jobs listed with that. In fact maybe you should omit the -u '' since you might have your user name set right to begin with, it sounds like you were just using the wrong beginning of the job name.

cjustin88 commented 4 years ago

Thanks! pandamon group.phys-hdbs -u '' and pandamon group.phys-hdbs both work. I thought I had to pass phys-hdbs as the username.

dguest commented 4 years ago

The positional argument is actually the task name. If you end it without a trailing slash pandamon will append a wildcard (*), but in general it uses the same syntax that a panda task query would use. You can also use wildcards in the task name.