Skip to content

Instantly share code, notes, and snippets.

@Cadair
Last active December 14, 2015 00:09
Show Gist options
  • Save Cadair/4996970 to your computer and use it in GitHub Desktop.
Save Cadair/4996970 to your computer and use it in GitHub Desktop.
Using sunpy/tools/pylint/pylintrc and ignorning gui and tests. staging is previous run and namesapce_cleanup is new.
************* Module sunpy.sun.position
I0011: 7,0: Locally disabling E1101
I0011: 7,0: Locally disabling E1121
R0914: 26,0:position: Too many local variables (22/15)
************* Module sunpy.sun.constants
I0011: 93,0: Locally disabling E0611
C0301: 4,0: Line too long (88/80)
C0301: 5,0: Line too long (83/80)
C0301: 12,0: Line too long (86/80)
C0301: 18,0: Line too long (91/80)
C0301: 19,0: Line too long (89/80)
C0301: 36,0: Line too long (92/80)
C0301: 58,0: Line too long (92/80)
C0301: 60,0: Line too long (84/80)
C0301: 67,0: Line too long (84/80)
C0301: 68,0: Line too long (152/80)
C0301: 69,0: Line too long (87/80)
C0301: 71,0: Line too long (84/80)
************* Module sunpy.sun.sun
I0011: 96,0: Locally disabling W0613
C0301:104,0: Line too long (85/80)
C0301:143,0: Line too long (103/80)
C0301:167,0: Line too long (83/80)
C0301:182,0: Line too long (82/80)
C0301:187,0: Line too long (109/80)
C0301:199,0: Line too long (91/80)
C0301:213,0: Line too long (86/80)
C0301:252,0: Line too long (83/80)
C0301:253,0: Line too long (83/80)
C0301:258,0: Line too long (107/80)
C0111: 60,0:solar_cycle_number: Missing docstring
C0324: 80,4:position: Comma not followed by a space
result = [ra,dec]
^^
C0111: 96,0:longitude_Sun_perigee: Missing docstring
C0111:162,0:apparent_latitude: Missing docstring
C0111:165,0:true_obliquity_of_ecliptic: Missing docstring
C0111:170,0:true_rightascenscion: Missing docstring
C0111:176,0:true_declination: Missing docstring
C0111:180,0:apparent_obliquity_of_ecliptic: Missing docstring
C0324:189,4:apparent_rightascenscion: Comma not followed by a space
rpol = cmath.polar(complex(x,y))
^^
C0321:191,19:apparent_rightascenscion: More than one statement on a single line
C0324:235,4:heliographic_solar_center: Comma not followed by a space
rpol = cmath.polar(complex(x,y))
^^
************* Module sunpy.data
C0111: 1,0: Missing docstring
************* Module sunpy.wcs.wcs
C0301: 10,0: Line too long (81/80)
C0301: 17,0: Line too long (81/80)
C0301: 34,0: Line too long (83/80)
R0913: 59,0:convert_pixel_to_data: Too many arguments (11/5)
R0914: 59,0:convert_pixel_to_data: Too many local variables (16/15)
R0913: 82,0:convert_data_to_pixel: Too many arguments (8/5)
R0913: 99,0:convert_hpc_hcc: Too many arguments (7/5)
W0613:100,20:convert_hpc_hcc: Unused argument 'distance'
W0612:105,10:convert_hpc_hcc: Unused variable 'z'
R0913:108,0:convert_hpc_hcc_xyz: Too many arguments (7/5)
R0914:108,0:convert_hpc_hcc_xyz: Too many local variables (16/15)
R0913:133,0:convert_hcc_hpc: Too many arguments (6/5)
R0913:155,0:convert_hcc_hg: Too many arguments (6/5)
R0913:173,0:convert_hg_hcc: Too many arguments (6/5)
R0914:185,0:convert_hg_hcc_xyz: Too many local variables (18/15)
R0913:216,0:convert_hg_hpc: Too many arguments (8/5)
R0913:224,0:convert_hpc_hg: Too many arguments (8/5)
W0613:235,19:proj_tan: Unused argument 'force'
R0913:244,0:convert_to_coord: Too many arguments (6/5)
W0613:244,41:convert_to_coord: Unused argument 'fromto'
************* Module sunpy.wcs
C0111: 1,0: Missing docstring
************* Module sunpy.cm.color_tables
C0301: 10,0: Line too long (107/80)
C0301: 35,0: Line too long (660/80)
C0301: 71,0: Line too long (106/80)
C0301: 72,0: Line too long (90/80)
C0301: 73,0: Line too long (101/80)
C0301: 74,0: Line too long (120/80)
C0301: 75,0: Line too long (120/80)
C0301: 76,0: Line too long (120/80)
C0301: 77,0: Line too long (120/80)
C0301: 78,0: Line too long (120/80)
C0301: 81,0: Line too long (104/80)
C0301: 82,0: Line too long (90/80)
C0301: 83,0: Line too long (90/80)
C0301: 84,0: Line too long (112/80)
C0301: 85,0: Line too long (120/80)
C0301: 86,0: Line too long (120/80)
C0301: 87,0: Line too long (120/80)
C0301: 88,0: Line too long (120/80)
C0301: 91,0: Line too long (94/80)
C0301: 92,0: Line too long (108/80)
C0301: 95,0: Line too long (83/80)
C0301: 96,0: Line too long (105/80)
C0301: 99,0: Line too long (133/80)
C0301:100,0: Line too long (93/80)
C0301:101,0: Line too long (120/80)
C0301:102,0: Line too long (120/80)
C0301:105,0: Line too long (89/80)
C0301:106,0: Line too long (90/80)
C0301:107,0: Line too long (99/80)
C0301:108,0: Line too long (120/80)
C0301:109,0: Line too long (120/80)
C0301:110,0: Line too long (120/80)
C0301:111,0: Line too long (120/80)
C0301:114,0: Line too long (129/80)
C0301:115,0: Line too long (92/80)
C0301:116,0: Line too long (120/80)
C0301:117,0: Line too long (120/80)
C0301:120,0: Line too long (88/80)
C0301:121,0: Line too long (90/80)
C0301:122,0: Line too long (90/80)
C0301:123,0: Line too long (108/80)
C0301:124,0: Line too long (120/80)
C0301:125,0: Line too long (120/80)
C0301:126,0: Line too long (120/80)
C0301:129,0: Line too long (111/80)
C0301:130,0: Line too long (110/80)
C0301:133,0: Line too long (88/80)
C0301:134,0: Line too long (90/80)
C0301:135,0: Line too long (103/80)
C0301:136,0: Line too long (120/80)
C0301:137,0: Line too long (120/80)
C0301:138,0: Line too long (120/80)
C0301:139,0: Line too long (120/80)
C0301:143,0: Line too long (88/80)
C0301:144,0: Line too long (109/80)
C0301:145,0: Line too long (120/80)
C0301:148,0: Line too long (87/80)
C0301:149,0: Line too long (106/80)
C0301:182,0: Line too long (140/80)
C0301:183,0: Line too long (140/80)
C0301:186,0: Line too long (118/80)
C0301:187,0: Line too long (141/80)
C0301:189,0: Line too long (165/80)
C0301:191,0: Line too long (176/80)
C0301:193,0: Line too long (164/80)
C0301:194,0: Line too long (149/80)
C0301:196,0: Line too long (145/80)
C0301:197,0: Line too long (140/80)
C0324: 35,0: Comma not followed by a space
r0 = np.array(paden([0,1,2,4,5,7,8,10,11,13,14,15,17,18,20,21,23,24,26,27,28,30,31,33,34,36,37,39,40,42,43,44,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,68,69,70,72,73,75,76,78,79,81,82,84,85,86,88,89,91,92,94,95,97,98,99,101,102,104,105,107,108,110,111,113,114,115,117,118,120,121,123,124,126,127,128,130,131,133,134,136,137,139,140,141,143,144,146,147,149,150,152,153,155,156,157,159,160,162,163,165,166,168,169,170,172,173,175,176,178,179,181,182,184,185,186,188,189,191,192,194,195,197,198,199,201,202,204,205,207,208,210,211,212,214,215,217,218,220,221,223,224,226,227,228,230,231,233,234,236,237,239,240,241,243,244,246,247,249,250,252,253], 256, 255))
^^
C0324: 71,0: Comma not followed by a space
eit_yellow_r = np.array([0,1,2,3,5,6,7,8,10,11,12,14,15,16,17,19,20,21,22,24,25,26,28,29,30,31,33,34,35,36
^^
,38,39,40,42,43,44,45,47,48,49,51,52,53,54,56,57,58,59,61,62,63,65,66,67,68,70,71,72,73,75
,76,77,79,80,81,82,84,85,86,87,89,90,91,93,94,95,96,98,99,100,102,103,104,105,107,108,109,110,112,113
,114,116,117,118,119,121,122,123,124,126,127,128,130,131,132,133,135,136,137,138,140,141,142,144,145,146,147,149,150,151
,153,154,155,156,158,159,160,161,163,164,165,167,168,169,170,172,173,174,175,177,178,179,181,182,183,184,186,187,188,189
,191,192,193,195,196,197,198,200,201,202,204,205,206,207,209,210,211,212,214,215,216,218,219,220,221,223,224,225,226,228
,229,230,232,233,234,235,237,238,239,240,242,243,244,246,247,248,249,251,252,253,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255])
C0324: 81,0: Comma not followed by a space
eit_yellow_g = np.array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29
^^
,30,31,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60
,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91
,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121
,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152
,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183
,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,206,207,209,209,210,210,212,213
,213,215,216,216,218,219,219,221,221,222,224,224,225,227,227,228,230,230,231,231,232,234,234,235,237,237,238,240,240,241
,241,243,244,244,246,247,247,249,250,250,252,252,253,255,255,255])
C0324: 91,0: Comma not followed by a space
eit_yellow_b = np.concatenate((np.zeros(201).astype('int'), np.array([7,7,15,22,22,30,30,37,45
^^
,45,52,60,60,67,75,75,82,82,90,97,97,105,112,112,120,127,127,135,135,142,150,150,157,165,165,172,180,180,187
,187,195,202,202,210,217,217,225,232,232,240,240,247,255,255,255])))
C0324: 95,0: Comma not followed by a space
eit_dark_blue_r = np.concatenate((np.zeros(206).astype('int'), np.array([9,13,21,25
^^
,25,29,33,41,49,53,57,65,69,73,77,77,85,94,98,102,110,114,118,122,134,134,138,142,146,154,158,162,166,179
,183,183,187,191,199,203,207,215,223,227,231,231,235,243,247,255])))
C0324: 99,0: Comma not followed by a space
eit_dark_blue_g = np.concatenate((np.zeros(128).astype('int'), np.array([2,2,4,5,7,12,13,15,17,20,21,21,23,25,29,31,33,34,37,39,41,41
^^
,44,47,49,50,52,55,57,60,61,61,65,66,68,69,73,76,77,79,82,82,84,85,87,92,94,95,97,100,102,103
,103,105,110,111,113,114,118,119,121,122,122,127,129,130,132,135,137,138,142,145,145,146,148,150,153,154,158,159,162,164
,164,166,167,170,174,175,177,180,182,183,185,185,188,191,193,195,198,199,201,203,207,207,209,211,212,215,217,219,220,225
,227,227,228,230,233,235,236,239,243,244,246,246,247,251,252,255])))
C0324:105,0: Comma not followed by a space
eit_dark_blue_b = np.concatenate((np.zeros(52).astype('int'), np.array([1,4,5,6,8,8,10,12
^^
,14,16,18,20,21,23,25,25,28,29,31,33,35,36,37,42,43,43,44,46,48,50,51,52,56,58,59,61,61,63
,65,66,69,71,73,74,75,78,78,80,81,84,86,88,89,90,93,94,94,97,99,101,103,104,105,108,111,112,112,113
,116,118,119,120,124,126,127,128,131,131,132,134,135,139,141,142,143,146,147,147,149,150,154,155,157,158,161,162,164,164
,166,169,170,172,173,176,177,180,181,181,184,185,187,188,191,193,195,196,199,199,200,202,203,207,208,210,211,214,215,217
,217,218,222,223,225,226,229,230,231,233,233,237,238,240,241,244,245,246,249,252,252,253,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255])))
C0324:114,0: Comma not followed by a space
eit_dark_green_r = np.concatenate((np.zeros(130).astype('int'), np.array([1,3,4,9,11,12,14,17,19,19,20,22,27,29,30,32,35,37,38,38
^^
,41,45,46,48,50,53,54,58,59,59,62,64,66,67,71,74,75,77,80,80,82,83,85,90,91,93,95,98,100,101
,101,103,108,109,111,112,116,117,119,121,121,125,127,129,130,133,135,137,140,143,143,145,146,148,151,153,156,158,161,163
,163,164,166,169,172,174,175,179,180,182,183,183,187,190,192,193,196,198,200,201,206,206,208,209,211,214,216,217,219,224
,225,225,227,229,232,234,235,238,242,243,245,245,246,250,251,255])))
C0324:120,0: Comma not followed by a space
eit_dark_green_g = np.concatenate((np.zeros(52).astype('int'), np.array([1,3,4,5,6,6,8,9
^^
,11,12,14,15,16,17,19,19,21,22,23,25,26,27,28,31,32,32,33,34,36,37,38,39,42,43,44,45,45,47
,48,49,51,53,54,55,56,58,58,59,60,62,64,65,66,67,69,70,70,72,73,75,76,77,78,80,82,83,83,84
,86,87,88,89,92,93,94,95,97,97,98,99,100,103,104,105,106,108,109,109,110,111,114,115,116,117,119,120,121,121
,123,125,126,127,128,130,131,133,134,134,136,137,138,139,141,143,144,145,147,147,148,149,150,153,154,155,156,158,159,160
,160,161,164,165,166,167,169,170,171,172,172,175,176,177,178,180,181,182,184,186,186,187,188,189,191,192,194,195,197,198
,198,199,200,202,204,205,206,208,209,210,211,211,213,215,216,217,219,220,221,222,225,225,226,227,228,230,231,232,233,236
,237,237,238,239,241,242,243,245,247,248,249,249,250,252,253,255])))
C0324:129,0: Comma not followed by a space
eit_dark_green_b = np.concatenate((np.zeros(197).astype('int'), np.array([3,10,17,17,20,24,27,34,37,44,48,55,58
^^
,58,62,65,72,79,82,86,93,96,99,103,103,110,117,120,124,130,134,137,141,151,151,155,158,161,168,172,175,179,189
,192,192,196,199,206,210,213,220,227,230,234,234,237,244,248,255])))
C0324:133,0: Comma not followed by a space
eit_dark_red_r = np.concatenate((np.zeros(52).astype('int'), np.array([1,4,5,7,8,8,11,13
^^
,15,17,20,21,23,24,27,27,30,31,33,36,37,39,40,44,46,46,47,49,52,53,55,56,60,62,63,65,65,68
,69,70,73,76,78,79,81,84,84,85,86,89,92,94,95,97,99,101,101,104,105,108,110,111,113,115,118,120,120,121
,124,126,127,128,133,134,136,137,140,140,141,143,144,149,150,152,153,156,157,157,159,160,165,166,168,169,172,173,175,175
,178,181,182,184,185,188,189,192,194,194,197,198,199,201,204,207,208,210,212,212,214,215,217,221,223,224,226,228,230,231
,231,233,237,239,240,241,244,246,247,249,249,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255])))
C0324:142,0: Comma not followed by a space
eit_dark_red_g = np.concatenate((np.zeros(148).astype('int'), np.array([1,1
^^
,5,9,11,13,15,18,20,24,26,26,30,32,34,35,39,43,45,47,51,51,52,54,56,62,64,66,68,71,73,75
,75,77,83,85,86,88,92,94,96,98,98,103,105,107,109,113,115,117,120,124,124,126,128,130,134,136,139,141,145,147
,147,149,151,154,158,160,162,166,168,170,171,171,175,179,181,183,187,188,190,192,198,198,200,202,204,207,209,211,213,219
,221,221,222,224,228,230,232,236,239,241,243,243,245,249,251,255])))
C0324:148,0: Comma not followed by a space
eit_dark_red_b = np.concatenate((np.zeros(204).astype('int'), np.array([3,7,15,19,27,31
^^
,31,35,39,47,54,58,62,70,74,78,82,82,90,98,102,105,113,117,121,125,137,137,141,145,149,156,160,164,168,180
,184,184,188,192,200,204,207,215,223,227,231,231,235,243,247,255])))
C0324:182,0: Comma not followed by a space
lasco_c2_r = np.concatenate((np.array([0,1,2,5,8,11,14,17,20,23,26,28,31,34,37,42,44,47,50,55,57,60,65,68,70,75,78,82,85,88,92,95,99,102,107
^^
,110,114,117,121,124,128,133,136,140,143,147,152,155,159,163,166,170,175,178,182,186,189,194,198,201,205,210,214,217,221,226,230,233,237,241
,246,250,253]), 255*np.ones(183)))
C0324:186,0: Comma not followed by a space
lasco_c2_g = np.concatenate((np.zeros(52).astype('int'), np.array([1,5,11,17,20,26,32,35,41,47,52,56,62,68,73,77,83,88
^^
,94,100,103,109,115,120,126,130,136,141,147,153,158,164,168,173,179,185,190,196,202,207,213,217,222,228,234,239,245,251]), 255*np.ones(156)))
C0324:189,0: Comma not followed by a space
lasco_c2_b = np.concatenate((np.zeros(78).astype('int'), np.array([7,19,31,43,54,66,74,86,98,109,121,133,145,156,168,176,188,200,211,223,235,247]),255*np.ones(156)))
^^
C0324:191,0: Comma not followed by a space
lasco_c3_r = np.concatenate((np.zeros(77).astype('int'), np.array([5,13,25,33,45,53,65,73,85,94,106,114,126,134,146,154,166,175,187,195,207,215,227,235,247]),255*np.ones(154)))
^^
C0324:193,0: Comma not followed by a space
lasco_c3_g = np.concatenate((np.zeros(39).astype('int'), np.array([4,7,12,15,20,23,28,31,36,39,44,47,52,55,60,63,68,71,76,79,84,87,92,95,100,103,108,111,116,119,124
^^
,127,132,135,140,143,148,151,156,159,164,167,172,175,180,183,188,191,196,199,204,207,212,215,220,223,228,231,236,239,244,247,252]),255*np.ones(154)))
C0324:196,0: Comma not followed by a space
lasco_c3_b = np.concatenate((np.array([0,4,6,10,13,17,20,24,27,31,33,37,40,44,47,51,54,58,61,65,67,71,74,78,81,85,88,92,94,99,101,105,108,112,115
^^
,119,122,126,128,132,135,139,142,146,149,153,155,160,162,166,169,173,176,180,183,187,189,193,196,200,203,207,210,214,217,221,223,227,230,234
,237,241,244,248,250]),255*np.ones(181)))
C0324:229,0: Comma not followed by a space
sxt_gold_r = np.concatenate((255.0*np.array(range(0,185))/185.0,
^^
255*np.ones(71)))
C0324:231,0: Comma not followed by a space
sxt_gold_g = 255*(np.array(range(0,256))**1.25)/(255.0**1.25)
^^
C0324:232,0: Comma not followed by a space
sxt_gold_b = np.concatenate((np.zeros(185),255.0*np.array(range(0,71))/71.0))
^^
C0324:234,0: Comma not followed by a space
grayscale = np.array(range(0,256))
^^
W0107:268,4:xrt_color_table: Unnecessary pass statement
************* Module sunpy.cm.cm
I0011: 57,0: Locally disabling E1101
I0011:121,0: Locally disabling E1103
************* Module sunpy.cm
C0111: 1,0: Missing docstring
************* Module sunpy.time.timerange
C0111: 1,0: Missing docstring
C0324: 83,8:TimeRange.__init__: Comma not followed by a space
if isinstance(y,datetime):
^^
************* Module sunpy.time.time
C0301: 5,0: Line too long (104/80)
W1401: 9,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 10,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 11,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 12,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 13,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 14,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
W1401: 15,0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.
C0111: 1,0: Missing docstring
C0111: 43,0:_group_or_none: Missing docstring
C0111: 51,0:_n_or_eq: Missing docstring
W0622: 54,27:_regex_parse_time: Redefining built-in 'format'
C0111: 54,0:_regex_parse_time: Missing docstring
W0612: 64,8:_regex_parse_time: Unused variable 'hour'
W0622: 77,22:find_time: Redefining built-in 'format'
E1101: 94,0: Function 'find_time' has no '__doc__' member
W0622: 96,16:_iter_empty: Redefining built-in 'iter'
C0111: 96,0:_iter_empty: Missing docstring
************* Module sunpy.time.julian
C0111: 1,0: Missing docstring
************* Module sunpy.util.net
C0111: 1,0: Missing docstring
************* Module sunpy.util.sysinfo
C0111: 1,0: Missing docstring
E0611: 84,8:system_info: No name '__version__' in module 'PIL.Image'
unexpected error while building astng from living object
R0912: 10,0:system_info: Too many branches (13/12)
R0915: 10,0:system_info: Too many statements (75/50)
************* Module sunpy.util.create
I0011: 88,0: Locally disabling W0108
C0111: 1,0: Missing docstring
C0111: 19,0:Parent: Missing docstring
C0111: 23,4:Parent.read: Missing docstring
C0111: 27,4:Parent.read_many: Missing docstring
W0141: 28,15:Parent.read_many: Used builtin function 'map'
W0141: 51,20:Parent.from_files: Used builtin function 'map'
W0212: 82,0: Access to a protected member _create of a client class
W0212: 87,0: Access to a protected member _create of a client class
W0212: 96,0: Access to a protected member _create of a client class
W0212:106,0: Access to a protected member _create of a client class
W0212:113,0: Access to a protected member _create of a client class
W0212:118,0: Access to a protected member _create of a client class
W0611: 10,0: Unused import urllib2
W0611: 14,0: Unused import replacement_filename
W0611: 8,0: Unused import shutil
************* Module sunpy.util.cond_dispatch
C0301: 39,0: Line too long (88/80)
C0301: 59,0: Line too long (88/80)
C0301: 69,0: Line too long (88/80)
C0301:187,0: Line too long (82/80)
W0612:103,19:arginize: Unused variable 'keywords'
C0111:145,0:ConditionalDispatch: Missing docstring
C0111:151,4:ConditionalDispatch.from_existing: Missing docstring
C0111:157,4:ConditionalDispatch.add_dec: Missing docstring
C0111:158,8:ConditionalDispatch.add_dec._dec: Missing docstring
C0111:206,4:ConditionalDispatch.wrapper: Missing docstring
W0108:207,15:ConditionalDispatch.wrapper.<lambda>: Lambda may not be necessary
W0631:235,68:ConditionalDispatch.get_signatures: Using possibly undefined loop variable 'condition'
C0111:241,4:ConditionalDispatch.generate_docs: Missing docstring
C0111:251,0:fmt_argspec_types: Missing docstring
************* Module sunpy.util.util
C0111: 1,0: Missing docstring
C0111: 40,8:toggle_pylab.fn_itoggle: Missing docstring
C0111: 53,4:goes_flare_class.calc: Missing docstring
C0111: 67,0:unique: Missing docstring
C0111: 81,0:print_table: Missing docstring
W0631:157,11:common_base: Using possibly undefined loop variable 'cls'
W0141:164,16:merge: Used builtin function 'map'
************* Module sunpy.util.unit_conversion
C0111: 1,0: Missing docstring
C0111: 60,0:to_angstrom: Missing docstring
************* Module sunpy.util.config
C0322: 60,4:_get_home: Operator not preceded by a space
path = path=os.path.expanduser("~")
^
************* Module sunpy.util.xml
I0011: 4,0: Locally disabling E0611
I0011: 4,0: Locally disabling F0401
C0111: 11,0:NotTextNodeError: Missing docstring
************* Module sunpy.util.multimethod
I0011: 84,0: Locally disabling W0631
I0011:109,0: Locally disabling W0141
C0111: 34,0:_fmt_t: Missing docstring
C0111: 38,0:TypeWarning: Missing docstring
C0111:101,8:MultiMethod.add_dec._dec: Missing docstring
************* Module sunpy.instr.rhessi
C0301: 73,0: Line too long (84/80)
C0301:251,0: Line too long (81/80)
C0301:258,0: Line too long (95/80)
C0301:275,0: Line too long (92/80)
C0301:276,0: Line too long (92/80)
C0301:277,0: Line too long (92/80)
C0301:278,0: Line too long (92/80)
C0301:279,0: Line too long (92/80)
C0301:280,0: Line too long (92/80)
C0301:281,0: Line too long (92/80)
C0301:282,0: Line too long (92/80)
C0301:283,0: Line too long (92/80)
C0301:302,0: Line too long (91/80)
C0301:346,0: Line too long (88/80)
C0301:347,0: Line too long (99/80)
C0301:350,0: Line too long (107/80)
C0301:351,0: Line too long (124/80)
C0301:355,0: Line too long (81/80)
C0301:359,0: Line too long (81/80)
C0301:402,0: Line too long (126/80)
C0301:422,0: Line too long (83/80)
C0324:256,4:parse_obssumm_file: Comma not followed by a space
dim = np.array(lightcurve_data[:,0]).size
^^
C0324:258,4:parse_obssumm_file: Comma not followed by a space
time_array = [reference_time_ut + timedelta(0,time_interval_sec*a) for a in np.arange(dim)]
^^
C0324:275,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,0], '-', label = labels[0], color = lc_linecolors[0], lw = 2)
^^
C0324:276,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,1], '-', label = labels[1], color = lc_linecolors[1], lw = 2)
^^
C0324:277,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,2], '-', label = labels[2], color = lc_linecolors[2], lw = 2)
^^
C0324:278,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,3], '-', label = labels[3], color = lc_linecolors[3], lw = 2)
^^
C0324:279,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,4], '-', label = labels[4], color = lc_linecolors[4], lw = 2)
^^
C0324:280,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,5], '-', label = labels[5], color = lc_linecolors[5], lw = 2)
^^
C0324:281,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,6], '-', label = labels[6], color = lc_linecolors[6], lw = 2)
^^
C0324:282,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,7], '-', label = labels[7], color = lc_linecolors[7], lw = 2)
^^
C0324:283,4:show_obssumm: Comma not followed by a space
ax.plot_date(dates, data[:,8], '-', label = labels[8], color = lc_linecolors[8], lw = 2)
^^
C0324:302,0:_backproject: Comma not followed by a space
def _backproject(calibrated_event_list, detector=8, pixel_size=(1.,1.), image_dim=(64,64)):
^^
R0914:302,0:_backproject: Too many local variables (22/15)
C0324:347,4:_backproject: Comma not followed by a space
tempb = tempa.reshape(image_dim[0],image_dim[1]).transpose().reshape(image_dim[0]*image_dim[1])
^^
C0324:349,4:_backproject: Comma not followed by a space
pixel = np.array(zip(tempa,tempb))*pixel_size[0]
^^
C0324:350,4:_backproject: Comma not followed by a space
phase_pixel = (2*np.pi/harm_ang_pitch)* ( np.outer(pixel[:,0], np.cos(this_roll_angle - grid_angle)) -
^^
np.outer(pixel[:,1], np.sin(this_roll_angle - grid_angle))) + phase_map_center
C0324:359,0:backprojection: Comma not followed by a space
def backprojection(calibrated_event_list, pixel_size=(1.,1.), image_dim=(64,64)):
^^
************* Module sunpy.coords.util
C0111: 1,0: Missing docstring
************* Module sunpy.coords
C0111: 1,0: Missing docstring
E0602: 4,11: Undefined variable 'util'
************* Module sunpy.spectra.spectrum
C0111: 1,0: Missing docstring
W0613: 23,0:Spectrum.__new__: Unused argument 'args'
W0613: 23,0:Spectrum.__new__: Unused argument 'kwargs'
W0613: 26,23:Spectrum.__init__: Unused argument 'data'
W0612: 70,8:Spectrum.peek: Unused variable 'lines'
************* Module sunpy.spectra.spectrogram
I0011:276,0: Locally disabling E1002
I0011:276,0: Locally disabling W0142
I0011:276,0: Locally disabling R0902
I0011:318,0: Locally disabling E1101
I0011:370,0: Locally disabling W0613
I0011:446,0: Locally disabling W0102
I0011:446,0: Locally disabling R0914
I0011:611,0: Locally disabling E1103
I0011:743,0: Locally disabling W0631
C0301:318,0: Line too long (97/80)
C0301:322,0: Line too long (98/80)
C0301:410,0: Line too long (81/80)
C0301:745,0: Line too long (87/80)
C0301:912,0: Line too long (82/80)
C0301:913,0: Line too long (88/80)
C0301:1199,0: Line too long (82/80)
C0301:1212,0: Line too long (82/80)
C0302: 1,0: Too many lines in module (1220)
C0111: 66,0:_min_delt: Missing docstring
C0111: 75,4:_list_formatter._fun: Missing docstring
W0613: 75,16:_list_formatter._fun: Unused argument 'pos'
C0111:129,4:_LinearView._find: Missing docstring
W0631:144,29:_LinearView._find: Using possibly undefined loop variable 'n'
C0111:149,4:_LinearView.get_freq: Missing docstring
C0111:152,4:_LinearView.make_mask: Missing docstring
R0924: 95,0:_LinearView: Badly implemented Container, implements __getitem__, __len__ but not __delitem__, __setitem__
C0111:161,0:SpectroFigure: Missing docstring
C0111:162,4:SpectroFigure._init: Missing docstring
C0111:166,4:SpectroFigure.ginput_to_time: Missing docstring
C0111:172,4:SpectroFigure.ginput_to_time_secs: Missing docstring
W0612:173,62:SpectroFigure.ginput_to_time_secs: Unused variable 'y'
C0111:175,4:SpectroFigure.ginput_to_time_offset: Missing docstring
C0111:179,4:SpectroFigure.ginput_to_freq: Missing docstring
W0612:180,43:SpectroFigure.ginput_to_freq: Unused variable 'x'
C0111:182,4:SpectroFigure.time_freq: Missing docstring
W0201:164,8:SpectroFigure._init: Attribute 'freqs' defined outside __init__
W0201:163,8:SpectroFigure._init: Attribute 'data' defined outside __init__
R0904:161,0:SpectroFigure: Too many public methods (105/20)
W0621:209,19:TimeFreq.plot: Redefining name 'figure' from outer scope (line 56)
C0111:209,4:TimeFreq.plot: Missing docstring
W0612:215,8:TimeFreq.plot: Unused variable 'ya'
C0111:237,4:TimeFreq.show: Missing docstring
W0223:243,0:Spectrogram: Method 'read' is abstract in class 'Parent' but is not overridden
W0612:321,8:Spectrogram._slice: Unused variable 'fsoffset'
W0612:322,8:Spectrogram._slice: Unused variable 'feoffset'
W0613:339,0:Spectrogram.__new__: Unused argument 'args'
W0613:339,0:Spectrogram.__new__: Unused argument 'kwargs'
R0913:342,4:Spectrogram.__init__: Too many arguments (11/5)
W0613:342,23:Spectrogram.__init__: Unused argument 'data'
W0621:410,19:Spectrogram.plot: Redefining name 'figure' from outer scope (line 56)
R0913:410,4:Spectrogram.plot: Too many arguments (10/5)
E1101:468,15:Spectrogram.plot: Function 'figure' has no 'axes' member
C0111:513,12:Spectrogram.plot.freq_fmt: Missing docstring
W0613:513,28:Spectrogram.plot.freq_fmt: Unused argument 'pos'
W0212:561,8:Spectrogram.plot: Access to a protected member _init of a client class
R0912:410,4:Spectrogram.plot: Too many branches (18/12)
C0111:610,4:Spectrogram.auto_find_background: Missing docstring
E1103:629,15:Spectrogram.auto_const_bg: Instance of 'tuple' has no 'reshape' member (but some types could not be inferred)
E1101:629,26:Spectrogram.auto_const_bg: Instance of 'Spectrogram' has no 'shape' member
E1101:645,27:Spectrogram.randomized_auto_const_bg: Instance of 'Spectrogram' has no 'shape' member
E1101:716,11:Spectrogram.rescale: Instance of 'Spectrogram' has no 'max' member
E1101:716,25:Spectrogram.rescale: Instance of 'Spectrogram' has no 'min' member
E1101:761,31:Spectrogram.linearize_freqs: Instance of 'Spectrogram' has no 'shape' member
E1101:761,53:Spectrogram.linearize_freqs: Instance of 'Spectrogram' has no 'dtype' member
W0631:821,15:Spectrogram.time_to_x: Using possibly undefined loop variable 'n'
C0111:823,4:Spectrogram.at_freq: Missing docstring
C0111:827,4:Spectrogram._mk_format_coord: Missing docstring
C0111:828,8:Spectrogram._mk_format_coord.format_coord: Missing docstring
W0141:829,20:Spectrogram._mk_format_coord.format_coord: Used builtin function 'map'
R0904:243,0:Spectrogram: Too many public methods (26/20)
R0924:243,0:Spectrogram: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0223:844,0:LinearTimeSpectrogram: Method 'read' is abstract in class 'Parent' but is not overridden
R0913:857,4:LinearTimeSpectrogram.__init__: Too many arguments (12/5)
R0913:929,4:LinearTimeSpectrogram.join_many: Too many arguments (6/5)
R0914:929,4:LinearTimeSpectrogram.join_many: Too many local variables (29/15)
W0612:974,8:LinearTimeSpectrogram.join_many: Unused variable 'init'
R0912:929,4:LinearTimeSpectrogram.join_many: Too many branches (17/12)
R0915:929,4:LinearTimeSpectrogram.join_many: Too many statements (61/50)
W0141:1203,21:LinearTimeSpectrogram.in_interval: Used builtin function 'map'
W0141:1216,21:LinearTimeSpectrogram.in_interval: Used builtin function 'map'
R0904:844,0:LinearTimeSpectrogram: Too many public methods (34/20)
R0924:844,0:LinearTimeSpectrogram: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0611: 37,0: Unused import get_system_filename
W0611: 12,0: Unused import glob
W0611: 13,0: Unused import urllib2
W0611: 31,0: Unused import sunpy
W0611: 35,0: Unused import run_cls
W0611: 34,0: Unused import replacement_filename
W0611: 11,0: Unused import os
************* Module sunpy.spectra
C0111: 1,0: Missing docstring
************* Module sunpy.spectra.sources.swaves
I0011: 88,0: Locally disabling W0613
C0301: 39,0: Line too long (94/80)
C0301: 40,0: Line too long (90/80)
C0301:108,0: Line too long (83/80)
C0111: 1,0: Missing docstring
C0111: 45,0:SWavesSpectrogram: Missing docstring
C0111: 53,4:SWavesSpectrogram.swavesfile_to_date: Missing docstring
W0613: 61,0:SWavesSpectrogram.read: Unused argument 'kwargs'
R0913: 84,4:SWavesSpectrogram.__init__: Too many arguments (12/5)
R0904: 45,0:SWavesSpectrogram: Too many public methods (35/20)
R0924: 45,0:SWavesSpectrogram: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0212:104,6: Access to a protected member _create of a client class
W0611: 11,0: Unused import run_cls
************* Module sunpy.spectra.sources
C0111: 1,0: Missing docstring
************* Module sunpy.spectra.sources.callisto
I0011:126,0: Locally disabling E1002
I0011:126,0: Locally disabling W0142
I0011:126,0: Locally disabling R0902
I0011:173,0: Locally disabling E1101
I0011:267,0: Locally disabling W0613
C0301:243,0: Line too long (91/80)
C0301:249,0: Line too long (91/80)
C0301:346,0: Line too long (81/80)
C0111: 1,0: Missing docstring
W0621: 58,8:query: Redefining name 'opn' from outer scope (line 490)
R0914: 43,0:query: Too many local variables (17/15)
R0914:181,4:CallistoSpectrogram.read: Too many local variables (22/15)
R0913:261,4:CallistoSpectrogram.__init__: Too many arguments (15/5)
E1101:295,16:CallistoSpectrogram.remove_border: Instance of 'CallistoSpectrogram' has no 'shape' member
W0221:301,4:CallistoSpectrogram.read_many: Arguments number differs from overridden method
W0141:312,15:CallistoSpectrogram.read_many: Used builtin function 'map'
W0141:340,15:CallistoSpectrogram.from_range: Used builtin function 'map'
C0111:362,8:CallistoSpectrogram._to_minimize._fun: Missing docstring
R0914:368,4:CallistoSpectrogram._homogenize_params: Too many local variables (17/15)
W0212:424,44:CallistoSpectrogram.homogenize: Access to a protected member _homogenize_params of a client class
W0612:428,47:CallistoSpectrogram.homogenize: Unused variable 'y'
R0904:106,0:CallistoSpectrogram: Too many public methods (41/20)
R0924:106,0:CallistoSpectrogram: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0212:474,0: Access to a protected member _create of a client class
W0212:486,6: Access to a protected member _create of a client class
W0611: 17,0: Unused import partial
W0611: 16,0: Unused import chain
W0611: 16,0: Unused import izip
W0611: 8,0: Unused import shutil
W0611: 7,0: Unused import glob
W0611: 6,0: Unused import os
************* Module sunpy.roi.chaincode
C0301: 63,0: Line too long (90/80)
C0301: 75,0: Line too long (82/80)
C0111: 1,0: Missing docstring
W0613: 42,29:Chaincode.__new__: Unused argument 'chaincode'
W0613: 42,0:Chaincode.__new__: Unused argument 'kargs'
C0324: 53,8:Chaincode.__init__: Comma not followed by a space
self.coordinates[:,0] = origin
^^
C0324: 56,16:Chaincode.__init__: Comma not followed by a space
self.coordinates[:,index + 1] = self.coordinates[:,index] + \
^^
[[x_steps[int(step)] * xdelta, y_steps[int(step)] * ydelta]]
C0111: 59,4:Chaincode.matchend: Missing docstring
C0324: 60,8:Chaincode.matchend: Comma not followed by a space
return np.alltrue(np.equal(self.coordinates[:,-1], np.asarray(end)))
^^
C0111: 62,4:Chaincode.matchany: Missing docstring
C0324: 63,8:Chaincode.matchany: Comma not followed by a space
return np.alltrue(np.allclose(self.coordinates[:,index], np.asarray(coordinates)))
^^
C0324: 70,8:Chaincode.BoundingBox: Comma not followed by a space
bb = np.zeros((2,2))
^^
C0324: 71,8:Chaincode.BoundingBox: Comma not followed by a space
bb[:,0] = self.coordinates.min(1)
^^
C0324: 72,8:Chaincode.BoundingBox: Comma not followed by a space
bb[:,1] = self.coordinates.max(1)
^^
C0111: 75,4:Chaincode.area: Missing docstring
C0111: 79,4:Chaincode.length: Missing docstring
C0324:102,8:Chaincode.subBoundingBox: Comma not followed by a space
mask = (self.coordinates[IndexMask,:] >= edge[0]) & \
^^
(self.coordinates[IndexMask,:] <= edge[1])
C0324:105,8:Chaincode.subBoundingBox: Comma not followed by a space
mx = np.ma.masked_array(self.coordinates[IndexValue,:], mask=(~mask))
^^
************* Module sunpy.roi
C0111: 1,0: Missing docstring
************* Module sunpy.net.download
I0011:424,0: Locally disabling W0612
I0011:437,0: Locally disabling W0613
W1401:357,0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix.
W1401:357,0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix.
W1401:357,0: Anomalous backslash in string: '\.'. String constant might be missing an r prefix.
C0111: 1,0: Missing docstring
C0111:103,0:Reactor: Missing docstring
C0111:112,4:Reactor._unset_running: Missing docstring
C0111:115,4:Reactor.stop: Missing docstring
C0111:118,4:Reactor.run: Missing docstring
C0111:131,4:Reactor.poll: Missing docstring
C0111:134,4:Reactor.call_sync: Missing docstring
C0111:138,4:Reactor._call_tcalls: Missing docstring
C0111:142,4:Reactor.get_tid: Missing docstring
C0111:145,4:Reactor.add_tcall: Missing docstring
C0111:149,4:Reactor.rem_tcall: Missing docstring
C0111:153,4:Reactor._call_calls: Missing docstring
C0111:159,4:Reactor.add_fd: Missing docstring
C0111:162,4:Reactor.rem_fd: Missing docstring
W0223:166,0:DummyReactor: Method 'poll' is abstract in class 'Reactor' but is not overridden
C0111:166,0:DummyReactor: Missing docstring
C0111:177,0:SelectReactor: Missing docstring
C0111:195,4:SelectReactor.close: Missing docstring
C0111:199,0:PollReactor: Missing docstring
W0613:201,23:PollReactor.__init__: Unused argument 'fds'
C0111:230,4:PollReactor.close: Missing docstring
C0111:234,0:EPollReactor: Missing docstring
W0613:236,23:EPollReactor.__init__: Unused argument 'fds'
C0111:265,4:EPollReactor.close: Missing docstring
C0111:280,0:default_name: Missing docstring
C0111:285,0:Downloader: Missing docstring
C0111:297,4:Downloader._download: Missing docstring
C0111:310,4:Downloader._start_download: Missing docstring
W0703:339,15:Downloader._start_download: Catching too general exception Exception
C0111:343,4:Downloader._attempt_download: Missing docstring
C0111:367,4:Downloader.download: Missing docstring
C0111:415,4:Downloader._close: Missing docstring
R0903:285,0:Downloader: Too few public methods (1/2)
C0111:437,4:wait_for: Missing docstring
C0111:439,8:wait_for._fun: Missing docstring
************* Module sunpy.net.attr
I0011: 7,0: Locally disabling C0103
I0011: 7,0: Locally disabling R0903
C0111: 51,4:Attr.collides: Missing docstring
C0111:170,0:ValueAttr: Missing docstring
C0111:192,0:AttrWalker: Missing docstring
C0111:197,4:AttrWalker.add_creator: Missing docstring
C0111:198,8:AttrWalker.add_creator._dec: Missing docstring
C0111:204,4:AttrWalker.add_applier: Missing docstring
C0111:205,8:AttrWalker.add_applier._dec: Missing docstring
C0111:211,4:AttrWalker.add_converter: Missing docstring
C0111:212,8:AttrWalker.add_converter._dec: Missing docstring
C0111:219,4:AttrWalker.cv_apply: Missing docstring
C0111:220,8:AttrWalker.cv_apply._fun: Missing docstring
C0111:226,4:AttrWalker.cv_create: Missing docstring
C0111:227,8:AttrWalker.cv_create._fun: Missing docstring
C0111:233,4:AttrWalker.create: Missing docstring
C0111:236,4:AttrWalker.apply: Missing docstring
C0111:239,4:AttrWalker.super_create: Missing docstring
C0111:242,4:AttrWalker.super_apply: Missing docstring
************* Module sunpy.net.helioviewer
I0011: 6,0: Locally disabling E1101
I0011: 6,0: Locally disabling F0401
I0011: 6,0: Locally disabling W0231
C0301: 29,0: Line too long (83/80)
C0301:232,0: Line too long (81/80)
R0913:140,4:HelioviewerClient.download_png: Too many arguments (6/5)
W0611: 11,0: Unused import shutil
************* Module sunpy.net
C0111: 1,0: Missing docstring
************* Module sunpy.net.vso.vso
I0011: 7,0: Locally disabling W0401
I0011: 7,0: Locally disabling C0103
I0011: 7,0: Locally disabling R0904
I0011: 7,0: Locally disabling W0141
I0011:358,0: Locally disabling R0914
I0011:472,0: Locally disabling E1103
I0011:565,0: Locally disabling W0201
I0011:594,0: Locally disabling R0913
I0011:594,0: Locally disabling R0912
I0011:611,0: Locally disabling W0631
I0011:695,0: Locally disabling W0613
I0011:763,0: Locally disabling W0603
C0301:201,0: Line too long (87/80)
C0301:497,0: Line too long (85/80)
C0301:753,0: Line too long (85/80)
C0111: 1,0: Missing docstring
W0402: 24,0: Uses of a deprecated module 'string'
R0924: 47,0:_Str: Badly implemented Container, implements __getitem__, __len__ but not __delitem__, __setitem__
C0111: 82,4:Results.poke: Missing docstring
C0111:120,0:_parse_waverange: Missing docstring
C0111:129,0:_parse_date: Missing docstring
C0111:134,0:iter_records: Missing docstring
C0111:142,0:iter_errors: Missing docstring
C0111:148,0:QueryResponse: Missing docstring
E0602:159,12:QueryResponse.query: Undefined variable 'attrs'
C0111:163,4:QueryResponse.create: Missing docstring
C0324:201,8:QueryResponse.show: Comma not followed by a space
table.insert(0, ['----------','--------','------','----------','----'])
^^
C0324:202,8:QueryResponse.show: Comma not followed by a space
table.insert(0, ['Start time','End time','Source','Instrument','Type'])
^^
C0111:206,4:QueryResponse.add_error: Missing docstring
C0111:209,0:DownloadFailed: Missing docstring
C0111:212,0:MissingInformation: Missing docstring
C0111:215,0:UnknownMethod: Missing docstring
C0111:218,0:MultipleChoices: Missing docstring
C0111:221,0:UnknownVersion: Missing docstring
C0111:224,0:UnknownStatus: Missing docstring
C0111:243,4:VSOClient.make: Missing docstring
C0111:300,4:VSOClient.merge: Missing docstring
C0111:332,4:VSOClient.mk_filename: Missing docstring
C0111:555,4:VSOClient.link: Missing docstring
C0111:570,4:VSOClient.make_getdatarequest: Missing docstring
C0111:580,4:VSOClient.create_getdatarequest: Missing docstring
C0111:595,4:VSOClient.download_all: Missing docstring
C0111:683,4:VSOClient.by_provider: Missing docstring
C0111:690,4:VSOClient.by_fileid: Missing docstring
C0111:762,0:search: Missing docstring
C0111:771,0:get: Missing docstring
W0611: 24,0: Unused import ascii_lowercase
W0611: 18,0: Unused import random
W0611: 32,0: Unused import slugify
************* Module sunpy.net.vso
C0111: 1,0: Missing docstring
************* Module sunpy.net.vso.attrs
I0011: 7,0: Locally disabling C0103
I0011: 7,0: Locally disabling R0903
I0011: 94,0: Locally disabling R0913
I0011:188,0: Locally disabling E0102
I0011:188,0: Locally disabling W0613
C0111: 32,0:_Range: Missing docstring
C0111: 53,0:Wave: Missing docstring
C0111: 67,0:Time: Missing docstring
C0111: 86,4:Time.pad: Missing docstring
C0111: 93,0:Extent: Missing docstring
C0111:108,0:Field: Missing docstring
C0111:130,0:Provider: Missing docstring
C0111:134,0:Source: Missing docstring
C0111:138,0:Instrument: Missing docstring
C0111:142,0:Physobs: Missing docstring
C0111:146,0:Pixels: Missing docstring
C0111:150,0:Level: Missing docstring
C0111:154,0:Resolution: Missing docstring
C0111:158,0:Detector: Missing docstring
C0111:162,0:Filter: Missing docstring
C0111:166,0:Sample: Missing docstring
C0111:170,0:Quicklook: Missing docstring
C0111:174,0:PScale: Missing docstring
C0111:281,0:_: Missing docstring
E0102:291,0:_: function already defined line 281
C0111:291,0:_: Missing docstring
E0102:299,0:_: function already defined line 281
C0111:299,0:_: Missing docstring
E0102:310,0:_: function already defined line 281
C0111:310,0:_: Missing docstring
W0613:310,6:_: Unused argument 'attr'
E0102:315,0:_: function already defined line 281
C0111:315,0:_: Missing docstring
E0102:329,0:_: function already defined line 281
C0111:329,0:_: Missing docstring
E0102:343,0:_: function already defined line 281
C0111:343,0:_: Missing docstring
************* Module sunpy.net.hek.hek
I0011: 7,0: Locally disabling C0103
I0011: 7,0: Locally disabling R0903
W0404: 21,0: Reimport 'attrs' (imported line 140)
W0141: 71,23:HEKClient._download: Used builtin function 'map'
C0111: 97,0:Response: Missing docstring
C0111: 99,4:Response.vso_time: Missing docstring
C0111:106,4:Response.vso_instrument: Missing docstring
C0111:112,4:Response.vso_all: Missing docstring
R0904: 97,0:Response: Too many public methods (21/20)
W0611: 19,0: Unused import partial
W0611:139,4: Unused import pprint
************* Module sunpy.net.hek
C0111: 1,0: Missing docstring
************* Module sunpy.net.hek.attrs
I0011:120,0: Locally disabling R0913
I0011:199,0: Locally disabling E0102
I0011:199,0: Locally disabling C0103
I0011:199,0: Locally disabling W0613
C0301:223,0: Line too long (81/80)
C0301:438,0: Line too long (85/80)
R0903: 27,0:_ParamAttr: Too few public methods (1/2)
C0111: 44,0:_BoolParamAttr: Missing docstring
R0903: 44,0:_BoolParamAttr: Too few public methods (1/2)
R0903: 58,0:_ListAttr: Too few public methods (1/2)
C0111: 81,0:EventType: Missing docstring
R0903: 81,0:EventType: Too few public methods (1/2)
C0111:116,4:Time.dt: Missing docstring
C0111:121,0:SpatialRegion: Missing docstring
R0903:121,0:SpatialRegion: Too few public methods (1/2)
C0111:144,0:Contains: Missing docstring
R0903:144,0:Contains: Too few public methods (1/2)
C0111:161,0:_ComparisonParamAttrWrapper: Missing docstring
R0903:161,0:_ComparisonParamAttrWrapper: Too few public methods (0/2)
C0111:184,0:_StringParamAttrWrapper: Missing docstring
C0111:185,4:_StringParamAttrWrapper.like: Missing docstring
R0903:184,0:_StringParamAttrWrapper: Too few public methods (1/2)
C0111:189,0:_NumberParamAttrWrapper: Missing docstring
R0903:189,0:_NumberParamAttrWrapper: Too few public methods (0/2)
C0111:199,0:_a: Missing docstring
C0111:214,0:_c: Missing docstring
C0111:221,0:_a: Missing docstring
C0111:228,0:_a: Missing docstring
C0111:238,0:_a: Missing docstring
C0111:246,0:_a: Missing docstring
C0111:259,0:_a: Missing docstring
C0111:265,0:_c: Missing docstring
C0111:273,0:_c: Missing docstring
C0111:278,0:_a: Missing docstring
C0111:283,0:AR: Missing docstring
R0903:283,0:AR: Too few public methods (1/2)
C0111:311,0:CE: Missing docstring
R0903:311,0:CE: Too few public methods (1/2)
C0111:330,0:CD: Missing docstring
R0903:330,0:CD: Too few public methods (1/2)
C0111:348,0:FI: Missing docstring
R0903:348,0:FI: Too few public methods (1/2)
C0111:364,0:FL: Missing docstring
R0903:364,0:FL: Too few public methods (1/2)
C0111:384,0:SS: Missing docstring
R0903:384,0:SS: Too few public methods (1/2)
C0111:391,0:EF: Missing docstring
R0903:391,0:EF: Too few public methods (1/2)
C0111:418,0:SG: Missing docstring
R0903:418,0:SG: Too few public methods (1/2)
C0111:433,0:CC: Missing docstring
R0903:433,0:CC: Too few public methods (1/2)
C0111:445,0:TO: Missing docstring
R0903:445,0:TO: Too few public methods (1/2)
C0111:451,0:Wave: Missing docstring
R0903:451,0:Wave: Too few public methods (0/2)
C0111:463,0:Veloc: Missing docstring
R0903:463,0:Veloc: Too few public methods (0/2)
C0111:472,0:Freq: Missing docstring
R0903:472,0:Freq: Too few public methods (0/2)
C0111:480,0:Intens: Missing docstring
R0903:480,0:Intens: Too few public methods (0/2)
C0111:487,0:Area: Missing docstring
R0903:487,0:Area: Too few public methods (0/2)
C0111:496,0:BoundBox: Missing docstring
R0903:496,0:BoundBox: Too few public methods (0/2)
C0111:504,0:Bound: Missing docstring
R0903:504,0:Bound: Too few public methods (0/2)
C0111:515,0:OBS: Missing docstring
R0903:515,0:OBS: Too few public methods (0/2)
C0111:530,0:Skel: Missing docstring
R0903:530,0:Skel: Too few public methods (0/2)
C0111:538,0:FRM: Missing docstring
R0903:538,0:FRM: Too few public methods (0/2)
C0111:551,0:Event: Missing docstring
R0903:551,0:Event: Too few public methods (0/2)
C0111:571,0:Outflow: Missing docstring
R0903:571,0:Outflow: Too few public methods (0/2)
C0111:583,0:Misc: Missing docstring
R0903:583,0:Misc: Too few public methods (0/2)
************* Module sunpy.image.rescale
I0011:127,0: Locally disabling W0612
C0324:147,0:reshape_image_to_4d_superpixel: Comma not followed by a space
def reshape_image_to_4d_superpixel(img,dimensions):
^^
************* Module sunpy.image.Crotate
F0002: 1,0: <type 'exceptions.TypeError'>: compile() expected string without null bytes
************* Module sunpy.image
C0111: 1,0: Missing docstring
************* Module sunpy.units
C0111: 1,0: Missing docstring
************* Module sunpy.io.jp2
I0011:116,0: Locally disabling W0612
C0301: 54,0: Line too long (82/80)
C0301: 59,0: Line too long (81/80)
C0301:130,0: Line too long (88/80)
C0111:113,4:which.is_exe: Missing docstring
************* Module sunpy.io.file_tools
C0111: 1,0: Missing docstring
************* Module sunpy.map.compositemap
I0011:262,0: Locally disabling W0613
C0301:183,0: Line too long (96/80)
C0301:225,0: Line too long (103/80)
C0301:257,0: Line too long (103/80)
W0622: 9,0: Redefining built-in 'map'
E0602: 80,32:CompositeMap.__init__: Undefined variable 'Map'
E0602: 83,20:CompositeMap.__init__: Undefined variable 'Map'
E0602:114,12:CompositeMap.add_map: Undefined variable 'Map'
C0324:218,12:CompositeMap.draw_limb: Comma not followed by a space
for i,amap in enumerate(self._maps):
^^
C0324:251,16:CompositeMap.draw_grid: Comma not followed by a space
if all([hasattr(amap,k) for k in needed_attrs]):
^^
C0324:255,8:CompositeMap.draw_grid: Comma not followed by a space
index_check = all([hasattr(self._maps[index],k) for k in needed_attrs])
^^
C0324:378,8:CompositeMap.peek: Comma not followed by a space
ret = self.plot(axes=axes,**matplot_args)
^^
W0613:344,19:CompositeMap.peek: Unused argument 'gamma'
W0611: 9,0: Unused import map
************* Module sunpy.map.mapcube
I0011: 3,0: Locally disabling W0401
I0011: 3,0: Locally disabling W0614
I0011: 3,0: Locally disabling W0201
I0011: 3,0: Locally disabling W0212
I0011: 3,0: Locally disabling W0404
I0011: 81,0: Locally disabling W0613
I0011: 81,0: Locally disabling E1101
C0111:149,4:MapCube._sort_by_date: Missing docstring
R0924: 20,0:MapCube: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.map
I0011: 6,0: Locally disabling E1101
I0011: 6,0: Locally disabling E1121
I0011: 6,0: Locally disabling W0404
I0011: 6,0: Locally disabling W0613
C0301:205,0: Line too long (84/80)
C0301:207,0: Line too long (94/80)
C0301:265,0: Line too long (81/80)
C0301:444,0: Line too long (90/80)
C0301:446,0: Line too long (93/80)
C0301:462,0: Line too long (82/80)
C0301:463,0: Line too long (90/80)
C0301:476,0: Line too long (91/80)
C0301:477,0: Line too long (81/80)
C0301:524,0: Line too long (89/80)
C0301:539,0: Line too long (83/80)
C0301:541,0: Line too long (85/80)
C0301:548,0: Line too long (88/80)
C0301:549,0: Line too long (98/80)
C0301:550,0: Line too long (94/80)
C0301:551,0: Line too long (150/80)
C0301:843,0: Line too long (81/80)
C0302: 1,0: Too many lines in module (1158)
C0324:205,8:Map.get_properties: Comma not followed by a space
if is_time(header.get('date-obs',[])): # Hack! check FITS standard is a time
^^
C0324:208,13:Map.get_properties: Comma not followed by a space
elif is_time(header.get('date_obs',[])): # Horrible [] hack
^^
C0111:349,8:Map.__sub__.norm: Missing docstring
C0324:411,12:Map.draw_limb: Comma not followed by a space
circ = patches.Circle([0,0], radius=self.rsun_arcseconds,
^^
fill=False, color='white',zorder=100)
R0914:417,4:Map.draw_grid: Too many local variables (21/15)
C0324:474,12:Map.draw_grid: Comma not followed by a space
axes.plot(x, y, color='white', linestyle='dotted',zorder=100)
^^
C0324:488,12:Map.draw_grid: Comma not followed by a space
axes.plot(x, y, color='white', linestyle='dotted',zorder=100)
^^
C0324:551,8:Map.pixel_to_data: Comma not followed by a space
x,y = wcs.convert_pixel_to_data(width, height, scale[0], scale[1], crpix[0], crpix[1], crval[0], crval[1], coordinate_system[0], x = x, y = y)
^^
R0913:739,4:Map.rotate: Too many arguments (8/5)
R0914:739,4:Map.rotate: Too many local variables (21/15)
C0324:788,8:Map.rotate: Comma not followed by a space
assert interpolation in ['nearest','spline','bilinear','bicubic']
^^
C0324:800,12:Map.rotate: Comma not followed by a space
recentre = np.array(recentre).reshape(2,1)
^^
C0324:811,12:Map.rotate: Comma not followed by a space
rotation_centre = np.array(rotation_centre).reshape(2,1)
^^
C0324:826,8:Map.rotate: Comma not followed by a space
mati = np.array([[c, s],[-s, c]]) / scale # res->orig
^^
C0324:831,8:Map.rotate: Comma not followed by a space
rsmat, offs = mati, np.squeeze((kpos[0,0], kpos[1,0]))
^^
C0324:841,16:Map.rotate: Comma not followed by a space
warnings.warn(""""The C extension sunpy.image.Crotate is not
installed, falling back to the interpolation='spline' of order=3""" ,Warning)
^^
R0912:739,4:Map.rotate: Too many branches (15/12)
R0913:1045,4:Map.peek: Too many arguments (6/5)
C0324:1082,8:Map.peek: Comma not followed by a space
im = self.plot(axes=axes,**matplot_args)
^^
R0904: 52,0:Map: Too many public methods (31/20)
R0924: 52,0:Map: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0212:1158,29: Access to a protected member _create of a client class
************* Module sunpy.map.map_factory
C0111: 1,0: Missing docstring
R0912: 16,0:make_map: Too many branches (22/12)
W0611: 9,0: Unused import MapHeader
************* Module sunpy.map.sources.soho
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1101
I0011: 2,0: Locally disabling E1121
R0904: 18,0:EITMap: Too many public methods (32/20)
R0924: 18,0:EITMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
R0904: 63,0:LASCOMap: Too many public methods (32/20)
R0924: 63,0:LASCOMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
R0904: 86,0:MDIMap: Too many public methods (32/20)
R0924: 86,0:MDIMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources.sdo
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1101
I0011: 2,0: Locally disabling E1121
R0904: 15,0:AIAMap: Too many public methods (32/20)
R0924: 15,0:AIAMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
R0904: 57,0:HMIMap: Too many public methods (32/20)
R0924: 57,0:HMIMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources.stereo
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1121
R0904: 13,0:EUVIMap: Too many public methods (32/20)
R0924: 13,0:EUVIMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
R0904: 35,0:CORMap: Too many public methods (32/20)
R0924: 35,0:CORMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources.yohkoh
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1101
I0011: 2,0: Locally disabling E1121
C0301: 35,0: Line too long (82/80)
C0301: 41,0: Line too long (85/80)
C0322: 36,8:SXTMap.get_properties: Operator not preceded by a space
properties['dsun']= constants.au
^
C0322: 39,12:SXTMap.get_properties: Operator not preceded by a space
properties['dsun']= constants.au
^
R0904: 16,0:SXTMap: Too many public methods (32/20)
R0924: 16,0:SXTMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources.hinode
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1101
I0011: 2,0: Locally disabling E1121
C0301: 41,0: Line too long (83/80)
C0301: 44,0: Line too long (83/80)
R0904: 18,0:XRTMap: Too many public methods (32/20)
R0924: 18,0:XRTMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
W0611: 7,0: Unused import datetime
************* Module sunpy.map.sources.proba2
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1101
I0011: 2,0: Locally disabling E1121
R0904: 12,0:SWAPMap: Too many public methods (32/20)
R0924: 12,0:SWAPMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources.rhessi
I0011: 2,0: Locally disabling W0221
I0011: 2,0: Locally disabling W0222
I0011: 2,0: Locally disabling E1121
R0904: 13,0:RHESSIMap: Too many public methods (32/20)
R0924: 13,0:RHESSIMap: Badly implemented Container, implements __getitem__ but not __delitem__, __len__, __setitem__
************* Module sunpy.map.sources
E0603: 7,11: Undefined variable name 'sdo' in __all__
E0603: 7,18: Undefined variable name 'soho' in __all__
E0603: 7,26: Undefined variable name 'stereo' in __all__
E0603: 7,36: Undefined variable name 'rhessi' in __all__
E0603: 7,46: Undefined variable name 'proba2' in __all__
E0603: 7,56: Undefined variable name 'yohkoh' in __all__
E0603: 7,66: Undefined variable name 'hinode' in __all__
************* Module sunpy.lightcurve.lightcurve
I0011: 7,0: Locally disabling E1101
I0011: 7,0: Locally disabling E1121
I0011: 7,0: Locally disabling W0404
I0011: 7,0: Locally disabling W0612
I0011: 7,0: Locally disabling W0613
C0301: 2,0: Line too long (81/80)
C0111: 69,4:LightCurve.from_time: Missing docstring
C0111: 78,4:LightCurve.from_range: Missing docstring
C0111: 87,4:LightCurve.from_timerange: Missing docstring
C0111: 96,4:LightCurve.from_file: Missing docstring
C0111:103,4:LightCurve.from_url: Missing docstring
C0111:113,4:LightCurve.from_data: Missing docstring
C0111:120,4:LightCurve.from_yesterday: Missing docstring
C0111:124,4:LightCurve.from_dataframe: Missing docstring
C0111:224,4:LightCurve._parse_filepath: Missing docstring
C0324:237,12:LightCurve.truncate: Comma not followed by a space
time_range = TimeRange(a,b)
^^
W0212:268,0: Access to a protected member _cond_dispatch of a client class
W0212:277,0: Access to a protected member _cond_dispatch of a client class
W0212:284,0: Access to a protected member _cond_dispatch of a client class
W0212:291,0: Access to a protected member _cond_dispatch of a client class
W0212:298,0: Access to a protected member _cond_dispatch of a client class
W0212:305,0: Access to a protected member _cond_dispatch of a client class
W0212:312,0: Access to a protected member _cond_dispatch of a client class
W0212:319,0: Access to a protected member _cond_dispatch of a client class
************* Module sunpy.lightcurve.sources.goes
C0301:105,0: Line too long (81/80)
W1401: 43,0: Anomalous backslash in string: '\A'. String constant might be missing an r prefix.
W1401: 45,0: Anomalous backslash in string: '\A'. String constant might be missing an r prefix.
C0324: 57,8:GOESLightCurve.peek: Comma not followed by a space
ax2.set_yticklabels((' ','A','B','C','M','X',' '))
^^
W0611: 11,0: Unused import sunpy
************* Module sunpy.lightcurve.sources
E0603: 7,11: Undefined variable name 'eve' in __all__
E0603: 7,18: Undefined variable name 'goes' in __all__
E0603: 7,26: Undefined variable name 'lyra' in __all__
E0603: 7,34: Undefined variable name 'logical' in __all__
************* Module sunpy.lightcurve.sources.lyra
C0301: 69,0: Line too long (81/80)
C0324: 41,8:LYRALightCurve.peek: Comma not followed by a space
lyranames = (('Lyman alpha','Herzberg cont.','Al filter','Zr filter'),
^^
('120-123nm','190-222nm','17-80nm + <5nm','6-20nm + <2nm'))
W0221: 78,4:LYRALightCurve._get_url_for_date: Arguments number differs from overridden method
W0611: 13,0: Unused import sunpy
W0611: 5,0: Unused import os
************* Module sunpy.lightcurve.sources.logical
C0301: 47,0: Line too long (82/80)
************* Module sunpy.lightcurve.sources.eve
C0301: 54,0: Line too long (117/80)
C0301:109,0: Line too long (85/80)
W1401:109,0: Anomalous backslash in string: '\s'. String constant might be missing an r prefix.
E1101: 39,19:EVELightCurve.peek: Instance of 'EVELightCurve' has no '_filename' member
E1101: 40,27:EVELightCurve.peek: Instance of 'EVELightCurve' has no '_filename' member
W0221: 52,4:EVELightCurve._get_default_uri: Arguments number differs from overridden method
W0221: 57,4:EVELightCurve._get_url_for_date: Arguments number differs from overridden method
W0221: 66,4:EVELightCurve._parse_csv: Arguments number differs from overridden method
R0801: 1,0: Similar lines in 2 files
==sunpy.map.sources.sdo:34
==sunpy.map.sources.yohkoh:55
})
return properties
def norm(self):
"""Returns a Normalize object to be used with SXT data"""
# byte-scaled images have most likely already been scaled
if self.dtype == np.uint8:
return None
mean = self.mean()
std = self.std()
vmin = max(0, mean - 3 * std)
vmax = min(self.max(), mean + 3 * std)
return colors.Normalize(vmin, vmax)
@classmethod
def is_datasource_for(cls, header):
"""Determines if header corresponds to an SXT image"""
R0801: 1,0: Similar lines in 3 files
==sunpy.map.sources.hinode:55
==sunpy.map.sources.sdo:34
==sunpy.map.sources.yohkoh:55
})
return properties
def norm(self):
"""Returns a Normalize object to be used with XRT data"""
# byte-scaled images have most likely already been scaled
if self.dtype == np.uint8:
return None
mean = self.mean()
std = self.std()
vmin = max(0, mean - 3 * std)
vmax = min(self.max(), mean + 3 * std)
return colors.Normalize(vmin, vmax)
R0801: 1,0: Similar lines in 4 files
==sunpy.map.sources.hinode:58
==sunpy.map.sources.sdo:37
==sunpy.map.sources.soho:48
==sunpy.map.sources.yohkoh:58
def norm(self):
"""Returns a Normalize object to be used with XRT data"""
# byte-scaled images have most likely already been scaled
if self.dtype == np.uint8:
return None
mean = self.mean()
std = self.std()
R0801: 1,0: Similar lines in 2 files
==sunpy.map.compositemap:366
==sunpy.map.map:1068
figure = plt.figure(frameon=not basic_plot)
# Basic plot
if basic_plot:
axes = plt.Axes(figure, [0., 0., 1., 1.])
axes.set_axis_off()
figure.add_axes(axes)
matplot_args.update({'annotate':False})
R0801: 1,0: Similar lines in 2 files
==sunpy.map.sources.rhessi:23
==sunpy.map.sources.stereo:14
@classmethod
def get_properties(cls, header):
"""Parses RHESSI image header"""
properties = Map.get_properties(header)
properties.update({
"date": parse_time(header.get('date_obs')),
R0801: 1,0: Similar lines in 2 files
==sunpy.map.sources.sdo:3
==sunpy.map.sources.soho:3
__author__ = "Keith Hughitt"
__email__ = "keith.hughitt@nasa.gov"
import numpy as np
from matplotlib import colors
from sunpy.map import Map
R0801: 1,0: Similar lines in 2 files
==sunpy.data.sample.__init__:1
==sunpy.data.test.__init__:1
from __future__ import absolute_import
import sunpy
import os
__author__ = "Keith Hughitt"
__email__ = "keith.hughitt@nasa.gov"
R0801: 1,0: Similar lines in 2 files
==sunpy.map.__init__:6
==sunpy.map.map_factory:7
from sunpy.map.map import Map
from sunpy.map.header import MapHeader
from sunpy.map.mapcube import MapCube
from sunpy.map.compositemap import CompositeMap
from sunpy.map.sources import *
R0801: 1,0: Similar lines in 2 files
==sunpy.spectra.spectrogram:5
==sunpy.util.net:3
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
import os
Report
======
5200 statements analysed.
Raw metrics
-----------
+----------+-------+------+---------+-----------+
|type |number |% |previous |difference |
+==========+=======+======+=========+===========+
|code |6298 |56.43 |6217 |+81.00 |
+----------+-------+------+---------+-----------+
|docstring |3427 |30.71 |3392 |+35.00 |
+----------+-------+------+---------+-----------+
|comment |708 |6.34 |697 |+11.00 |
+----------+-------+------+---------+-----------+
|empty |728 |6.52 |719 |+9.00 |
+----------+-------+------+---------+-----------+
External dependencies
---------------------
::
PIL
\-Image
\-__version__ (sunpy.util.sysinfo)
PyQt4
\-QtCore
\-PYQT_VERSION_STR (sunpy.util.sysinfo)
bs4
\-BeautifulSoup (sunpy.spectra.sources.callisto)
\-__version__ (sunpy.util.sysinfo)
matplotlib (sunpy.lightcurve.sources.goes)
\-__version__ (sunpy.util.sysinfo)
\-cm (sunpy.cm.cm,sunpy.map.map)
\-colorbar
| \-Colorbar (sunpy.spectra.spectrogram)
\-colors (sunpy.cm.color_tables,sunpy.map.sources.sdo,sunpy.map.map,sunpy.map.sources.soho,sunpy.map.sources.hinode,sunpy.map.sources.yohkoh)
\-dates (sunpy.instr.rhessi)
\-figure
| \-Figure (sunpy.spectra.spectrogram)
\-image
| \-imread (sunpy.io.jp2)
\-patches (sunpy.map.map)
\-pyplot (sunpy.lightcurve.sources.eve,sunpy.cm.cm,sunpy.lightcurve.sources.goes,sunpy.map.map,sunpy.lightcurve.sources.lyra,sunpy.map.compositemap,sunpy.spectra.spectrum,sunpy.instr.rhessi,sunpy.util.util,sunpy.spectra.spectrogram,sunpy.lightcurve.lightcurve)
\-ticker
\-FuncFormatter (sunpy.spectra.spectrogram)
\-IndexLocator (sunpy.spectra.spectrogram)
\-MaxNLocator (sunpy.spectra.spectrogram)
numpy (sunpy.image.rescale,sunpy.cm.cm,sunpy.spectra.sources.swaves,sunpy.instr.rhessi,sunpy.map.mapcube,sunpy.map.sources.sdo,sunpy.lightcurve.sources.logical,sunpy.roi.chaincode,sunpy.spectra.spectrogram,sunpy.cm.color_tables,sunpy.sun.sun,sunpy.map.sources.soho,sunpy.wcs.wcs,sunpy.sun.position,sunpy.util.unit_conversion,sunpy.util.util,sunpy.lightcurve.lightcurve,sunpy.sun._si,sunpy.map.map,sunpy.spectra.spectrum,sunpy.sun._cgs,sunpy.spectra.sources.callisto,sunpy.map.map_factory,sunpy.map.sources.hinode,sunpy.map.sources.yohkoh)
\-__version__ (sunpy.util.sysinfo)
\-ma (sunpy.spectra.spectrogram)
pandas (sunpy.lightcurve.lightcurve,sunpy.lightcurve.sources.lyra)
\-__version__ (sunpy.util.sysinfo)
\-io
\-parsers
\-read_csv (sunpy.lightcurve.sources.goes,sunpy.lightcurve.sources.eve)
pyfits (sunpy.map.map,sunpy.lightcurve.sources.lyra,sunpy.map.header,sunpy.instr.rhessi,sunpy.spectra.sources.callisto,sunpy.io.fits)
\-__version__ (sunpy.util.sysinfo)
scipy
\-__version__ (sunpy.util.sysinfo)
\-constants (sunpy.sun._si,sunpy.sun.constants)
| \-constants (sunpy.util.unit_conversion)
\-interpolate (sunpy.image.rescale)
\-ndimage (sunpy.image.rescale,sunpy.spectra.spectrogram)
| \-gaussian_filter1d (sunpy.spectra.sources.callisto)
| \-interpolation (sunpy.map.map)
| \-label (sunpy.lightcurve.sources.logical)
\-optimize
\-leastsq (sunpy.spectra.sources.callisto)
suds
\-TypeNotFound (sunpy.net.vso.vso)
\-__version__ (sunpy.util.sysinfo)
\-client (sunpy.net.vso.vso)
Messages by category
--------------------
+-----------+-------+---------+-----------+
|type |number |previous |difference |
+===========+=======+=========+===========+
|convention |495 |468 |+27.00 |
+-----------+-------+---------+-----------+
|refactor |116 |115 |+1.00 |
+-----------+-------+---------+-----------+
|warning |126 |124 |+2.00 |
+-----------+-------+---------+-----------+
|error |35 |35 |= |
+-----------+-------+---------+-----------+
% errors / warnings by module
-----------------------------
+----------------------------------+------+--------+---------+-----------+
|module |error |warning |refactor |convention |
+==================================+======+========+=========+===========+
|sunpy.spectra.spectrogram |22.86 |23.81 |12.07 |5.66 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.map.sources.__init__ |20.00 |0.00 |0.00 |0.00 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.net.vso.attrs |17.14 |0.79 |0.00 |5.05 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.lightcurve.sources.__init__ |11.43 |0.00 |0.00 |0.00 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.map.compositemap |8.57 |2.38 |0.00 |1.41 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.lightcurve.sources.eve |5.71 |3.17 |7.76 |0.40 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.spectra.sources.callisto |2.86 |11.11 |5.17 |1.01 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.time.time |2.86 |8.73 |0.00 |1.21 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.net.vso.vso |2.86 |3.17 |0.86 |6.26 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.util.sysinfo |2.86 |0.00 |1.72 |0.20 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.coords.__init__ |2.86 |0.00 |0.00 |0.20 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.util.create |0.00 |8.73 |0.00 |0.81 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.lightcurve.lightcurve |0.00 |6.35 |0.00 |2.22 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.net.download |0.00 |5.56 |0.86 |6.06 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.wcs.wcs |0.00 |3.17 |11.21 |0.61 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.net.hek.hek |0.00 |3.17 |0.86 |0.81 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.spectra.spectrum |0.00 |3.17 |0.00 |0.20 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.spectra.sources.swaves |0.00 |2.38 |2.59 |1.21 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.util.cond_dispatch |0.00 |2.38 |0.00 |2.22 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.lightcurve.sources.lyra |0.00 |2.38 |0.00 |0.40 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.lightcurve.sources.goes |0.00 |2.38 |0.00 |0.40 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.roi.chaincode |0.00 |1.59 |0.00 |3.23 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.util.util |0.00 |1.59 |0.00 |1.01 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.map.map |0.00 |0.79 |6.03 |6.46 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.map.sources.hinode |0.00 |0.79 |1.72 |0.40 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.net.helioviewer |0.00 |0.79 |0.86 |0.40 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.map.map_factory |0.00 |0.79 |0.86 |0.20 |
+----------------------------------+------+--------+---------+-----------+
|sunpy.cm.color_tables |0.00 |0.79 |0.00 |18.38 |
+----------------------------------+------+--------+---------+-----------+
Messages
--------
+-----------+------------+
|message id |occurrences |
+===========+============+
|C0111 |239 |
+-----------+------------+
|C0301 |175 |
+-----------+------------+
|C0324 |75 |
+-----------+------------+
|R0903 |33 |
+-----------+------------+
|W0611 |29 |
+-----------+------------+
|W0212 |20 |
+-----------+------------+
|R0924 |19 |
+-----------+------------+
|R0913 |19 |
+-----------+------------+
|W0613 |18 |
+-----------+------------+
|R0904 |18 |
+-----------+------------+
|W1401 |13 |
+-----------+------------+
|W0612 |11 |
+-----------+------------+
|R0914 |11 |
+-----------+------------+
|E1101 |11 |
+-----------+------------+
|E0603 |11 |
+-----------+------------+
|W0141 |9 |
+-----------+------------+
|R0801 |9 |
+-----------+------------+
|E0102 |6 |
+-----------+------------+
|W0221 |5 |
+-----------+------------+
|R0912 |5 |
+-----------+------------+
|E0602 |5 |
+-----------+------------+
|W0631 |4 |
+-----------+------------+
|W0622 |4 |
+-----------+------------+
|W0621 |3 |
+-----------+------------+
|W0223 |3 |
+-----------+------------+
|C0322 |3 |
+-----------+------------+
|W0201 |2 |
+-----------+------------+
|R0915 |2 |
+-----------+------------+
|C0302 |2 |
+-----------+------------+
|W0703 |1 |
+-----------+------------+
|W0404 |1 |
+-----------+------------+
|W0402 |1 |
+-----------+------------+
|W0108 |1 |
+-----------+------------+
|W0107 |1 |
+-----------+------------+
|F0002 |1 |
+-----------+------------+
|E1103 |1 |
+-----------+------------+
|E0611 |1 |
+-----------+------------+
|C0321 |1 |
+-----------+------------+
Global evaluation
-----------------
Your code has been rated at 8.25/10 (previous run: 8.28/10)
Duplication
-----------
+-------------------------+------+---------+-----------+
| |now |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines |122 |109 |+13.00 |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.977 |0.889 |+0.09 |
+-------------------------+------+---------+-----------+
Statistics by type
------------------
+---------+-------+-----------+-----------+------------+---------+
|type |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module |79 |70 |+9.00 |63.29 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|class |124 |123 |+1.00 |44.35 |0.00 |
+---------+-------+-----------+-----------+------------+---------+
|method |443 |435 |+8.00 |81.26 |0.68 |
+---------+-------+-----------+-----------+------------+---------+
|function |194 |195 |-1.00 |70.10 |7.22 |
+---------+-------+-----------+-----------+------------+---------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment