Browse Source

Merged conflict and generalized update script

Andreas Kopmann 6 years ago
parent
commit
338ce23a2a
4 changed files with 180 additions and 2 deletions
  1. 161 0
      etc/config_held_de.py
  2. 17 0
      log/scopus-publications-held-de.log
  3. 0 1
      log/scopus-publications-ufo-kit-edu.log
  4. 2 1
      update.sh

+ 161 - 0
etc/config_held_de.py

@@ -0,0 +1,161 @@
+""" Scopus script's configration
+    
+    *A Kopmann, 20.3.2018*
+
+Configuration for the test setup ufo.kit.edu/held (Helmholtz Detectors)
+
+"""
+
+# Local publication database
+
+db_host = 'localhost'
+db_user = 'scopus'
+db_pw = '$scopus$'
+db_name = 'scopus_held'
+
+
+# Access to Wordpress installation
+
+wp_api_url = "https://ufo.kit.edu/held/xmlrpc.php"
+""" Access to the Wordpress installation """
+wp_user = "scopus1"
+wp_password = "$scopus$"
+
+
+# Reporting
+
+log_file = "/root/scopus-held/log/scopus-publications-held-de.log"
+""" Logfile name for reporting """
+
+
+# Scopus query definition
+
+MY_API_KEY = "14d431d052c2caf5e9c4b1ab7de7463d"
+""" Scopus access key (Andreas Kopmann) """
+
+
+# Scopus author IDs
+
+# KIT, PDV
+andreasKopmann = "35313939900"
+ak2 = "57193311016"
+surenChilingaryan = "15076530600"
+matthiasVogelgesang = "35303862100"
+timoDritschler = "56473578500"
+andreiShkarin = "56950893700"
+nicholasTanJerome = ""
+tillBergmann = "35308595100"
+armenBeglarian = "55343303900"
+petraRohr = "40561503300"
+norbertKunka = "35276889200"
+horstDemattio = "6506285395"
+
+# KIT, EPS
+micheleCaselle = "57194376511"
+mc2 = "57194376512"
+urosStevanovic = "55557712600"
+lorenzoRota = "56473442500"
+matthiasBalzer = "35519411500"
+oliverSander = "22986354000" 
+
+# KIT, IPE
+marcWeber = "56654729000"
+mw2 = "56603987800"
+mw3 = "7404138824"
+
+# KIT, IPS
+tomyRolo = "56118820400"
+tr2 = "35194644400"
+tr3 = "35277157300"
+tomasFarago = "56655045700"
+alexyErshof = "56441809800"
+romanShkarin = "56951331000"
+tiloBaumbach = "7003270957"
+thomasVandekamp = "46761453500"
+
+# TUD
+michaelHeethoff = "55979397800"
+sebastianSchmelzle = "34768986100"
+
+# UHD
+philipLoesel = "57190622016"
+
+# DTS
+heinzGraafsma = "7003866547"
+michaelFiederle = "56889294000"
+dorisEckstein = "7006469870"
+alexanderDierlamm = "6603122027"
+ulrichTrunk = "6602643714"
+ivanPeric = "9043482900"
+thomasBlank = "56819218800"
+karstenHansen = "7401918494"
+andreasMussgiller = "35278917500" 
+jimRitman = "6701495633"
+marcSchneider = "55649571035"
+ms2 = "55649571037"
+ms3 = "55649571036"
+ms4 = "55649571041"
+peterKaever = "55955104200"
+tobiasStockmanns = "8722644300"
+michaelBussmann = "6701512276"
+christianSchmidt = "55547128858"
+davidPennicard = "12751824800"
+berndVoss = "22965153700"
+oliverSchaefer = "56754175600"
+felixSefkow = "8062394000"
+andreasHaugns = "10538884100"
+mladenKis = "7003935197"
+corneliaWunderer = "6603143355"
+
+
+# Others (e.g. for black list)
+ashotChiligarian = "7004126133"
+hansBluemer = "7006284555"
+matthiasKleifegs = "6602072426"
+
+
+# Definition of workgroups for automatic Scopus publication retrieval
+
+sc_start = 2016
+
+dts_wp11 = [michaelFiederle,dorisEckstein,alexanderDierlamm]
+dts_wp12 = [ulrichTrunk,ivanPeric]
+dts_wp13 = [thomasBlank,karstenHansen]
+dts_wp14 = [andreasMussgiller]
+
+dts_wp21 = [marcSchneider,ms2,ms3,ms4]
+dts_wp22 = [peterKaever,matthiasBalzer,oliverSander]
+dts_wp23 = [michaelBussmann,andreasKopmann,surenChilingaryan,matthiasVogelgesang]
+
+dts_wp31 = [davidPennicard]
+dts_wp32 = [berndVoss,oliverSchaefer]
+dts_wp33 = [felixSefkow] 
+dts_wp34 = [mladenKis,micheleCaselle,lorenzoRota]
+dts_wp35 = [corneliaWunderer]
+
+
+sc_workgroups = [
+{'name':"Semiconductor sensors",'authors':dts_wp11},
+{'name':"ASICs",'authors':dts_wp12},
+{'name':"Electronics packaging",'authors':dts_wp13},
+{'name':"Innovative materials",'authors':dts_wp14},
+{'name':"Optical data transmission",'authors':dts_wp21},
+{'name':"Programmable electronics",'authors':dts_wp22},
+{'name':"Real-time data processing",'authors':dts_wp23},
+{'name':"Helmholtz cube",'authors':dts_wp31},
+{'name':"Compact gaseous detectors",'authors':dts_wp32},
+{'name':"Photon & X-ray detetors",'authors':dts_wp33},
+{'name':"Fast timing detectors",'authors':dts_wp34},
+{'name':"CMOS sensors",'authors':dts_wp35},
+]
+""" Definition of the workgroups
+    
+    Each workgroup is defined by a list of Scopus ID's and the
+    name of the category to be used in Wordpress. The category
+    for a new workgroup has to be created in Wordpress before
+    adding publications
+    """
+
+
+
+

