ll2cr: Get MSG pixel coordinates (column/rows) from geocordiantes

Description Usage Arguments Value Author(s) References Examples

Description

Get MSG pixel coordinates (column/rows) from geocordiantes

Usage

1
ll2cr(latlon, ccoff = 1856, lloff = 1856)

Arguments

latlon

data.frame with first column =latitude and second column is longitude specified as numeric.

ccoff

Integer coefficient of the scalling function (see page 28, Ref [1])

lloff

Integer coefficient of the scalling function (see page 28, Ref [1])

Value

Data frame including column and row of the MSG image

Author(s)

Hanna Meyer based on the FORTRAN Routine of EUMETSAT 2005, 2009.

References

[1] LRIT/HRIT Global Specification (CGMS 03, Issue 2.6, 12.08.1999) for the parameters used in the program.

[2] MSG Ground Segment LRIT/HRIT Mission Specific Implementation, EUMETSAT Document, (EUM/MSG/SPE/057, Issue 6, 21. June 2006).

Examples

1
2
3
4
5
6
#for a single coordinate
ll2cr(data.frame(50.7,8.7))

#for more than one coordinate
latlon=data.frame("lat"=c(50.7, 53.8),"lon"=c(8.7, 11.2))
ll2cr(latlon)

environmentalinformatics-marburg/Rainfall documentation built on May 16, 2019, 7:49 a.m.