This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
2: 2, | |
11: 6, | |
4: 21, | |
5: 20, | |
6: 20, | |
7: 2, | |
8: 15, | |
9: 227, | |
42: 9, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
128: 682, # waas_w???wmsp?c1 (OUR AGC) | |
129: 4350, # waas_w???rg1p?c1 (OUR RG1) | |
130: 796, # waas_w???rg3p?c1 RG3 | |
182: 114, # waas_w???gs1p?c1 | |
184: 228, # waas_w???gcvp?c1 | |
185: 76, | |
189: 1, | |
190: 114, # waas_w???gs3p?c1 | |
191: 76, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def objectify(frame): | |
""" yeilds one parsed object defined by the parsers in | |
the waas library. | |
""" | |
parsers = {'SP': sp_log.parse, | |
'CP': cp_log.parse, | |
'WAAS': waas_log.parse, | |
} | |
log_source = frame['log_type'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'site': 'zse' | |
'wre': 'b' | |
'waas_second': 1046639304.0 | |
'header': {'current_wre_mode': 5, | |
'discarded_logs': 0, | |
'gps_crc': 2548719432, | |
'lru_status_flag': 0, | |
'number_of_geo_obs': 3, | |
'number_of_gps_obs': 11, | |
'rate_group_type': 2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
baseurl=http://mygitlaburl | |
usermail=adminuser@mymailserver | |
userpass=adminpassword | |
repo_access=2 #0=denied 1=read 2=read&write | |
project_access=2 #0=deined 1=read 2=report 3=admin | |
# login | |
curl -s -I -c cookies.txt -d "utf8=✓&user[email]=$usermail&user[password]=$userpass&commit=Sign+in" $baseurl/users/sign_in |