Unidata/MetPy

View on GitHub
Merge pull request #3664 from dopplershift/xarray-decode #9532
Drew Camron authored 2bb4d567
complete00:02:33
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: engine markdownlint: unrecognized key 'issue_override'
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-structure:b1673
b1673: Pulling from codeclimate/codeclimate-structure
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Pulling fs layer
3fec094de8af: Pulling fs layer
57311f690d79: Pulling fs layer
30eef54b06d3: Pulling fs layer
533e89ddc74f: Pulling fs layer
b1fbd916a7fd: Pulling fs layer
c04c8e3d3f1e: Pulling fs layer
6270755c49c6: Pulling fs layer
c152db51e160: Pulling fs layer
0ff11adca159: Pulling fs layer
b04ea1c225fc: Pulling fs layer
a5900fead2e7: Pulling fs layer
05e1fa67ae7b: Pulling fs layer
55efbe71dad7: Pulling fs layer
fae57dc97efc: Pulling fs layer
c9bb173ce1a5: Pulling fs layer
ad7655ca63f7: Pulling fs layer
b1fbd916a7fd: Download complete
0ff11adca159: Download complete
c302f0c4c32a: Pulling fs layer
2313612dd8ff: Pulling fs layer
c04c8e3d3f1e: Download complete
57311f690d79: Download complete
e256e1e3d8f9: Pulling fs layer
6270755c49c6: Download complete
30eef54b06d3: Download complete
4d0473eb5f61: Pulling fs layer
c152db51e160: Download complete
533e89ddc74f: Download complete
24f7364b1ed7: Pulling fs layer
55efbe71dad7: Download complete
ad7655ca63f7: Download complete
c9bb173ce1a5: Download complete
e2f78d056f14: Pulling fs layer
2313612dd8ff: Download complete
b04ea1c225fc: Download complete
ba793bb5beb0: Pulling fs layer
a5900fead2e7: Download complete
fae57dc97efc: Download complete
05e1fa67ae7b: Download complete
9c6fe351d4a0: Pulling fs layer
c302f0c4c32a: Download complete
e256e1e3d8f9: Download complete
564e99fe143b: Pulling fs layer
24f7364b1ed7: Download complete
4d0473eb5f61: Download complete
e2f78d056f14: Download complete
d4d28bcef407: Pulling fs layer
ba793bb5beb0: Download complete
9c6fe351d4a0: Download complete
564e99fe143b: Download complete
377ba0623335: Pulling fs layer
da34fb180d01: Pulling fs layer
e662a1397458: Pulling fs layer
83257097193a: Pulling fs layer
3fec094de8af: Download complete
60ea3c49c796: Pulling fs layer
b3bd38aab0f6: Pulling fs layer
4de22538118e: Pulling fs layer
25cf34d42617: Pulling fs layer
912ae8410047: Pulling fs layer
9b6209b21f89: Pulling fs layer
1edfdbef3d97: Pulling fs layer
88d893e5be7c: Pulling fs layer
126b08a94339: Pulling fs layer
8f4517454b55: Pulling fs layer
b3bd38aab0f6: Download complete
9b6209b21f89: Download complete
75d3b10e39b6: Pulling fs layer
d4d28bcef407: Download complete
4de22538118e: Download complete
f4ee7bf85263: Pulling fs layer
377ba0623335: Download complete
25cf34d42617: Download complete
e91df39e5278: Pulling fs layer
da34fb180d01: Download complete
e662a1397458: Download complete
912ae8410047: Download complete
6a82a42dca5c: Pulling fs layer
83257097193a: Download complete
60ea3c49c796: Download complete
4429e2badffb: Pulling fs layer
8f4517454b55: Download complete
1edfdbef3d97: Download complete
97bbdb242e6f: Pulling fs layer
88d893e5be7c: Download complete
126b08a94339: Download complete
6a82a42dca5c: Download complete
e91df39e5278: Download complete
97bbdb242e6f: Download complete
75d3b10e39b6: Download complete
f4ee7bf85263: Download complete
4429e2badffb: Download complete
4220ab45da32: Pull complete
3fec094de8af: Pull complete
57311f690d79: Pull complete
30eef54b06d3: Pull complete
533e89ddc74f: Pull complete
b1fbd916a7fd: Pull complete
c04c8e3d3f1e: Pull complete
6270755c49c6: Pull complete
c152db51e160: Pull complete
0ff11adca159: Pull complete
b04ea1c225fc: Pull complete
a5900fead2e7: Pull complete
05e1fa67ae7b: Pull complete
55efbe71dad7: Pull complete
fae57dc97efc: Pull complete
c9bb173ce1a5: Pull complete
ad7655ca63f7: Pull complete
c302f0c4c32a: Pull complete
2313612dd8ff: Pull complete
e256e1e3d8f9: Pull complete
4d0473eb5f61: Pull complete
24f7364b1ed7: Pull complete
e2f78d056f14: Pull complete
ba793bb5beb0: Pull complete
9c6fe351d4a0: Pull complete
564e99fe143b: Pull complete
d4d28bcef407: Pull complete
377ba0623335: Pull complete
da34fb180d01: Pull complete
e662a1397458: Pull complete
83257097193a: Pull complete
60ea3c49c796: Pull complete
b3bd38aab0f6: Pull complete
4de22538118e: Pull complete
25cf34d42617: Pull complete
912ae8410047: Pull complete
9b6209b21f89: Pull complete
1edfdbef3d97: Pull complete
88d893e5be7c: Pull complete
126b08a94339: Pull complete
8f4517454b55: Pull complete
75d3b10e39b6: Pull complete
f4ee7bf85263: Pull complete
e91df39e5278: Pull complete
6a82a42dca5c: Pull complete
4429e2badffb: Pull complete
97bbdb242e6f: Pull complete
Digest: sha256:7880f01608ed54b763671e045bd8a2e774b3ad2d41f674f0a7e2af2a1195fca5
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-structure:b1673
docker pull codeclimate/codeclimate-duplication:b1329
b1329: Pulling from codeclimate/codeclimate-duplication
bff3e048017e: Already exists
339148ecceb7: Already exists
75031b9f2662: Already exists
23e4bece904f: Already exists
580694eb2ab1: Already exists
4220ab45da32: Already exists
3fec094de8af: Already exists
57311f690d79: Already exists
30eef54b06d3: Already exists
533e89ddc74f: Already exists
b1fbd916a7fd: Already exists
c04c8e3d3f1e: Already exists
6270755c49c6: Already exists
c152db51e160: Already exists
0ff11adca159: Already exists
b04ea1c225fc: Already exists
a5900fead2e7: Already exists
05e1fa67ae7b: Already exists
55efbe71dad7: Already exists
fae57dc97efc: Already exists
c9bb173ce1a5: Already exists
ad7655ca63f7: Already exists
c302f0c4c32a: Already exists
2313612dd8ff: Already exists
e256e1e3d8f9: Already exists
4d0473eb5f61: Already exists
24f7364b1ed7: Already exists
e2f78d056f14: Already exists
ba793bb5beb0: Already exists
9c6fe351d4a0: Already exists
564e99fe143b: Already exists
d4d28bcef407: Already exists
377ba0623335: Already exists
da34fb180d01: Already exists
e662a1397458: Already exists
83257097193a: Already exists
60ea3c49c796: Already exists
b3bd38aab0f6: Already exists
4de22538118e: Already exists
25cf34d42617: Already exists
912ae8410047: Already exists
9b6209b21f89: Already exists
1edfdbef3d97: Already exists
88d893e5be7c: Already exists
126b08a94339: Already exists
8f4517454b55: Already exists
75d3b10e39b6: Already exists
f4ee7bf85263: Already exists
5bdda228a9bd: Pulling fs layer
537f66dfc79a: Pulling fs layer
7621b06003bb: Pulling fs layer
e291ef4014ba: Pulling fs layer
bd60c2073336: Pulling fs layer
64534cad8c58: Pulling fs layer
b90a9e1afea5: Pulling fs layer
bd60c2073336: Waiting
64534cad8c58: Waiting
b90a9e1afea5: Waiting
e291ef4014ba: Waiting
5bdda228a9bd: Download complete
7621b06003bb: Verifying Checksum
7621b06003bb: Download complete
537f66dfc79a: Verifying Checksum
537f66dfc79a: Download complete
5bdda228a9bd: Pull complete
e291ef4014ba: Verifying Checksum
e291ef4014ba: Download complete
537f66dfc79a: Pull complete
64534cad8c58: Verifying Checksum
64534cad8c58: Download complete
7621b06003bb: Pull complete
e291ef4014ba: Pull complete
bd60c2073336: Verifying Checksum
bd60c2073336: Download complete
b90a9e1afea5: Verifying Checksum
b90a9e1afea5: Download complete
bd60c2073336: Pull complete
64534cad8c58: Pull complete
b90a9e1afea5: Pull complete
Digest: sha256:08c94e28c0e5d2d83c4d56b338edbdb742d269db6facd9d6477b953dd95c4a14
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-duplication:b1329
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
709515475419: Waiting
a3ed95caeb02: Waiting
9b412187b352: Waiting
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
8fe915fa1948: Waiting
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
65145a386a45: Waiting
a64dfb9c0f27: Waiting
59a464ab5a51: Waiting
47413513c002: Waiting
d1c225ed7c34: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
709515475419: Download complete
a3ed95caeb02: Download complete
709515475419: Pull complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
d1c225ed7c34: Pull complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Verifying Checksum
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
9b412187b352: Pull complete
47413513c002: Verifying Checksum
47413513c002: Download complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
0de813e89c33: Waiting
43b5f16a0c84: Pulling fs layer
e3c7e34cb08c: Waiting
a9696c7f4cd8: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
51b9219e6e44: Waiting
4f8d95c214b1: Verifying Checksum
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Download complete
ab6db1bc80d0: Download complete
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
bf17e9a1c113: Pull complete
0de813e89c33: Download complete
4f8d95c214b1: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-markdownlint:b899
b899: Pulling from codeclimate/codeclimate-markdownlint
fc7181108d40: Pulling fs layer
fb832b8d529e: Pulling fs layer
f928adca00a3: Pulling fs layer
b83899fd2d55: Pulling fs layer
28b20e0f6f6d: Pulling fs layer
08fb5f231db7: Pulling fs layer
f38c4e552cb4: Pulling fs layer
55842d8caf87: Pulling fs layer
1714cd20476b: Pulling fs layer
56a5ac5fa648: Pulling fs layer
43c3c1d360a9: Pulling fs layer
d05637603ec0: Pulling fs layer
905f23712bf9: Pulling fs layer
eb5a5c105220: Pulling fs layer
eb5a5c105220: Waiting
fb832b8d529e: Download complete
f928adca00a3: Download complete
b83899fd2d55: Download complete
28b20e0f6f6d: Download complete
08fb5f231db7: Download complete
f38c4e552cb4: Download complete
55842d8caf87: Download complete
56a5ac5fa648: Download complete
43c3c1d360a9: Download complete
d05637603ec0: Download complete
905f23712bf9: Waiting
905f23712bf9: Download complete
eb5a5c105220: Verifying Checksum
eb5a5c105220: Download complete
fc7181108d40: Pull complete
fb832b8d529e: Pull complete
f928adca00a3: Pull complete
b83899fd2d55: Pull complete
28b20e0f6f6d: Pull complete
08fb5f231db7: Pull complete
f38c4e552cb4: Pull complete
55842d8caf87: Pull complete
1714cd20476b: Verifying Checksum
1714cd20476b: Download complete
1714cd20476b: Pull complete
56a5ac5fa648: Pull complete
43c3c1d360a9: Pull complete
d05637603ec0: Pull complete
905f23712bf9: Pull complete
eb5a5c105220: Pull complete
Digest: sha256:482ba0cc7d87edf77cc280a8550578f40adf0e2514c3744317761f3092c7239c
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-markdownlint:b899
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-28T20:49:20.399431 #1]  INFO -- : Skipping file ./examples/formats/NEXRAD_Level_3_File.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    name = get_test_data(f'nids/KOUN_SDUS54_{v}TLX_201305202016', as_file_obj=False)
                                                               ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.484984 #1]  INFO -- : Skipping file ./examples/gridding/Inverse_Distance_Verification.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 105
    ax.annotate(f'grid 0: cressman {cress_val:.3f}', xy=(sim_gridx[0] + 2, sim_gridy[0]))
                                                  ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.498184 #1]  INFO -- : Skipping file ./examples/gridding/Natural_Neighbor_Verification.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 86
    ax.annotate(f'{zval} F', xy=(pts[i, 0] + 2, pts[i, 1]))
                          ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.510029 #1]  INFO -- : Skipping file ./examples/Advanced_Sounding_With_Complex_Layout.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 96
    skew.ax.set_xlabel(str.upper(f'Temperature ({T.units:~P})'), weight='bold')
                                                             ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.512765 #1]  INFO -- : Skipping file ./examples/cross_section.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 122
    ax.set_title(f'NARR Cross-Section \u2013 {start} to {end} \u2013 '
                                                                     ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.523217 #1]  INFO -- : Skipping file ./examples/isentropic_example.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 134
    ax.set_title(f'{isentlevs[level]:~.0f} Isentropic Pressure (hPa), Wind (kt), '
                                                                                 ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.639488 #1]  INFO -- : Skipping file ./examples/plots/Plotting_Surface_Analysis.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 55
    ax.add_geometries(rows.geometry, crs=ccrs.PlateCarree(), **complete_style[field],
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.815188 #1]  INFO -- : Skipping file ./examples/Advanced_Sounding.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 64
    skew.ax.set_xlabel(f'Temperature ({T.units:~P})')
                                                   ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.826137 #1]  INFO -- : Skipping file ./examples/meteogram_metpy.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 56
    self.title = f'Latest Ob Time: {self.time}\nProbe ID: {probeid}'
                                                                   ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.881991 #1]  INFO -- : Skipping file ./examples/calculations/Sounding_Calculations.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 137
    (u_storm, v_storm), *_ = mpcalc.bunkers_storm_motion(p, u, v, height)
                        ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:20.957307 #1]  INFO -- : Skipping file ./examples/calculations/Mountain_Problem.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    print(f'  LCL Pressure: {lclp:.2f}')
                                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.025665 #1]  INFO -- : Skipping file ./examples/sigma_to_pressure_interpolation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 90
    ax.set_title(f'{plevs[0]:~.0f} Heights (m) and Temperature (C)', loc='center', fontsize=10)
                                                                  ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.032487 #1]  INFO -- : Skipping file conftest.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    lines.append(f'{modname.title()}:{mod.__version__}')
                                                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.039291 #1]  INFO -- : Skipping file src/metpy/units.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 128
    'dataframe and col_units not given.') from None
                                             ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.047894 #1]  INFO -- : Skipping file src/metpy/_warnings.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    warnings.warn(*args, **kwargs, stacklevel=level)
                                 ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.114343 #1]  INFO -- : Skipping file ./src/metpy/calc/indices.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    def precipitable_water(pressure, dewpoint, *, bottom=None, top=None):
                                                ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.115385 #1]  INFO -- : Skipping file ./src/metpy/calc/basic.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1319
    warn(f'Input over {np.nanmax(max_radians)} radians. Ensure proper units are given.')
                                                                                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.155101 #1]  INFO -- : Skipping file ./src/metpy/calc/tools.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 191
    raise ValueError(f'Unknown option for direction: {direction}')
                                                                ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.158232 #1]  INFO -- : Skipping file ./src/metpy/calc/thermo.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 470
    nonlocal nan_mask
                    ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.168394 #1]  INFO -- : Skipping file ./src/metpy/calc/kinematics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    u, v, *, dx=None, dy=None, x_dim=-1, y_dim=-2,
           ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.213007 #1]  INFO -- : Skipping file src/metpy/_version.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    if direct := dist.read_text('direct_url.json'):
               ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.227388 #1]  INFO -- : Skipping file src/metpy/deprecation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 141
    altmessage = f' Use {alternative} instead.'
                                              ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.245662 #1]  INFO -- : Skipping file src/metpy/plots/ctables.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 94
    raise RuntimeError(f'Malformed colortable (bad line: {line})') from e
                                                                ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.261377 #1]  INFO -- : Skipping file src/metpy/plots/_util.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 99
    raise ValueError('Unknown logo size or selection') from None
                                                          ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.273994 #1]  INFO -- : Skipping file src/metpy/plots/cartopy_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    fname = f'{self.name}_{self.scaler.scale}'
                                             ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.293699 #1]  INFO -- : Skipping file src/metpy/plots/skewt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 662
    raise ValueError(f'Unknown option for which: {which}') from None
                                                        ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.505026 #1]  INFO -- : Skipping file src/metpy/plots/declarative.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 97
    suggest = f" Perhaps you meant '{alt}'?"
                                           ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.514702 #1]  INFO -- : Skipping file src/metpy/plots/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 38
    raise AttributeError(f'Cannot use {name} without Cartopy installed.') from None
                                                                       ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.521448 #1]  INFO -- : Skipping file src/metpy/plots/mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 87
    raise ValueError(f'Unhandled projection: {self.name}') from None
                                                        ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.536940 #1]  INFO -- : Skipping file src/metpy/plots/station_plot.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 629
    + ', '.join(f'{loc}: ({info[0].name}, {info[1]}, ...)'
                                                         ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.553979 #1]  INFO -- : Skipping file ./src/metpy/interpolate/one_dimension.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 46
    raise ValueError(f'Unknown option for kind: {kind}')
                                                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.567276 #1]  INFO -- : Skipping file ./src/metpy/interpolate/slices.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 51
    'dimension coordinates.') from None
                                 ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.739477 #1]  INFO -- : Skipping file ./src/metpy/interpolate/points.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 159
    f'of errors in output. {e}')
    ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.800054 #1]  INFO -- : Skipping file src/metpy/testing.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 69
    f'Specified {version_spec} outdated according to MetPy minimum {metadata_spec}.')
                                                                                   ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.813170 #1]  INFO -- : Skipping file src/metpy/xarray.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 383
    _warnings.warn(f'More than one {axis} coordinate present for variable {varname}.')
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.823786 #1]  INFO -- : Skipping file src/metpy/io/metar.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 82
    def parse_metar_to_dataframe(metar_text, *, year=None, month=None):
                                              ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.826776 #1]  INFO -- : Skipping file src/metpy/io/gini.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 273
    f'Unhandled GINI Projection: {self.prod_desc.projection}')
                                                            ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.838153 #1]  INFO -- : Skipping file src/metpy/io/text.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 59
    lat = float(f'{lat[:2]}.{lat[2:]}') * flip
                                     ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.841338 #1]  INFO -- : Skipping file src/metpy/io/gempak.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 309
    if missing not in [*tvl, zb]:
                       ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.856136 #1]  INFO -- : Skipping file src/metpy/io/_tools.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 158
    return self.val_map.get(val, f'Unknown ({val})')
                                                  ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.866027 #1]  INFO -- : Skipping file src/metpy/io/station_data.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 158
    raise KeyError(f'No station information for {stid}') from None
                                                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:21.880139 #1]  INFO -- : Skipping file src/metpy/io/nexrad.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    return f'{ver:.1f}'
                      ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:22.041765 #1]  INFO -- : Skipping file ./tests/calc/test_calc_tools.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1334
    temp = temp.transpose(..., 'x', 'y')
                          ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:23.209724 #1]  INFO -- : Skipping file tests/test_testing.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 50
    assert version_check(f'numpy >={numpy_version}')
                                                  ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:23.750106 #1]  INFO -- : Skipping file tests/plots/test_declarative.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1463
    panel.title = f'Surface Observations for {obs.time}'
                                                       ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:23.936233 #1]  INFO -- : Skipping file ./tests/interpolate/test_grid.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 271
    with get_test_data(f'{method}_test.npz') as fobj:
                                          ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:23.936492 #1]  INFO -- : Skipping file ./tests/interpolate/test_points.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 171
    with get_test_data(f'{method}_test.npz') as fobj:
                                          ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.109397 #1]  INFO -- : Skipping file ./tests/io/test_gempak.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    g = get_test_data(f'gem_{order}_endian.grd')
                                              ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.341276 #1]  INFO -- : Skipping file ./tools/flake8-metpy/flake8_metpy.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 71
    f'MPY{err.code:03d}: Multiplying/dividing by units--use units.Quantity()',
                                                                            ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.360135 #1]  INFO -- : Skipping file ./tools/nexrad_msgs/parse_spec.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    warnings.warn(f'{var_name} has type {typ}. Setting as Spare')
                                                               ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.372950 #1]  INFO -- : Skipping file ./ci/filter_links.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    diff = subprocess.check_output(['git', 'diff', f'{target}...{merge_commit}'])
                                                                              ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.403092 #1]  INFO -- : Skipping file ./tutorials/unit_tutorial.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 86
    print(f'{20 * units.meter ** 2}')
                                   ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.415364 #1]  INFO -- : Skipping file ./tutorials/area_tutorial.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    print(f'{named_areas[area].name:<10s}{named_areas[area].description:<20s}{named_areas[area].bounds}')
                                                                                                       ^
