[GRASS-user] urgently help, please

help me to understand this error:

I was input 12 tmin and 12 tmax maps to run r.bioclim module:

g.list rast

tmax10_17

tmax11_17

tmax12_17

tmax1_17

tmax2_17

tmax3_17

tmax4_17

tmax5_17

tmax6_17

tmax7_17

tmax8_17

tmax9_17

tmin10_17

tmin11_17

tmin12_17

tmin1_17

tmin2_17

tmin3_17

tmin4_17

tmin5_17

tmin6_17

tmin7_17

tmin8_17

tmin9_17

and run the module

r.bioclim tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17 tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17 output=result

and there are following error

r.bioclim tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17 tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17 output=result

Calculating monthly averages from min and max

BIO1 = Annual Mean Temperature …

WARNING: Illegal filename <result.tavg12.1808

. Character <

not allowed.

ERROR: Raster map <result.tavg12.1808

not found

Traceback (most recent call last):

File "C:\Users\Albert\AppData\Roaming\GRASS7\addons/script

s/r.bioclim.py", line 618, in

main()

File "C:\Users\Albert\AppData\Roaming\GRASS7\addons/script

s/r.bioclim.py", line 169, in main

grass.run_command(‘r.series’, input = tavg, output =

output, method = ‘average’)

File "C:\Program Files\GRASS GIS

7.0.0\etc\python\grass\script\core.py", line 375, in

run_command

return handle_errors(returncode, returncode, args,

kwargs)

File "C:\Program Files\GRASS GIS

7.0.0\etc\python\grass\script\core.py", line 310, in

handle_errors

returncode=returncode)

grass.exceptions.CalledModuleError: Module run None

[‘r.series’, 'input=result.tavg01.1808,result.tavg02.1808,re

sult.tavg03.1808,result.tavg04.1808,result.tavg05.1808,resul

t.tavg06.1808,result.tavg07.1808,result.tavg08.1808,result.t

avg09.1808,result.tavg10.1808,result.tavg11.1808,result.tavg

12.1808\r’, ‘method=average’, ‘output=result.bio01.1808’]

ended with error

Process ended with non-zero return code 1. See errors in the

(error) output.

(Mon Jul 27 17:18:15 2015) Command finished (41 sec)

please tell me where Im mistaken

Albert Saribekyan.

Hi,

On Mon, Jul 27, 2015 at 3:27 PM, Albert Saribekyan
<albertsaribekyan@rambler.ru> wrote:

help me to understand this error:

I was input 12 tmin and 12 tmax maps to run r.bioclim module:

g.list rast

tmax10_17

...

tmin9_17

and run the module

r.bioclim
tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
output=result

and there are following error

r.bioclim
tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
output=result

Calculating monthly averages from min and max

BIO1 = Annual Mean Temperature ...

WARNING: Illegal filename <result.tavg12.1808

. Character <

not allowed.

ERROR: Raster map <result.tavg12.1808

not found

For reasons which I don't understand Windows seems to have troubles
with the dot in the (temporary) file names used within the Python
script.

Any Windows user here who could try r.bioclim?

g.extension r.bioclim
r.bioclim ... (see above)

Maybe changing the dots to underscore in the script is sufficient to
get r.bioclim running on Windows, too.

thanks
Markus

PS: please use a reasonable subject line