[GRASS-dev] r.in.ascii strangeness
michael.barton at asu.edu
Fri Feb 15 18:08:37 EST 2008
> Michael Barton wrote:
>> I've attached a simple text file that I read into GRASS with
>> r.in.ascii -f input=/Users/cmbarton/Desktop/
>> landuse_stats_all_models_orig2.txt output=landuse2 --overwrite
>> (I've tried it with -d, -ifd, and no flags)
>> It imports fine with no errors. It displays fine.
>> r.info shows that it contains data...
>> N: 40 S: 1 Res:
>> 0.975 |
>> | E: 50 W: 1 Res:
>> 0.98 |
>> | Range of data: min = 0.000000 max = 24055.437500
> | N: 40 S: 1 Res:
> 0.975 |
> | E: 50 W: 1 Res:
> 0.98 |
> | Range of data: min = 0.000000 max =
> 24055.437500 |
>> If I query ANY cell with r.what, I get...
>> ALL are null. And it won't display in NVIZ--probably because all
>> are null.
>> r.mapcalc 'newmap=1.0*landscape2'
>> produces an empty map.
>> I've run r.nulls with no effects.
>> Anyone have an idea what is wrong?
> Did you set the region to match the map?
> If I set the region to the map (g.region rast=test), I can't reproduce
> the problem.
Looks like v.in.ascii imports this file just fine on a Windows system,
but doesn't on my Mac. Haven't had a chance to check it under Linux,
myself, but your test suggests that it is Mac specific.
More information about the grass-dev