SyntaxError: invalid syntax


I, [2024-10-28T20:49:24.439876 #1]  INFO -- : Skipping file ./tutorials/declarative_tutorial.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 160
    panel.title = f'{cfill.level.m}-hPa Heights and Wind Speed at {plot_time}'
                                                                             ^
SyntaxError: invalid syntax
7
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 232 files indexed
ERROR: Unable to parse file: /code/conftest.py
ERROR: Parse error at line 157 column 29:

  156:             request.applymarker(pytest.mark.xfail(reason=marker.args[0]))
  -->          return lambda d, u, *, mask=None: quantity(dask_array.array(d), u)
  158:     elif request.param == 'xarray':
  159:         return lambda d

ERROR: Unable to parse file: /code/src/metpy/_version.py
ERROR: Parse error at line 19 column 19:

    7: ():
    8:     """Get MetPy's version.
    9: 
   10:     Either get it from package metadata, or get it using version control information if
   11:     an editable installation.
   12:     """
   13:     from importlib.metadata import distribution, PackageNotFoundError
   14: 
   15:     try:
   16:         dist = distribution(__package__)
   17: 
   18: 
  -->          if direct := dist.read_text('direct_url.json'):
   20:             import json
   21: 
   22: 
   23:             info = json.loads(direct)
   24:             if info.get('dir_info', {

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 4.732s
INFO: Final Memory: 23M/1151M
INFO: ------------------------------------------------------------------------
8
pep8
pep8 engine documentation
View output
examples/ conftest.py .github/ src/metpy/units.py src/metpy/_warnings.py src/metpy/constants/ src/metpy/_vendor/ src/metpy/future.py src/metpy/calc/ src/metpy/package_tools.py src/metpy/pandas.py src/metpy/_version.py src/metpy/deprecation.py src/metpy/cbook.py src/metpy/plots/ctables.py src/metpy/plots/plot_areas.py src/metpy/plots/_util.py src/metpy/plots/cartopy_utils.py src/metpy/plots/skewt.py src/metpy/plots/wx_symbols.py src/metpy/plots/_mpl.py src/metpy/plots/declarative.py src/metpy/plots/colortable_files/ src/metpy/plots/__init__.py src/metpy/plots/nexrad_tables/ src/metpy/plots/mapping.py src/metpy/plots/patheffects.py src/metpy/plots/station_plot.py src/metpy/interpolate/ src/metpy/testing.py src/metpy/__init__.py src/metpy/xarray.py src/metpy/io/metar.py src/metpy/io/gini.py src/metpy/io/text.py src/metpy/io/gempak.py src/metpy/io/_nexrad_msgs/__init__.py src/metpy/io/_tools.py src/metpy/io/station_data.py src/metpy/io/__init__.py src/metpy/io/nexrad.py tests/calc/ tests/test_cbook.py tests/test_xarray.py tests/test_testing.py tests/plots/test_patheffects.py tests/plots/test_ctables.py tests/plots/test_mpl.py tests/plots/test_mapping.py tests/plots/test_station_plot.py tests/plots/test_wx_symbols.py tests/plots/test_plot_areas.py tests/plots/test_declarative.py tests/plots/test_cartopy_utils.py tests/plots/test_skewt.py tests/plots/test_util.py tests/interpolate/ tests/test_packaging.py tests/test_deprecation.py tests/io/ tests/units/test_units.py .devcontainer/ tools/ ci/ tutorials/
9
markdownlint
markdownlint engine documentation
View output
/usr/local/bundle/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:467: warning: constant ::Fixnum is deprecated
/usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:626:in `block (3 levels) in load': undefined method `end_with?' for :rdquo:Symbol (NoMethodError)
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:623:in `select'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl/rules.rb:623:in `block (2 levels) in load'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:86:in `block (2 levels) in run'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:84:in `each'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:84:in `block in run'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:74:in `each'
	from /usr/local/bundle/gems/mdl-0.5.0/lib/mdl.rb:74:in `run'
	from /usr/local/bundle/gems/mdl-0.5.0/bin/mdl:10:in `<top (required)>'
	from /usr/local/bundle/bin/mdl:23:in `load'
	from /usr/local/bundle/bin/mdl:23:in `<main>'