+ 17 - 0
log/scopus-publications-held-de.log

@@ -0,0 +1,17 @@
+/root/scopus-held/scopus_get_publications.py
+
+      Date	    Time	NPubs	NNewP	NCite	NNewC	          TRun
+------------------------------------------------------------------------------
+2018-03-20	11:32:16	    2	    2	    1	    1	0:00:09.030294
+2018-03-20	11:36:50	    6	    4	    4	    3	0:00:22.298699
+2018-03-20	11:38:24	    6	    0	    4	    0	0:00:00.572656
+2018-03-20	11:40:04	  121	  115	  457	  453	0:25:36.380202
+2018-03-20	20:32:54	  199	   78	  743	  286	0:15:33.520534
+2018-03-21	14:45:45	  435	    0	 2367	 1624	1:27:40.148543
+2018-03-21	16:26:27	  435	    0	 2367	    0	0:00:00.029061
+2018-03-21	16:36:16	  553	    0	 3050	  683	0:37:06.826196
+2018-03-21	18:03:06	  553	    0	 3050	    0	0:00:20.440720
+2018-03-21	18:04:17	  553	    1	 3050	    0	0:00:19.556630
+2018-03-21	18:29:03	  553	    0	 3050	    0	0:00:26.512658
+2018-03-21	18:30:17	  553	    0	 3050	    0	0:00:09.612537
+2018-03-21	18:30:53	  554	    1	 3050	    0	0:00:50.147331

+ 0 - 1
log/scopus-publications-ufo-kit-edu.log

@@ -60,4 +60,3 @@ scopus-get-publications.py
 2018-04-19	19:26:00	  160	    1	  745	    6	0:00:54.086920
 2018-04-23	21:40:42	  160	    0	  745	    0	0:00:10.334309
 2018-04-25	12:36:59	  160	    0	  745	    0	0:00:25.924248
-2018-05-16	10:37:28	  160	    0	     	     	0:00:12.960127

+ 2 - 1
update.sh

@@ -1,6 +1,7 @@
+#!/bin/bash
 # Update publications on UFO webpage by new data in Scopus
 # A Kopmann, 11.4.2017
 #
 
-python -W ignore /root/scopus/scopus_get_publications.py
+python -W ignore "`pwd`/scopus_get_publications.py"