Skip to Content.

mget-help - RE: [mget-help] Spatial Eigenvector GLM predictions

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Rodrigo Tardin'" <>, <>
Subject: RE: [mget-help] Spatial Eigenvector GLM predictions
Date: Mon, 25 Nov 2013 10:48:28 -0500

Hi Rodrigo,

 

I’m sorry you are encountering this error. I have two thoughts:

 

1.    The error message you sent probably relates to you having a ó character in a pathname. Do your files reside in a path that has an ó in it? Parts of Python, ArcGIS, and R are designed to work with mainly with “ASCII” characters, which include the letters abcdefghijklmnopqrstuvwxyz without any marks over them. This reflects the historical bias of early programmers to the English language, which does not use such marks. I have tried to find all of the places in MGET where this could be a problem and ensure the code can handle it, but it is very hard to find them all. Looks like you found a new one. If this sounds correct, could you please enable verbose logging as described here, reproduce the problem, and send me the entire output of the tool? That will tell me where the failure occurred so I can fix it.

 

2.    Did you fit your model using MGET’s Fit GLM tool, or did you fit it in R yourself and now want to use that model with MGET? If you fitted it yourself in R, then it may not be possible to use the MGET Predict GLM tools with it. If you can provide me with the details of how you fitted it—a copy of the R script—I can advise you on whether it is possible.

 

Best regards,

 

Jason

 

From: Rodrigo Tardin [mailto:]
Sent: Monday, November 25, 2013 10:04 AM
To:
Subject: [mget-help] Spatial Eigenvector GLM predictions

 

Dear all,

 

I am a Brazilian PhD working on distribution modelling of cetaceans in Rio de Janeiro and I have a Spatial Eigenvector GLM in R and I would like to do a prediction with this file. Using MGET tools I achieved to do a regular GLM, but since my data suffer from autocorrelation I would like to know if MEGT tool can do a "Predict GLM from Table". I don't know if I am doing something wrong, but when I try to run I have the following error: 

 

"UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 68: ordinal not in range(128)

<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xf3' in position 68: ordinal not in range(128)

Failed to execute (GLMPredictFromArcGISTable)."

 

Can anyone help me?

 

Thanks in advance,

Rodrigo

--

Rodrigo Tardin

Doutorando em Ecologia e Evolução - IBRAG - UERJ
M.Sc em Biologia Animal - PPGBA - UFRRJ
Especialista em Docência do Ensino Superior - IAVM
Laboratório de Bioacústica e Ecologia de Cetáceos - UFRRJ/ IF/ DCA

Archives powered by MHonArc.
Top of Page