Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pydapTest.py", line 18, in check
test = pydap.client.open_url(url + line[0])
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/client.py", line 60, in open_url
dataset = response(url)
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/client.py", line 211, in _ddsdas
dataset = DASParser(das, dataset).parse()
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/das.py", line 33, in parse
self._attr_container()
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/das.py", line 43, in _attr_container
self._container()
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/das.py", line 80, in _container
self._target.attributes[name] = self._metadata()
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/das.py", line 91, in _metadata
self.consume('{')
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/das.py", line 23, in consume
token = SimpleParser.consume(self, regexp)
File "/usr/local/lib64/python2.5/site-packages/Pydap-3.0.rc.8-
py2.5.egg/pydap/parsers/__init__.py", line 25, in consume
raise Exception("Unable to parse token: %s" % self.buffer[:10])
Exception: Unable to parse token: : POP1.4.3
The DAS contains this:
Attributes {
NC_GLOBAL {
String comment "This simulation was initiated from year 2000
of
ocean : POP1.4.3 (modified), gx1v3
sea ice : CSIM5.0, T85;
land : CLM3.0, gx1v3";
String contact "cc...@ucar.edu";
For all data, added IPCC requested metadata"; }
and it the semicolon on the line that starts "sea ice" that seems to
cause the problem.
The DAS contains this and it the semicolon on the line that starts
"land" that seems to cause the problem.
Attributes {
NC_GLOBAL {
String comment "This simulation was initiated from year 2000 of
ocean : POP1.4.3 (modified), gx1v3
sea ice : CSIM5.0, T85;
land : CLM3.0, gx1v3";
String contact "cc...@ucar.edu";
For all data, added IPCC requested metadata";
}
---------------------------------------------------------------
David Terrett Space Science and Technology Department
Rutherford Appleton Laboratory
Harwell Science and Innovation Campus
david....@stfc.ac.uk Didcot, Oxfordshire
Tel: +44-1235-446478 OX11 0QX
Fax: +44-1235-446362 United Kingdom
---------------------------------------------------------------
The contents of this email are sent in confidence for the
use of the intended recipients only. If you are not one of
the intended recipients do not take action on it or show it
to anyone else, but return this email to the sender and
delete your copy of it.
---------------------------------------------------------------
--
Scanned by iCritical.
--
You received this message because you are subscribed to the Google Groups "pydap" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pydap+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pydap?hl=en.