[GRASS-user] Two different raster maps with only NULL?

Rainer M Krug r.m.krug at gmail.com
Thu Oct 13 07:25:19 EDT 2011


Hi

in simulations (R) I create teh following two raster layers (
HSericea_individuals_2006 and HSericea_individuals_2007) and, as you can see
below,
HSericea_individuals_2006 has no range, and HSericea_individuals_2007 has
them. The problem is, that I can not read the HSericea_individuals_2007 into
R. So I have two questions:

1) How can this happen, that the one has range information, the other
doesn't (probably rather an R question...)?
2) How can I delete the range info?

Cheers,

Rainer


##################################################
GRASS 6.4.1 (grass):~/.../AlienSpread/trunc > r.stats
HSericea_individuals_2006
* 100%
**
[Raster MASK present]
GRASS 6.4.1 (grass):~/.../AlienSpread/trunc > r.stats
HSericea_individuals_2007
* 100%
-nan--nan
**
[Raster MASK present]
GRASS 6.4.1 (grass):~/.../AlienSpread/trunc > r.infoHSericea_individuals_2006
 +----------------------------------------------------------------------------+
 | Layer:    HSericea_individuals_2006      Date: Thu Oct 13 13:11:03
2011    |
 | Mapset:   ASM.2006                       Login of Creator:
rkrug           |
 | Location:
grass                                                            |
 | DataBase:
/home/rkrug/Documents/ProjectsPartition/AlienSpread/trunc        |
 | Title:     ( HSericea_individuals_2006
)                                   |
 | Timestamp:
none                                                            |
 |----------------------------------------------------------------------------|
 |
|
 |   Type of Map:  raster               Number of Categories:
255             |
 |   Data Type:
FCELL                                                      |
 |   Rows:
520                                                        |
 |   Columns:
192                                                        |
 |   Total Cells:
99840                                                      |
 |        Projection: UTM (zone
-34)                                          |
 |            N:    6247000    S:    6195000   Res:
100                     |
 |            E:     270200    W:     251000   Res:
100                     |
 |   Range of data:    min = -nan  max =
-nan                                 |
 |
|
 |   Data
Description:                                                        |
 |    generated by
r.in.arc                                                   |
 |
|
 |
Comments:                                                                |
 |    r.in.arc input="./data/input//HSericea_individuals_2006.asc"
output=\   |
 |    "HSericea_individuals_2006" type="FCELL"
mult=1.0                       |
 |
|
 +----------------------------------------------------------------------------+

[Raster MASK present]
GRASS 6.4.1 (grass):~/.../AlienSpread/trunc > r.infoHSericea_individuals_2007
 +----------------------------------------------------------------------------+
 | Layer:    HSericea_individuals_2007      Date: Thu Oct 13 13:15:56
2011    |
 | Mapset:   ASM                            Login of Creator:
rkrug           |
 | Location:
grass                                                            |
 | DataBase:
/home/rkrug/Documents/ProjectsPartition/AlienSpread/trunc        |
 | Title:     ( HSericea_individuals_2007
)                                   |
 | Timestamp:
none                                                            |
 |----------------------------------------------------------------------------|
 |
|
 |   Type of Map:  raster               Number of Categories:
255             |
 |   Data Type:
FCELL                                                      |
 |   Rows:
520                                                        |
 |   Columns:
192                                                        |
 |   Total Cells:
99840                                                      |
 |        Projection: UTM (zone
-34)                                          |
 |            N:    6247000    S:    6195000   Res:
100                     |
 |            E:     270200    W:     251000   Res:
100                     |
 |   Range of data:    min = inf  max =
inf                                   |
 |
|
 |   Data
Description:                                                        |
 |    generated by
r.in.bin                                                   |
 |
|
 |
Comments:                                                                |
 |    r.in.bin -f
input="/home/rkrug/Documents/ProjectsPartition/AlienSpre\   |
 |    ad/trunc//grass/ASM/.tmp/ecolmod/X889"
output="HSericea_individuals_\   |
 |    2007" bytes=4 north=6247000 south=6195000 east=270200 west=251000
ro\   |
 |    ws=520 cols=192
anull=NA                                                |
 |
|
 +----------------------------------------------------------------------------+

[Raster MASK present]
GRASS 6.4.1 (grass):~/.../AlienSpread/trunc >
##################################################

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111013/bc1254d8/attachment.html


More information about the grass-user mailing list