Learn R Programming

geotopbricks (version 1.5.3)

getProjection: It reads the CRS metadata utilzed in a GEOtop Simulation

Description

It reads the CRS metadata utilzed in a GEOtop Simulation

Usage

getProjection(x, cond = TRUE, ...)

Arguments

x

name and full path of the file containimg CRS information

cond

logical value. If FALSE the function returns NA. Default is TRUE.

...

futher arguments

Value

A string corresponding the projection and CRS if the argument cond is TRUE.

Examples

Run this code
# NOT RUN {
library(geotopbricks)
wpath <- "https://www.rendena100.eu/public/geotopbricks/simulations/idroclim_test1"
# }
# NOT RUN {
x <- paste(wpath,"geotop.proj",sep="/")


crs <- getProjection(x)
# }

Run the code above in your browser using DataLab