get_gridID: Given a latitude and longitude, determines the corresponding...

Description Usage Arguments Value

View source: R/tempdev_functions.R

Description

Given a latitude and longitude, determines the corresponding grid ID. Assumes grid.df is a global variable. This is to find the grid ID of an agent. assign_grid() is for microclimates.

Usage

1
get_gridID(testlat, testlong, gridlong, gridlat)

Arguments

testlat

Latitude being considered.

testlong

Longitude being considered.

Value

Corresponding grid ID number. edited 22-11-20, grid.df gets read explicitly into get_gridID


beeysian/cairnsmozzie documentation built on Feb. 15, 2021, 12:12 a.m.