Hi All,

if I try to run this simple script in G7:

[..]

    for i in range(len(w_s)):
        tmp = "r_w_speed" + str(i)
        print tmp
        tmp1 = "r_w_dir" + str(i)
        print tmp1
        tmp2 = "r_ros" + str(i)
        print tmp2

        grass.run_command("r.ros", model = r_fuel_model,
                               moisture_1h = r_moi_1h,
                                moisture_live = r_moi_live,
                                velocity = tmp,
                               direction = tmp1,
                               slope = r_slope,
                               aspect = r_aspect,
                               elevation = r_elev,
                               output = tmp2,
                               flags = "s",
                               verbose = True,
                               overwrite = True)

I get this mysterious error message:

Calculating ROS (Rate Of Spread)
r_w_speed0
r_w_dir0
r_ros0
WARNING: Illegal filename <����>. Character <�> not allowed.
ERROR: <����> is an illegal file name
r_w_speed1
r_w_dir1
r_ros1
WARNING: Illegal filename <`.��>. Character <> not allowed.
ERROR: <`.��> is an illegal file name

In G6.4 it runs without problems.

-- 
Dr. Margherita Di Leo
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to