milatlon2ucs: Convert between geographical and UCS coordinates

Description Usage Arguments Value Author(s) See Also Examples

Description

Geographical coordinates (latitude and longitude) are converted to coordinates within the Cartesian User Coordinate System, northings and eastings using a spherical Earth and an Earth radius of 6371. km. This is a very crude approximation, for better accuracy and support of other Earth models use e.g. PROJ.4 software (http://www.remotesensing.org/proj).

Usage

1
milatlon2ucs(latitude, longitude)  

Arguments

latitude

decimal degrees, positive in northern hemisphere

longitude

decimal degrees, positive Eastwards, negative westwards

Value

Returns a data.frame with latitude (lat) and longitude (lon) and metadata.

Author(s)

Øystein Godøy (o.godoy@met.no)

See Also

miucs2latlon

Examples

1
2
3
    ucs <- miucs2latlon(latitude,longitude)
    ucs$northings
    ucs$eastings

steingod/R-mipolsat documentation built on May 30, 2019, 2:31 p.m.