Skip to Content.

mget-help - Re: [mget-help] glm, predict glm from table

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: Liza Hoos <>
To: Jason Roberts <>
Cc:
Subject: Re: [mget-help] glm, predict glm from table
Date: Tue, 25 Sep 2012 12:27:31 -0400
Hi Jason,

That did indeed work, thank you very much!

On another note, I have encountered another problem when using the "Predict GLM from Rasters" tool. I receive the error:
<type 'exceptions.ValueError'>: The predictor variable Month_1 appears in the model's formula but does not appear in the list of model variable names for predictor rasters provided to this tool. Add that predictor variable to the list and try again.


My GLM model formula is: Blacktip_Pres ~ Chla_8day_SW + Slope + Dist2Shr + Bathy2 + SST_8day + factor(Month_1). I ran the tool adding all all variables but Month_1 to both the Raster Predictor Variable and Predictor Rasters lists. Month_1 is a field containing numbers 1-12 indicating the month when data point was recorded, and has no associated raster. I then added Month_1 to the Constant Predictor Variable list, and specified the constant value as 1 (see screenshot). Am I misusing the tool, or is this a bug? See attached file for the debug report.

Thank you so much!
-Liza




On Fri, Sep 21, 2012 at 6:15 PM, Jason Roberts <> wrote:

Liza,

 

That is a bug in MGET that we also recently encountered. I’m sorry you hit it.

 

Thank you for the debug report with verbose logging. That allows me to very quickly confirm it is the same problem. A patched file is attached. To apply it to your system:

 

1.    Make sure you have MGET 0.8a43 installed. (You do—I can see this in the verbose logging—but others reading this message might not.)

 

2.    Shut down all ArcGIS programs.

 

3.    Save the attached file one of the following directories, depending on your version of ArcGIS and Python, overwriting the file that is already there:

 

a.    Arc 9.2 - C:\Python24\Lib\site-packages\GeoEco\Statistics

b.    Arc 9.3 - C:\Python25\Lib\site-packages\GeoEco\Statistics

c.    Arc 10.0 - C:\Python26\ArcGIS10.0\Lib\site-packages\GeoEco\Statistics

d.    Arc 10.1 - C:\Python27\ArcGIS10.1\Lib\site-packages\GeoEco\Statistics

 

Then try again. Please let me know if it works.

 

Best,

 

Jason

 

 

From: Liza Hoos [mailto:]
Sent: Friday, September 21, 2012 5:59 PM
To:
Subject: [mget-help] glm, predict glm from table

 

Hello,

I am trying to run a GLM using MGET tools, but I keep getting an error when I use the Predict GLM from table tool. The error reads: "<type 'exceptions.ValueError'>: too many values to unpack Failed to execute (Predict GLM From Table)."

If I leave the "input table (optional)" field blank, the tool runs without problems. However, when I specify an input table it gives me this error (above, and see attachment for all details). Do you know what could be causing this problem? The table only has 1436 entries and about 15 fields.

Thanks so much!
Liza


Executing (Predict GLM From Rasters): GLMPredictFromArcGISRasters 
Z:\sharks\blacktip_bll\glm\blacktip_glm 
"Z:\sharks\blacktip_bll\glm\prediction rasters\mo1_BT_glm.img" # 
Bathy2;Chla_8day_SW;SST_8day;Dist2Shr;Slope 
Z:\sharks\blacktip_bll\data\bathy.img;Z:\oceano2\Sea_Surface_Chlorophyll\SeaWiFS\ArcGIS_Raster\Monthly\chlo\2005\chlo200501;Z:\oceano2\Sea_Surface_Temperature\NODC_AVHRR_v5\ArcGIS_Raster\Monthly\sst\2005\sst200501n;Z:\sharks\blacktip_bll\data\dist2shore.img;Z:\sharks\blacktip_bll\data\slope.img
 factor(Month_1) 1 0.436898691943 # true # false
