gsodDf2Sp: Convert GSOD station list to spatial object

Description Usage Arguments Value Author(s) Examples

View source: R/gsodDf2Sp.R

Description

This function converts the list of available GSOD stations from data.frame to SpatialPointsDataFrame.

Usage

1

Arguments

data

data.frame. Usually data("gsodstations").

...

Additional arguments. Currently not in use.

Value

An object of class SpatialPointsDataFrame.

Author(s)

Florian Detsch

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Load data
data(gsodstations)

# Reformat station list
gsod_df <- gsodReformat(gsodstations, df2sp = FALSE)

# Convert station list to spatial object
gsod_shp <- gsodDf2Sp(data = gsod_df)

plot(gsod_shp)

environmentalinformatics-marburg/eimarGsodTools documentation built on May 13, 2017, 6:11 p.m.