pydap minor version 0 version: dods/2.0 causes erddap sequence parsing problems

17 views
Skip to first unread message

mike....@gmail.com

unread,
Feb 10, 2013, 12:57:23 PM2/10/13
to py...@googlegroups.com
Erdapp expects the server minor version to be >= 15 in order for it to parse sequences with the sequence markers.
Pydap correctly inserts the sequence markers.
Pydap broadcats the minor version as 0 so erddap thinks it is an old server and parses sequences without expecting the sequence markers.
https://github.com/BobSimons/erddap/blob/master/WEB-INF/classes/dods/dap/DSequence.java#L422

I do not know what version the sequence markers started but erddap thinks it was 2.15.
Is there anyway we can get pydap to fill out the minor version?

mike....@gmail.com

unread,
Feb 11, 2013, 11:05:03 AM2/11/13
to py...@googlegroups.com, mike....@gmail.com
never mind I just monkey patched it
pydap.lib.__dap__ = (2,15)

Roberto De Almeida

unread,
Feb 11, 2013, 10:48:29 PM2/11/13
to py...@googlegroups.com

I'll update the version on pydap. I didn't know there were servers reporting versions > 2.0. Thanks, Mike!

--
You received this message because you are subscribed to the Google Groups "pydap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydap+un...@googlegroups.com.
To post to this group, send email to py...@googlegroups.com.
Visit this group at http://groups.google.com/group/pydap?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Roberto De Almeida

unread,
Feb 14, 2013, 9:55:05 AM2/14/13
to py...@googlegroups.com
By the way, I noticed that in the new branch I was using "pydap/3.2" as the version in the XDODS-Server header. Would this work with Erddap?

--Rob
--
Roberto De Almeida, PhD
Reply all
Reply to author
Forward
0 new messages