bioclim function

You might want to put the bioclim function on a different branch until the wps goes public.

Also pyGDP is failing one test and getting an error on three more.  But it was the same before I made these changes.  It might be a windows thing, or the fact that I'm offsite, I didn't look into it.


C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests>nosetests
C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\csw.py:186: UserWarning: Please use the updated 'getrecords2' method instead of 'getrecords'
        The 'getrecords' method will be upgraded to use the 'getrecords2' parameters
        in a future version of OWSLib.
  in a future version of OWSLib.""")
F......E......E..E
======================================================================
ERROR: testFeatureWeightedGridStatistics.TestFeatureWeightedGridStatistics.test_submit_FWGS_arc
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests\testFeatureWeightedGridStatistics.py", line 114, in test_submit_FWGS_arc
    outputFile_handle = testPyGDP.submitFeatureWeightedGridStatistics(shapefile, datasetURI, dataType, timeStart, timeEnd, attribute, value, coverage=False)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 846, in submitFeatureWeightedGridStatistics
    featureCollection = self._getFeatureCollectionGeoType(geoType, attribute, value, gmlIDs)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 760, in _getFeatureCollectionGeoType
    tuples = self.getTuples(geoType, attribute)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 393, in getTuples
    return self.getValues(shapefile, attribute, getTuples='only')
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 595, in getValues
    feature = wfs.getfeature(typename=shapefile, maxfeatures=limitFeatures, propertyname=[attribute])
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\feature\wfs110.py", line 199, in getfeature
    u = openURL(base_url, data, method)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\util.py", line 173, in openURL
    str(serviceException.text).strip()
ServiceException

======================================================================
ERROR: testGeoServerInteractivity.TestGeoServerInteractivity.test_get_shapefile_attributes_arc
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests\testGeoServerInteractivity.py", line 47, in test_get_shapefile_attributes_arc
    attributes = testPyGDP.getAttributes(shapefile)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 536, in getAttributes
    feature = wfs.getfeature(typename=shapefile, maxfeatures=1, propertyname=None)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\feature\wfs110.py", line 199, in getfeature
    u = openURL(base_url, data, method)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\util.py", line 173, in openURL
    str(serviceException.text).strip()
ServiceException

======================================================================
ERROR: testGeoServerInteractivity.TestGeoServerInteractivity.test_get_shapefile_values_arc
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests\testGeoServerInteractivity.py", line 75, in test_get_shapefile_values_arc
    values    = testPyGDP.getValues(shapefile,attribute,limitFeatures=100)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\pyGDP\pyGDP.py", line 595, in getValues
    feature = wfs.getfeature(typename=shapefile, maxfeatures=limitFeatures, propertyname=[attribute])
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\feature\wfs110.py", line 199, in getfeature
    u = openURL(base_url, data, method)
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\owslib\util.py", line 173, in openURL
    str(serviceException.text).strip()
ServiceException

======================================================================
FAIL: testCSWreturnsurl.TestCSWreturnsurl.test_get_uri
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\GoogleDrive\work\Python\VisTrails_SAHM_x64\VisTrails\Python27_64\Lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests\testCSWreturnsurl.py", line 27, in test_get_uri
    assert_equal(len(dataseturis), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 18 tests in 189.090s

FAILED (errors=3, failures=1)

C:\GoogleDrive\work\Python\DevWorkspace\OtherMisc\pyGDP_colin\pyGDP\tests>