Description Usage Arguments Details Value Author(s) See Also Examples
Function shows information about raster CRS, data type, storage mode, nodata value, structure of band names.
1  | 
obj | 
 
  | 
detail | 
 Not used. Reserved for potential detalization levels  | 
... | 
 Arguments, which are passed to   | 
ursa_info generates a list and then shows structure of this list via function str.
Object of temporal class ursaMetadata is a list with items:
columns | 
 Number of columns (samples)  | 
rows | 
 Number of rows (lines)  | 
resx | 
 Grid cell size by horizontal axis  | 
resy | 
 Grid cell size by vertical axis  | 
minx | 
 Left margin of boundary box  | 
maxx | 
 Right margin of boundary box  | 
miny | 
 Bottom margin of boundary box  | 
maxy | 
 Top margin of boundary box  | 
proj4 | 
 PROJ.4 string  | 
nodata | 
 Optional. Value, which is interpreted as   | 
datatype | 
 Optional. If data are on disk, then integer code of data type.  | 
interleave | 
 Optional. If data are on disk, then abbreviation of bands interleave.  | 
mode | 
 Character of length 2:   | 
bandname | 
 Band names.  | 
colortable | 
 Optional. Structure of color table.  | 
Function returs NULL.
Nikita Platonov platonov@sevin.ru
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  | session_grid(NULL)
a <- as.integer(round(ursa_dummy(nband=3)))
print(a) ## print data
ursa_info(a,digits=1) ## print metadata
fname <- tempfile()
write_envi(a,fname,compress=FALSE)
b1 <- open_envi(fname)
ursa_info(b1)
close(b1)
b2 <- read_envi(fname)
ursa_info(b2)
# print ENVI header
sapply(c(" -------------- begin --------------",readLines(paste0(fname,".hdr"))
        ," --------------- end ---------------"),message)
envi_remove(fname)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.