genCoords: genCoords

Description Usage Arguments Value Examples

Description

This function will generate a list of coordinates for the 'fine' resolution climate zone map data, stored in 'kgz.rda'.

Usage

1
genCoords(latlong = "lat", full = FALSE, latdim = 6480, londim = 12960)

Arguments

latlong

Whether a vector of latitude values, or longitude values, is being created.

full

Specify whether to generate a full list of all coords in the full image, or just one row/column (default FALSE, means just one row/column).

latdim

The number of pixels in the image in the latitude dimension (y)

londim

The number of pixels in the image in the longitude dimension (x)

Value

A vector of latitude or longitude coordinate values (default for a map 12960x 6480y).

Examples

1
ccoords <- genCoords(latlong='lon',full='true')

kgc documentation built on May 2, 2019, 1:47 p.m.