[GRASS-dev] r.in.ascii strangeness

Michael Barton michael.barton at asu.edu
Fri Feb 15 16:44:43 EST 2008


I've attached a simple text file that I read into GRASS with r.in.ascii.

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

YET...

If I query ANY cell with r.what, I get...

23.979253112|12.2468879668||*

ALL are null. And it won't display in NVIZ--probably because all cells  
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?

Michael



______________________________
Michael Barton, Professor
Professor of Anthropology
Director of Graduate Studies
School of Human Diversity & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

-------------- next part --------------
Skipped content of type multipart/mixed


More information about the grass-dev mailing list