genCoords {kgc}R Documentation

genCoords

Description

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

Usage

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

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

[Package kgc version 1.0.0.2 Index]