Row is 1-based, and starts at the southern-most row.
Examples
row_from_lat(-42, 1024)
#> [1] 274
row_from_lat(c(-90, 0, 90), 1024)
#> [1] 1 513 1024
Row is 1-based, and starts at the southern-most row.
row_from_lat(-42, 1024)
#> [1] 274
row_from_lat(c(-90, 0, 90), 1024)
#> [1] 1 513 1024