MetPy ageostrophic wind script

Viewed 16

https://unidata.github.io/python-gallery/examples/Ageostrophic_Wind_Example.html

The above script is throwing up an error. Kindly help.

Traceback (most recent call last):

  File "/home/rajkumar/miniconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3553, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)

  File "/tmp/ipykernel_14745/1049689062.py", line 5, in <module>
    '{dt:%H}00_003.grb2'.format(base_url, dt=dt))

  File "/home/rajkumar/miniconda3/lib/python3.7/site-packages/siphon/http_util.py", line 387, in __init__
    self._get_metadata()

  File "/home/rajkumar/miniconda3/lib/python3.7/site-packages/siphon/ncss.py", line 58, in _get_metadata
    root = ET.fromstring(meta_xml)

  File "/home/rajkumar/miniconda3/lib/python3.7/xml/etree/ElementTree.py", line 1316, in XML
    return parser.close()

  File "<string>", line unknown
ParseError: no element found: line 1, column 0
1 Answers
Related