Start Time: Tue Sep 25 12:01:32 2012
Running script GLMPredictFromArcGISRasters...
GeoEco will now use ArcGIS Geoprocessor object 0x235A05D8 for ArcGIS 
operations.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\GeoEco\\ArcGISToolbox\\Rasters\\dummyint',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x22E2A1B8>
ArcGIS Geoprocessor object 0x235A05D8: Get ParameterCount returned 12
This python script was invoked from an ArcGIS application.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(0,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'Z:\\sharks\\blacktip_bll\\glm\\blacktip_glm'
Parameter inputModelFile = u'Z:\\sharks\\blacktip_bll\\glm\\blacktip_glm'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(1,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'Z:\\sharks\\blacktip_bll\\glm\\prediction rasters\\mo1_BT_glm.img'
Parameter outputResponseRaster = u'Z:\\sharks\\blacktip_bll\\glm\\prediction 
rasters\\mo1_BT_glm.img'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(2,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned ''
Parameter templateRaster = None
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(3,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'Bathy2;Chla_8day_SW;SST_8day;Dist2Shr;Slope'
Parameter rasterPredictorNames = [u'Bathy2', u'Chla_8day_SW', u'SST_8day', 
u'Dist2Shr', u'Slope']
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(4,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'Z:\\sharks\\blacktip_bll\\data\\bathy.img;Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501;Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n;Z:\\sharks\\blacktip_bll\\data\\dist2shore.img;Z:\\sharks\\blacktip_bll\\data\\slope.img'
Parameter predictorRasters = [u'Z:\\sharks\\blacktip_bll\\data\\bathy.img', 
u'Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',
 
u'Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',
 u'Z:\\sharks\\blacktip_bll\\data\\dist2shore.img', 
u'Z:\\sharks\\blacktip_bll\\data\\slope.img']
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(5,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'factor(Month_1)'
Parameter constantPredictorNames = [u'factor(Month_1)']
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(6,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned '1'
Parameter constantPredictorValues = [u'1']
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(7,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 
'0.436898691943'
Parameter cutoff = 0.43689869194300002
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(8,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned ''
Parameter resamplingTechniques = None
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(9,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 'true'
Parameter ignoreOutOfRangeValues = True
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(10,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned ''
Parameter outputErrorRaster = None
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
getparameterastext(*args=(11,))...
ArcGIS Geoprocessor object 0x235A05D8: getparameterastext returned 'false'
Parameter buildPyramids = False
ArcGIS Geoprocessor object 0x235A05D8: Get OverwriteOutput returned 1
Parameter overwriteExisting = True
Executing method GeoEco.Statistics.Modeling.GLM.PredictFromArcGISRasters.
Checking software dependency: R rgdal package.
R interpreter: Evaluating statements: library(utils)
R interpreter: The last statement returned [u'rgdal', u'sp', u'caret', 
u'foreach', u'cluster', u'reshape', u'plyr', u'lattice', u'e1071', u'class', 
u'ROCR', u'gplots', u'MASS', u'KernSmooth', u'grid', u'caTools', u'bitops', 
u'gdata', u'gtools', u'tools', ...]
R interpreter: Evaluating statements: library(tools)
R interpreter: The last statement returned [u'rgdal', u'sp', u'caret', 
u'foreach', u'cluster', u'reshape', u'plyr', u'lattice', u'e1071', u'class', 
u'ROCR', u'gplots', u'MASS', u'KernSmooth', u'grid', u'caTools', u'bitops', 
u'gdata', u'gtools', u'tools', ...]
R interpreter: Evaluating statements: .packages()
R interpreter: The last statement returned [u'rgdal', u'sp', u'caret', 
u'foreach', u'cluster', u'reshape', u'plyr', u'lattice', u'e1071', u'class', 
u'ROCR', u'gplots', u'MASS', u'KernSmooth', u'grid', u'caTools', u'bitops', 
u'gdata', u'gtools', u'tools', ...]
The R rgdal package has already been loaded into the R interpreter.
The file Z:\sharks\blacktip_bll\glm\blacktip_glm exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\sharks\\blacktip_bll\\glm\\prediction 
rasters\\mo1_BT_glm.img',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 0
The ArcGIS raster Z:\sharks\blacktip_bll\glm\prediction 
rasters\mo1_BT_glm.img does not exist.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\sharks\\blacktip_bll\\data\\bathy.img',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 1
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\bathy.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C500>
ArcGIS Describe object 0x2284C500: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band 
Z:\sharks\blacktip_bll\data\bathy.img exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 1
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C848>
ArcGIS Describe object 0x2284C848: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band 
Z:\oceano2\Sea_Surface_Chlorophyll\SeaWiFS\ArcGIS_Raster\Monthly\chlo\2005\chlo200501
 exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 1
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C6F8>
ArcGIS Describe object 0x2284C6F8: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band 
Z:\oceano2\Sea_Surface_Temperature\NODC_AVHRR_v5\ArcGIS_Raster\Monthly\sst\2005\sst200501n
 exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\sharks\\blacktip_bll\\data\\dist2shore.img',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 1
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\dist2shore.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C608>
ArcGIS Describe object 0x2284C608: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band 
Z:\sharks\blacktip_bll\data\dist2shore.img exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
exists(*args=('Z:\\sharks\\blacktip_bll\\data\\slope.img',))...
ArcGIS Geoprocessor object 0x235A05D8: exists returned 1
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\slope.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C788>
ArcGIS Describe object 0x2284C788: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band 
Z:\sharks\blacktip_bll\data\slope.img exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\bathy.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C5A8>
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C8C0>
ArcGIS SpatialReference object 0x2284C8C0: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C8C0>
ArcGIS SpatialReference object 0x2284C8C0: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C728>
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C560>
ArcGIS SpatialReference object 0x2284C560: Get Name returned 'GCS_WGS_1984'
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C560>
ArcGIS SpatialReference object 0x2284C560: Get Name returned 'GCS_WGS_1984'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C5A8>
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C590>
ArcGIS SpatialReference object 0x2284C590: Get Name returned 'GCS_WGS_1984'
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C590>
ArcGIS SpatialReference object 0x2284C590: Get Name returned 'GCS_WGS_1984'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\dist2shore.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C728>
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C500>
ArcGIS SpatialReference object 0x2284C500: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C500>
ArcGIS SpatialReference object 0x2284C500: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\slope.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C5A8>
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C5F0>
ArcGIS SpatialReference object 0x2284C5F0: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Describe object 0x2284C5A8: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C5F0>
ArcGIS SpatialReference object 0x2284C5F0: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
describe(*args=('Z:\\sharks\\blacktip_bll\\data\\bathy.img',))...
ArcGIS Geoprocessor object 0x235A05D8: describe returned <geoprocessing 
describe data object object at 0x2284C728>
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C848>
ArcGIS SpatialReference object 0x2284C848: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C848>
ArcGIS SpatialReference object 0x2284C848: Get Name returned 
'North_America_Lambert_Conformal_Conic'
ArcGIS Describe object 0x2284C728: Get SpatialReference returned 
<geoprocessing spatial reference object object at 0x2284C848>
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
CreateSpatialReference(*args=(<geoprocessing spatial reference object object 
at 0x2284C848>,))...
Executing: CreateSpatialReference 
"PROJCS['North_America_Lambert_Conformal_Conic',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-79.5],PARAMETER['Standard_Parallel_1',27.5],PARAMETER['Standard_Parallel_2',41.5],PARAMETER['Latitude_Of_Origin',20.0],UNIT['Meter',1.0]];-37658500
 -26849000 119590520.795318;-100000 10000;-100000 
10000;0.001;0.001;0.001;IsHighPrecision" # # # # # 0
Start Time: Tue Sep 25 12:01:39 2012
Spatial Reference = North_America_Lambert_Conformal_Conic
XY Domain (XMin,YMin XMax,YMax) = -37658500,-26849000 37658500,48468000
Z Domain (Min,Max) = -100000,900719825474.099
M Domain (Min,Max) = -100000,900719825474.099
Succeeded at Tue Sep 25 12:01:39 2012 (Elapsed Time: 0.00 seconds)
ArcGIS Geoprocessor object 0x235A05D8: CreateSpatialReference returned 
"PROJCS['North_America_Lambert_Conformal_Conic',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-79.5],PARAMETER['Standard_Parallel_1',27.5],PARAMETER['Standard_Parallel_2',41.5],PARAMETER['Latitude_Of_Origin',20.0],UNIT['Meter',1.0]];-37658500
 -26849000 119590520.795318;-100000 10000;-100000 
10000;0.001;0.001;0.001;IsHighPrecision"
ArcGIS Describe object 0x2284C728: Get MeanCellWidth returned 
1919.0148522092727
ArcGIS Describe object 0x2284C728: Get Extent returned '-1709432.33598433 
468732.41015527 1360991.42755051 2825282.64866825'
R interpreter: Evaluating statements: 
load("Z:\\sharks\\blacktip_bll\\glm\\blacktip_glm")
R interpreter: The last statement returned [u'model', u'xVar', u'yVar', 
u'zVar', u'mVar', u'coordinateSystem']
R interpreter: Evaluating statements: exists("model")
R interpreter: The last statement returned True
R interpreter: Evaluating statements: tolower(class(model))
R interpreter: The last statement returned [u'glm', u'lm']
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: class(model)[1]
R interpreter: The last statement returned u'glm'
Loaded glm from Z:\sharks\blacktip_bll\glm\blacktip_glm.
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: all.vars(model$formula)
R interpreter: The last statement returned [u'Blacktip_Pres', 
u'Chla_8day_SW', u'Slope', u'Dist2Shr', u'Bathy2', u'SST_8day', u'Month_1']
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
ArcGIS Geoprocessor object 0x235A05D8: Get ScratchWorkspace returned 
'Z:\\sharks\\blacktip_bll\\scratch'
Created temporary directory 
Z:\sharks\blacktip_bll\scratch\GeoEcoTemp\tmpkipzgg
The directory Z:\sharks\blacktip_bll\scratch\GeoEcoTemp exists.
ArcGIS Geoprocessor object 0x235A05D8: Invoking 
refreshcatalog(*args=('Z:\\sharks\\blacktip_bll\\scratch\\GeoEcoTemp',))...
ArcGIS Geoprocessor object 0x235A05D8: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory 
Z:\sharks\blacktip_bll\scratch\GeoEcoTemp
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: exists("rPackage")
R interpreter: The last statement returned False
R interpreter: Evaluating statements: all.vars(model$formula)
R interpreter: The last statement returned [u'Blacktip_Pres', 
u'Chla_8day_SW', u'Slope', u'Dist2Shr', u'Bathy2', u'SST_8day', u'Month_1']
R interpreter: get("xVar") returned None
R interpreter: get("yVar") returned None
ValueError: The predictor variable Month_1 appears in the model's formula but 
does not appear in the list of model variable names for predictor rasters 
provided to this tool. Add that predictor variable to the list and try again.
---------- BEGINNING OF DEBUGGING INFORMATION ----------
Traceback (most recent call last):
  File 
"C:\Python26\ArcGIS10.0\Lib\site-packages\GeoEco\ArcGISToolbox\Scripts\GLMPredictFromArcGISRasters.py",
 line 5, in <module>
    ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.Statistics.Modeling', 
'GLM', 'PredictFromArcGISRasters')
  File "C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\ArcGISScripts.py", 
line 210, in ExecuteMethodFromCommandLineAsArcGISTool
    exec sourceCode in globals(), locals()
  File "<string>", line 1, in <module>
  File 
"C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Statistics\Modeling.py", 
line 131, in PredictFromArcGISRasters
    _PredictFromArcGISRasters('glm', _(u'Fit GLM'), inputModelFile, 
outputResponseRaster, cutoff, constantPredictorNames, 
constantPredictorValues, rasterPredictorNames, predictorRasters, 
templateRaster, resamplingTechniques, ignoreOutOfRangeValues, 
outputErrorRaster, buildPyramids, overwriteExisting)
  File 
"C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Statistics\Modeling.py", 
line 1616, in _PredictFromArcGISRasters
    _PreparePredictorRasters(r, gp, tempDir, constantPredictorNames, 
rasterPredictorNames, predictorRasters, templateRaster, templateDescribe, 
coordinateSystem, cellSize, extent, resamplingTechniques)
  File 
"C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Statistics\Modeling.py", 
line 1753, in _PreparePredictorRasters
    Logger.RaiseException(ValueError(_('The predictor variable %(var)s 
appears in the model\'s formula but does not appear in the list of model 
variable names for predictor rasters provided to this tool. Add that 
predictor variable to the list and try again.') % {u'var': variable}))
  File "C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Logging.py", line 
104, in RaiseException
    raise exception
ValueError: The predictor variable Month_1 appears in the model's formula but 
does not appear in the list of model variable names for predictor rasters 
provided to this tool. Add that predictor variable to the list and try again.
Local variables for stack frame: File 
"C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Statistics\Modeling.py", 
line 1753, in _PreparePredictorRasters:
  allVars = [u'Chla_8day_SW', u'Slope', u'Dist2Shr', u'Bathy2', u'SST_8day', 
u'Month_1']
  cellSize = 1919.0148522092727
  constantPredictorNames = [u'factor(Month_1)']
  coordinateSystem = 
u"PROJCS['North_America_Lambert_Conformal_Conic',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-79.5],PARAMETER['Standard_Parallel_1',27.5],PARAMETER['Standard_Parallel_2',41.5],PARAMETER['Latitude_Of_Origin',20.0],UNIT['Meter',1.0]]"
  createXRaster = False
  createYRaster = False
  extent = u'-1709432.33598433 468732.41015527 1360991.42755051 
2825282.64866825'
  gp = <weakproxy at 228ABFC0 to _ArcGISObjectWrapper at 170E82B0>
  predictorRasters = [u'Z:\\sharks\\blacktip_bll\\data\\bathy.img', 
u'Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',
 
u'Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',
 u'Z:\\sharks\\blacktip_bll\\data\\dist2shore.img', 
u'Z:\\sharks\\blacktip_bll\\data\\slope.img']
  r = <GeoEco.R.RInterpreter object at 0x22D19D30>
  rasterPredictorNames = [u'Bathy2', u'Chla_8day_SW', u'SST_8day', 
u'Dist2Shr', u'Slope']
  rastersForPredictors = {u'Slope': 
u'Z:\\sharks\\blacktip_bll\\data\\slope.img', u'Chla_8day_SW': 
u'Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501',
 u'SST_8day': 
u'Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n',
 u'Bathy2': u'Z:\\sharks\\blacktip_bll\\data\\bathy.img', u'Dist2Shr': 
u'Z:\\sharks\\blacktip_bll\\data\\dist2shore.img'}
  resamplingTechniques = None
  tempDir = <GeoEco.DataManagement.Directories.TemporaryDirectory object at 
0x22DA1090>
  templateDescribe = <GeoEco.ArcGIS._ArcGISObjectWrapper object at 0x235C2130>
  templateRaster = u'Z:\\sharks\\blacktip_bll\\data\\bathy.img'
  variable = u'Month_1'
Global variables for stack frame: File 
"C:\Python26\ArcGIS10.0\lib\site-packages\GeoEco\Statistics\Modeling.py", 
line 1753, in _PreparePredictorRasters:
  AddArgumentMetadata = <function AddArgumentMetadata at 0x223967B0>
  AddClassMetadata = <function AddClassMetadata at 0x223966B0>
  AddMethodMetadata = <function AddMethodMetadata at 0x22396770>
  AddModuleMetadata = <function AddModuleMetadata at 0x22396670>
  AddPropertyMetadata = <function AddPropertyMetadata at 0x223966F0>
  AddResultMetadata = <function AddResultMetadata at 0x22396830>
  AnyObjectTypeMetadata = <class 'GeoEco.Types.AnyObjectTypeMetadata'>
  ArcGIS91DatabaseConnection = <class 
'GeoEco.DatabaseAccess.ArcGIS.ArcGIS91DatabaseConnection'>
  ArcGIS91SelectCursor = <class 
'GeoEco.DatabaseAccess.ArcGIS.ArcGIS91SelectCursor'>
  ArcGISDependency = <class 'GeoEco.ArcGIS.ArcGISDependency'>
  ArcGISExtensionDependency = <class 
'GeoEco.ArcGIS.ArcGISExtensionDependency'>
  ArcGISFeatureClassTypeMetadata = <class 
'GeoEco.Types.ArcGISFeatureClassTypeMetadata'>
  ArcGISFeatureLayerTypeMetadata = <class 
'GeoEco.Types.ArcGISFeatureLayerTypeMetadata'>
  ArcGISFieldTypeMetadata = <class 'GeoEco.Types.ArcGISFieldTypeMetadata'>
  ArcGISGeoDatasetTypeMetadata = <class 
'GeoEco.Types.ArcGISGeoDatasetTypeMetadata'>
  ArcGISRaster = <class 'GeoEco.DataManagement.ArcGISRasters.ArcGISRaster'>
  ArcGISRasterCatalogTypeMetadata = <class 
'GeoEco.Types.ArcGISRasterCatalogTypeMetadata'>
  ArcGISRasterLayerTypeMetadata = <class 
'GeoEco.Types.ArcGISRasterLayerTypeMetadata'>
  ArcGISRasterTypeMetadata = <class 'GeoEco.Types.ArcGISRasterTypeMetadata'>
  ArcGISTableTypeMetadata = <class 'GeoEco.Types.ArcGISTableTypeMetadata'>
  ArcGISTableViewTypeMetadata = <class 
'GeoEco.Types.ArcGISTableViewTypeMetadata'>
  ArcGISWorkspaceTypeMetadata = <class 
'GeoEco.Types.ArcGISWorkspaceTypeMetadata'>
  ArgumentMetadata = <class 'GeoEco.Metadata.ArgumentMetadata'>
  BooleanTypeMetadata = <class 'GeoEco.Types.BooleanTypeMetadata'>
  ClassInstanceTypeMetadata = <class 'GeoEco.Types.ClassInstanceTypeMetadata'>
  ClassMetadata = <class 'GeoEco.Metadata.ClassMetadata'>
  ClassOrClassInstanceTypeMetadata = <class 
'GeoEco.Types.ClassOrClassInstanceTypeMetadata'>
  ClassTypeMetadata = <class 'GeoEco.Types.ClassTypeMetadata'>
  CoordinateSystemTypeMetadata = <class 
'GeoEco.Types.CoordinateSystemTypeMetadata'>
  CopyArgumentMetadata = <function CopyArgumentMetadata at 0x22396870>
  CopyPropertyMetadata = <function CopyPropertyMetadata at 0x22396730>
  CopyResultMetadata = <function CopyResultMetadata at 0x223968B0>
  DateTimeTypeMetadata = <class 'GeoEco.Types.DateTimeTypeMetadata'>
  DictionaryTypeMetadata = <class 'GeoEco.Types.DictionaryTypeMetadata'>
  DirectoryTypeMetadata = <class 'GeoEco.Types.DirectoryTypeMetadata'>
  DynamicDocString = <class 'GeoEco.DynamicDocString.DynamicDocString'>
  EnvelopeTypeMetadata = <class 'GeoEco.Types.EnvelopeTypeMetadata'>
  File = <class 'GeoEco.DataManagement.Files.File'>
  FileTypeMetadata = <class 'GeoEco.Types.FileTypeMetadata'>
  FloatTypeMetadata = <class 'GeoEco.Types.FloatTypeMetadata'>
  GAM = <class 'GeoEco.Statistics.Modeling.GAM'>
  GLM = <class 'GeoEco.Statistics.Modeling.GLM'>
  GeoprocessorManager = <class 'GeoEco.ArcGIS.GeoprocessorManager'>
  IntegerTypeMetadata = <class 'GeoEco.Types.IntegerTypeMetadata'>
  LinearMixedModel = <class 'GeoEco.Statistics.Modeling.LinearMixedModel'>
  LinearUnitTypeMetadata = <class 'GeoEco.Types.LinearUnitTypeMetadata'>
  ListTypeMetadata = <class 'GeoEco.Types.ListTypeMetadata'>
  Logger = <class 'GeoEco.Logging.Logger'>
  MapAlgebraExpressionTypeMetadata = <class 
'GeoEco.Types.MapAlgebraExpressionTypeMetadata'>
  Metadata = <class 'GeoEco.Metadata.Metadata'>
  MethodMetadata = <class 'GeoEco.Metadata.MethodMetadata'>
  ModelEvaluation = <class 'GeoEco.Statistics.Modeling.ModelEvaluation'>
  ModuleMetadata = <class 'GeoEco.Metadata.ModuleMetadata'>
  NoneTypeMetadata = <class 'GeoEco.Types.NoneTypeMetadata'>
  NumPyArrayTypeMetadata = <class 'GeoEco.Types.NumPyArrayTypeMetadata'>
  PointTypeMetadata = <class 'GeoEco.Types.PointTypeMetadata'>
  PropertyMetadata = <class 'GeoEco.Metadata.PropertyMetadata'>
  PythonModuleDependency = <class 
'GeoEco.Dependencies.PythonModuleDependency'>
  R = <class 'GeoEco.R.R'>
  RDependency = <class 'GeoEco.R.RDependency'>
  RPackageDependency = <class 'GeoEco.R.RPackageDependency'>
  RandomForestModel = <class 'GeoEco.Statistics.Modeling.RandomForestModel'>
  ResultMetadata = <class 'GeoEco.Metadata.ResultMetadata'>
  SQLWhereClauseTypeMetadata = <class 
'GeoEco.Types.SQLWhereClauseTypeMetadata'>
  SequenceTypeMetadata = <class 'GeoEco.Types.SequenceTypeMetadata'>
  ShapefileTypeMetadata = <class 'GeoEco.Types.ShapefileTypeMetadata'>
  SpatialReferenceTypeMetadata = <class 
'GeoEco.Types.SpatialReferenceTypeMetadata'>
  StoredObjectTypeMetadata = <class 'GeoEco.Types.StoredObjectTypeMetadata'>
  TableFieldTypeMetadata = <class 'GeoEco.Types.TableFieldTypeMetadata'>
  TemporaryDirectory = <class 
'GeoEco.DataManagement.Directories.TemporaryDirectory'>
  TextFileTypeMetadata = <class 'GeoEco.Types.TextFileTypeMetadata'>
  TreeModel = <class 'GeoEco.Statistics.Modeling.TreeModel'>
  TupleTypeMetadata = <class 'GeoEco.Types.TupleTypeMetadata'>
  TypeMetadata = <class 'GeoEco.Metadata.TypeMetadata'>
  UnicodeStringTypeMetadata = <class 'GeoEco.Types.UnicodeStringTypeMetadata'>
  _ = <function _gettext at 0x1713E7B0>
  _FormulaDescription = u'The formula must be in the format expected by the R 
glm function::\n\n    response ~ term1 + term2 + ... + termN\n\nresponse is 
the table field that will be modeled as the response\nvariable and the terms 
are the table fields that will serve as the\npredictor variables. The field 
names are case sensitive. If any field\nused in the formula is NULL for a 
given row, that row will not be used\nin fitting the model.\n\nFor example, 
if you have a field Presence that indicates the presence\nor absence of a 
species (1 or 0) and you want to model it in terms of\nsampled environmental 
covariates stored in the SST, ChlDensity, and\nDepth fields, you would use 
the formula::\n\n    Presence ~ SST + ChlDensity + Depth\n\nBy default, all 
terms are treated as continuous variables. To indicate\nthat a term should be 
treated as a categorical variable, use the\nfactor function. For example, if 
SubstrateType is an integer code that\nshould be treated as categorical::\n\n 
   Presence ~ SST + ChlDensity + Depth + factor(SubstrateType)\n\nThe model 
terms may also use these operators:\n\n* The : operator denotes the 
interaction of variables a and b. For\n  example: a:b.\n\n* The * operator 
denotes "crossing". For example, a*b is identical to\n  a+b+a:b.\n\n* The ^ 
operator denotes crossing to the Nth degree. For example,\n  (a+b+c)^2 is 
identical to (a+b+c)*(a+b+c) which in turn expands to a\n  formula containing 
the main effects for a, b and c together with\n  their second-order 
interactions.\n\n* The %in% operator indicates that the terms on its left are 
nested\n  within those on the right. For example a + b %in% a expands to 
the\n  formula a + a:b.\n\n* The - operator (minus) removes the specified 
terms, so that\n  (a+b+c)^2 - a:b is identical to a + b + c + b:c + a:c. It 
can also\n  used to remove the intercept term: y ~ x - 1 is a line through 
the\n  origin. A model with no intercept can be also specified as y ~ x + 0\n 
 or y ~ 0 + x.\n\nWhile formulae usually involve just variable names, they 
can also\ninvolve arithmetic expressions. The formula log(y) ~ a + log(x) 
is\nquite legal. When such arithmetic expressions involve operators 
which\nare also used symbolically in model formulae, there can be 
confusion\nbetween arithmetic and symbolic operator use.\n\nTo avoid this 
confusion, the function I() can be used to bracket those\nportions of a model 
formula where the operators are used in their\narithmetic sense. For example, 
in the formula y ~ a + I(b+c), the term\nb+c is to be interpreted as the sum 
of b and c.\n\nPlease see the topics "glm" and "formula" in the R 
documentation for\nmore information.'
  _LoadDataFrameForModelFitting = <function _LoadDataFrameForModelFitting at 
0x228867F0>
  _PredictFromArcGISRasters = <function _PredictFromArcGISRasters at 
0x228AC5B0>
  _PredictFromArcGISTable = <function _PredictFromArcGISTable at 0x228AC570>
  _PreparePredictorRasters = <function _PreparePredictorRasters at 0x228AC5F0>
  __all__ = ['GLM', 'GAM', 'TreeModel', 'LinearMixedModel', 
'RandomForestModel', 'ModelEvaluation']
  __doc__ = u'Provides methods for modeling and prediction.\n'
  __file__ = 
'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\GeoEco\\Statistics\\Modeling.py'
  __name__ = 'GeoEco.Statistics.Modeling'
  __package__ = 'GeoEco.Statistics'
  copy = <module 'copy' from 'C:\Python26\ArcGIS10.0\Lib\copy.pyc'>
  glob = <module 'glob' from 'C:\Python26\ArcGIS10.0\Lib\glob.pyc'>
  os = <module 'os' from 'C:\Python26\ArcGIS10.0\Lib\os.pyc'>
  random = <module 'random' from 'C:\Python26\ArcGIS10.0\Lib\random.pyc'>
  sys = <module 'sys' (built-in)>
  types = <module 'types' from 'C:\Python26\ArcGIS10.0\Lib\types.pyc'>
Enviornment variables:
  AGSDESKTOPJAVA = 'C:\\Program Files\\ArcGIS\\Desktop10.0\\'
  ALLUSERSPROFILE = 'C:\\Documents and Settings\\All Users'
  APPDATA = 'C:\\Documents and Settings\\ehh10\\Application Data'
  ARCHOME = 'C:\\Program Files\\ArcGIS\\Desktop10.0\\'
  ARCHOME_USER = 'C:\\Program Files\\ArcGIS\\Desktop10.0\\'
  ARCPWD = 'Z:\\sharks\\blacktip_bll'
  CLIENTNAME = 'ML-GC206'
  CLUSTERLOG = 'C:\\WINDOWS\\Cluster\\cluster.log'
  COMMONPROGRAMFILES = 'C:\\Program Files\\Common Files'
  COMPUTERNAME = 'ESTEBAN'
  COMSPEC = 'C:\\WINDOWS\\system32\\cmd.exe'
  DSETPATH = 'C:\\Program Files\\Dell\\DSET\\'
  FP_NO_HOST_CHECK = 'NO'
  HOMEDRIVE = 'C:'
  HOMEPATH = '\\Documents and Settings\\ehh10'
  LOGONSERVER = '\\\\RIDLEY'
  NUMBER_OF_PROCESSORS = '4'
  OS = 'Windows_NT'
  PATH = 'C:\\Program Files\\Windows Resource 
Kits\\Tools\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program
 Files\\MATLAB\\MATLAB Component 
Runtime\\v77\\runtime\\win32;C:\\Python25\\Scripts;C:\\Program 
Files\\TortoiseSVN\\bin;E:\\MATLAB\\R2012a\\runtime\\win32;E:\\MATLAB\\R2012a\\bin;C:\\Program
 Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program 
Files\\R\\R-2.15.1\\bin\\i386;C:\\Program Files\\R\\R-2.15.1\\modules\\i386'
  PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
  PROCESSOR_ARCHITECTURE = 'x86'
  PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 6, GenuineIntel'
  PROCESSOR_LEVEL = '6'
  PROCESSOR_REVISION = '1706'
  PROGRAMFILES = 'C:\\Program Files'
  RPY_RHOME = 'C:\\Program Files\\R\\R-2.15.1'
  RPY_RUSER = 'C:\\Documents and Settings\\ehh10\\My Documents'
  RPY_RVER = '2151'
  RPY_RVERSION = '2.15.1'
  R_HOME = 'C:\\Program Files\\R\\R-2.15.1'
  SESSIONNAME = 'RDP-Tcp#1425'
  SYSTEMDRIVE = 'C:'
  SYSTEMROOT = 'C:\\WINDOWS'
  TEMP = 'C:\\DOCUME~1\\ehh10\\LOCALS~1\\Temp\\7'
  TMP = 'C:\\DOCUME~1\\ehh10\\LOCALS~1\\Temp\\7'
  USERDOMAIN = 'MGEL'
  USERNAME = 'ehh10'
  USERPROFILE = 'C:\\Documents and Settings\\ehh10'
  WINDIR = 'C:\\WINDOWS'
Other variables:
  GeoEco.__version__ = u'0.8a43'
  sys.argv = 
['C:\\Python26\\ArcGIS10.0\\Lib\\site-packages\\GeoEco\\ArcGISToolbox\\Scripts\\GLMPredictFromArcGISRasters.py',
 'Z:\\sharks\\blacktip_bll\\glm\\blacktip_glm', 
'Z:\\sharks\\blacktip_bll\\glm\\prediction rasters\\mo1_BT_glm.img', '#', 
'Bathy2;Chla_8day_SW;SST_8day;Dist2Shr;Slope', 
'Z:\\sharks\\blacktip_bll\\data\\bathy.img;Z:\\oceano2\\Sea_Surface_Chlorophyll\\SeaWiFS\\ArcGIS_Raster\\Monthly\\chlo\\2005\\chlo200501;Z:\\oceano2\\Sea_Surface_Temperature\\NODC_AVHRR_v5\\ArcGIS_Raster\\Monthly\\sst\\2005\\sst200501n;Z:\\sharks\\blacktip_bll\\data\\dist2shore.img;Z:\\sharks\\blacktip_bll\\data\\slope.img',
 'factor(Month_1)', '1', '0.436898691943', '#', 'true', '#', 'false']
  sys.version = 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit 
(Intel)]
  sys.version_info = (2, 6, 5, 'final', 0)
  sys.platform = win32
  sys.getwindowsversion() = (5, 2, 3790, 2, 'Service Pack 2')
  os.getcwd() = Z:\sharks\blacktip_bll
  sys.path = 
['C:\\Python26\\ArcGIS10.0\\Lib\\site-packages\\GeoEco\\ArcGISToolbox\\Scripts',
 'C:\\WINDOWS\\system32\\python26.zip', u'C:\\Program 
Files\\ArcGIS\\Desktop10.0\\arcpy', 'C:\\Python26\\ArcGIS10.0\\Lib', 
'C:\\Python26\\ArcGIS10.0\\DLLs', 'C:\\Python26\\ArcGIS10.0\\Lib\\lib-tk', 
'C:\\Program Files\\ArcGIS\\Desktop10.0\\ArcToolbox\\Toolboxes', 'C:\\Program 
Files\\ArcGIS\\Desktop10.0\\bin', 'C:\\Python26\\ArcGIS10.0', 
'C:\\Python26\\ArcGIS10.0\\lib\\site-packages', 'C:\\Program 
Files\\ArcGIS\\Desktop10.0\\arcpy', 'C:\\Program 
Files\\ArcGIS\\Desktop10.0\\ArcToolbox\\Scripts', 
'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\win32', 
'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\win32\\lib', 
'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\Pythonwin']
Loaded modules: ConfigParser, GeoEco, GeoEco.ArcGIS, GeoEco.ArcGISScripts, 
GeoEco.AssimilatedModules, GeoEco.AssimilatedModules.GeoEco, 
GeoEco.AssimilatedModules.osgeo, GeoEco.AssimilatedModules.osgeo.imp, 
GeoEco.AssimilatedModules.osgeo.os, GeoEco.AssimilatedModules.osgeo.osr, 
GeoEco.AssimilatedModules.osgeo.sys, GeoEco.AssimilatedModules.rpy, 
GeoEco.AssimilatedModules.rpy.UserDict, 
GeoEco.AssimilatedModules.rpy.__future__, 
GeoEco.AssimilatedModules.rpy._rpy2151, GeoEco.AssimilatedModules.rpy.atexit, 
GeoEco.AssimilatedModules.rpy.codecs, GeoEco.AssimilatedModules.rpy.glob, 
GeoEco.AssimilatedModules.rpy.numpy, GeoEco.AssimilatedModules.rpy.os, 
GeoEco.AssimilatedModules.rpy.re, GeoEco.AssimilatedModules.rpy.rpy, 
GeoEco.AssimilatedModules.rpy.rpy_io, 
GeoEco.AssimilatedModules.rpy.rpy_options, 
GeoEco.AssimilatedModules.rpy.rpy_tools, 
GeoEco.AssimilatedModules.rpy.rpy_version, GeoEco.AssimilatedModules.rpy.sys, 
GeoEco.AssimilatedModules.rpy.threading, GeoEco.AssimilatedModules.rpy.time, 
GeoEco.AssimilatedModules.rpy.win32api, 
GeoEco.AssimilatedModules.rpy.win32com, 
GeoEco.AssimilatedModules.rpy.win32con, GeoEco.BatchProcessing, 
GeoEco.DataManagement, GeoEco.DataManagement.ArcGISRasters, 
GeoEco.DataManagement.BinaryRasters, GeoEco.DataManagement.Directories, 
GeoEco.DataManagement.Fields, GeoEco.DataManagement.Files, 
GeoEco.DataManagement.GeoEco, GeoEco.DataManagement.Queue, 
GeoEco.DataManagement.array, GeoEco.DataManagement.bz2, 
GeoEco.DataManagement.datetime, GeoEco.DataManagement.errno, 
GeoEco.DataManagement.glob, GeoEco.DataManagement.gzip, 
GeoEco.DataManagement.inspect, GeoEco.DataManagement.locale, 
GeoEco.DataManagement.math, GeoEco.DataManagement.operator, 
GeoEco.DataManagement.os, GeoEco.DataManagement.random, 
GeoEco.DataManagement.re, GeoEco.DataManagement.shutil, 
GeoEco.DataManagement.sys, GeoEco.DataManagement.tarfile, 
GeoEco.DataManagement.tempfile, GeoEco.DataManagement.threading, 
GeoEco.DataManagement.time, GeoEco.DataManagement.types, 
GeoEco.DataManagement.urlparse, GeoEco.DataManagement.zipfile, 
GeoEco.DatabaseAccess, GeoEco.DatabaseAccess.ArcGIS, 
GeoEco.DatabaseAccess.GeoEco, GeoEco.DatabaseAccess.InMemory, 
GeoEco.DatabaseAccess.datetime, GeoEco.DatabaseAccess.logging, 
GeoEco.DatabaseAccess.os, GeoEco.DatabaseAccess.repr, 
GeoEco.DatabaseAccess.time, GeoEco.DatabaseAccess.types, GeoEco.Datasets, 
GeoEco.Datasets.ArcGIS, GeoEco.Datasets.Collections, GeoEco.Datasets.GDAL, 
GeoEco.Datasets.GeoEco, GeoEco.Datasets.atexit, GeoEco.Datasets.bisect, 
GeoEco.Datasets.codecs, GeoEco.Datasets.copy, GeoEco.Datasets.datetime, 
GeoEco.Datasets.locale, GeoEco.Datasets.logging, GeoEco.Datasets.math, 
GeoEco.Datasets.os, GeoEco.Datasets.re, GeoEco.Datasets.shutil, 
GeoEco.Datasets.types, GeoEco.Datasets.weakref, GeoEco.Dependencies, 
GeoEco.DynamicDocString, GeoEco.Exceptions, GeoEco.GeoArray, GeoEco.GeoEco, 
GeoEco.Internationalization, GeoEco.Logging, GeoEco.Metadata, 
GeoEco.MetadataUtils, GeoEco.R, GeoEco.Statistics, GeoEco.Statistics.GeoEco, 
GeoEco.Statistics.Modeling, GeoEco.Statistics.copy, GeoEco.Statistics.glob, 
GeoEco.Statistics.os, GeoEco.Statistics.random, GeoEco.Statistics.sys, 
GeoEco.Statistics.types, GeoEco.StringIO, GeoEco.Types, 
GeoEco.arcgisscripting, GeoEco.atexit, GeoEco.bisect, GeoEco.codecs, 
GeoEco.copy, GeoEco.datetime, GeoEco.gc, GeoEco.gettext, GeoEco.glob, 
GeoEco.inspect, GeoEco.locale, GeoEco.logging, GeoEco.math, GeoEco.new, 
GeoEco.numpy, GeoEco.operator, GeoEco.os, GeoEco.platform, GeoEco.pywintypes, 
GeoEco.random, GeoEco.re, GeoEco.repr, GeoEco.sys, GeoEco.time, 
GeoEco.traceback, GeoEco.types, GeoEco.weakref, GeoEco.win32api, 
GeoEco.win32con, GeoEco.xml, Queue, SocketServer, StringIO, UserDict, 
_GeoEcoArcGISHelper, __builtin__, __future__, __main__, _abcoll, _bisect, 
_codecs, _collections, _ctypes, _functools, _gdal, _heapq, _locale, _osr, 
_random, _socket, _sre, _ssl, _struct, _warnings, _weakref, _win32sysloader, 
abc, arcgis, arcgisscripting, arcpy, arcpy._base, arcpy._ga, arcpy._graph, 
arcpy._management, arcpy._mapping, arcpy.analysis, arcpy.arc, 
arcpy.arcgisscripting, arcpy.arcobjects, arcpy.arcobjects._base, 
arcpy.arcobjects.arcobjectconversion, arcpy.arcobjects.arcobjects, 
arcpy.arcobjects.collections, arcpy.arcobjects.functools, 
arcpy.arcobjects.geometries, arcpy.arcobjects.itertools, 
arcpy.arcobjects.mixins, arcpy.arcobjects.operator, arcpy.arcobjects.os, 
arcpy.arcobjects.types, arcpy.arcobjects.weakref, arcpy.arcobjects.xml, 
arcpy.arcpy, arcpy.cartography, arcpy.conversion, arcpy.ddd, arcpy.edit, 
arcpy.fabric, arcpy.functools, arcpy.ga, arcpy.geocoding, 
arcpy.geoprocessing, arcpy.geoprocessing._base, 
arcpy.geoprocessing.arcgisscripting, arcpy.geoprocessing.functools, 
arcpy.geoprocessing.thread, arcpy.geoprocessing.weakref, arcpy.inspect, 
arcpy.interop, arcpy.logging, arcpy.lr, arcpy.management, arcpy.mapping, 
arcpy.md, arcpy.na, arcpy.os, arcpy.pprint, arcpy.re, arcpy.sa, 
arcpy.sa.CompoundParameter, arcpy.sa.Functions, arcpy.sa.ParameterClasses, 
arcpy.sa.Utils, arcpy.sa.arcgisscripting, arcpy.sa.arcpy, arcpy.sa.datetime, 
arcpy.sa.types, arcpy.schematics, arcpy.server, arcpy.stats, arcpy.sys, 
arcpy.ta, arcpy.toolbox, arcpy.types, arcpy.utils, array, atexit, binascii, 
bisect, bz2, cPickle, cStringIO, codecs, collections, copy, copy_reg, ctypes, 
ctypes._ctypes, ctypes._endian, ctypes.ctypes, ctypes.os, ctypes.struct, 
ctypes.sys, datetime, dis, encodings, encodings.__builtin__, 
encodings.aliases, encodings.codecs, encodings.cp1252, encodings.encodings, 
encodings.utf_8, errno, exceptions, fnmatch, functools, gc, genericpath, 
gettext, glob, gzip, heapq, imp, inspect, itertools, keyword, linecache, 
locale, logging, logging.ConfigParser, logging.SocketServer, logging.atexit, 
logging.cPickle, logging.cStringIO, logging.codecs, logging.config, 
logging.handlers, logging.logging, logging.os, logging.re, logging.socket, 
logging.stat, logging.string, logging.struct, logging.sys, logging.thread, 
logging.threading, logging.time, logging.traceback, logging.types, math, new, 
nt, ntpath, numpy, numpy.__builtin__, numpy.__config__, numpy._import_tools, 
numpy.add_newdocs, numpy.compat, numpy.compat._inspect, numpy.compat.types, 
numpy.core, numpy.core.__builtin__, numpy.core._dotblas, 
numpy.core._internal, numpy.core._sort, numpy.core.arrayprint, 
numpy.core.cPickle, numpy.core.ctypes, numpy.core.defchararray, 
numpy.core.fromnumeric, numpy.core.function_base, numpy.core.getlimits, 
numpy.core.info, numpy.core.machar, numpy.core.memmap, numpy.core.multiarray, 
numpy.core.numeric, numpy.core.numerictypes, numpy.core.numpy, numpy.core.os, 
numpy.core.re, numpy.core.records, numpy.core.scalarmath, 
numpy.core.shape_base, numpy.core.sys, numpy.core.types, numpy.core.umath, 
numpy.core.warnings, numpy.ctypes, numpy.ctypeslib, numpy.fft, 
numpy.fft.fftpack, numpy.fft.fftpack_lite, numpy.fft.helper, numpy.fft.info, 
numpy.fft.numpy, numpy.fft.types, numpy.lib, numpy.lib.__builtin__, 
numpy.lib.__future__, numpy.lib._compiled_base, numpy.lib._datasource, 
numpy.lib._iotools, numpy.lib.arraysetops, numpy.lib.arrayterator, 
numpy.lib.cPickle, numpy.lib.cStringIO, numpy.lib.financial, 
numpy.lib.format, numpy.lib.function_base, numpy.lib.index_tricks, 
numpy.lib.info, numpy.lib.io, numpy.lib.itertools, numpy.lib.math, 
numpy.lib.numpy, numpy.lib.operator, numpy.lib.os, numpy.lib.polynomial, 
numpy.lib.re, numpy.lib.scimath, numpy.lib.shape_base, numpy.lib.shutil, 
numpy.lib.stride_tricks, numpy.lib.sys, numpy.lib.twodim_base, 
numpy.lib.type_check, numpy.lib.types, numpy.lib.ufunclike, numpy.lib.utils, 
numpy.lib.warnings, numpy.linalg, numpy.linalg.info, 
numpy.linalg.lapack_lite, numpy.linalg.linalg, numpy.linalg.numpy, numpy.ma, 
numpy.ma.cPickle, numpy.ma.core, numpy.ma.extras, numpy.ma.itertools, 
numpy.ma.numpy, numpy.ma.operator, numpy.ma.warnings, numpy.matrixlib, 
numpy.matrixlib.defmatrix, numpy.matrixlib.numpy, numpy.matrixlib.sys, 
numpy.numpy, numpy.os, numpy.polynomial, numpy.polynomial.__future__, 
numpy.polynomial.chebyshev, numpy.polynomial.exceptions, 
numpy.polynomial.numpy, numpy.polynomial.polynomial, 
numpy.polynomial.polytemplate, numpy.polynomial.polyutils, 
numpy.polynomial.string, numpy.polynomial.warnings, numpy.random, 
numpy.random.info, numpy.random.mtrand, numpy.random.numpy, numpy.sys, 
numpy.testing, numpy.testing.decorators, numpy.testing.nosetester, 
numpy.testing.numpy, numpy.testing.numpytest, numpy.testing.operator, 
numpy.testing.os, numpy.testing.re, numpy.testing.sys, 
numpy.testing.traceback, numpy.testing.types, numpy.testing.unittest, 
numpy.testing.utils, numpy.testing.warnings, numpy.version, opcode, operator, 
os, os.path, platform, posixpath, pprint, pythoncom, pythoncom.__univgw, 
pywintypes, random, re, repr, select, shutil, site, socket, sre_compile, 
sre_constants, sre_parse, stat, string, strop, struct, swig_runtime_data4, 
sys, tarfile, tempfile, thread, threading, time, token, tokenize, traceback, 
types, unittest, urlparse, warnings, weakref, win32api, win32com, 
win32com.gen_py, win32com.gen_py.win32com, win32com.os, win32com.pythoncom, 
win32com.shell, win32com.shell.shell, win32com.shell.shellcon, 
win32com.shell.win32com, win32com.sys, win32com.win32api, win32com.win32com, 
win32con, xml, xml.dom, xml.dom.domreg, xml.dom.minicompat, xml.dom.xml, 
xml.etree, xml.etree.ElementPath, xml.etree.ElementTree, xml.etree.re, 
xml.etree.string, xml.etree.sys, zipfile, zipimport, zlib
---------- END OF DEBUGGING INFORMATION ----------
R interpreter: Evaluating statements: if (exists("rastersForPredictors")) 
rm("rastersForPredictors")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("model")) rm("model")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("trainingData")) 
rm("trainingData")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("rPackage")) rm("rPackage")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("xVar")) rm("xVar")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("yVar")) rm("yVar")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("zVar")) rm("zVar")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("mVar")) rm("mVar")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("coordinateSystem")) 
rm("coordinateSystem")
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("f20985982305")) 
rm("f20985982305", pos=globalenv())
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("data20985982305")) 
rm("data20985982305", pos=globalenv())
R interpreter: The last statement returned None
R interpreter: Evaluating statements: if (exists("fam20985982305")) 
rm("fam20985982305", pos=globalenv())
R interpreter: The last statement returned None
GeoEco is releasing its reference to ArcGIS Geoprocessor object 0x235A05D8 
and will no longer use it for ArcGIS operations.
<type 'exceptions.ValueError'>: The predictor variable Month_1 appears in the 
model's formula but does not appear in the list of model variable names for 
predictor rasters provided to this tool. Add that predictor variable to the 
list and try again.
Failed to execute (Predict GLM From Rasters).
Failed at Tue Sep 25 12:01:39 2012 (Elapsed Time: 7.00 seconds)
Archives powered by MHonArc.
Top of Page