grid.info help

7 views
Skip to first unread message

Reside, April

unread,
Apr 8, 2013, 12:31:28 AM4/8/13
to tropi...@googlegroups.com

Hi all,

 

Can anyone clarify the units that are used when specifying “cellsize” in the “grid.info” function?  E.g.: grid.info(lats,cellsize,r=6378137)

 

The information given in the help menu is:

cellsize: is a single value (assuming square cells) or a two value

          vector (rectangular cells) representing the height (latitude)

          and width (longitude) of the cells

 

does that mean that when you add in the value for cellsize it is assumed to be in degrees?  I am working with a grid with 0.01 degree cells, and trying to calculate the area.

 

Many thanks,

 

April

 

Dr April Reside

Postdoctoral Research Fellow

 

Centre for Tropical Biodiversity and Climate Change
School of Marine and Tropical Biology
ATSIP, James Cook University, Townsville, QLD, Australia 4811| Ph: +61 7 4781 5351

https://research.jcu.edu.au/research/ctbcc/our-people/staff-profile-pages/reside-april-postdoctoral-research-fellow

Google scholar: http://scholar.google.com/citations?user=z2jRx3QAAAAJ&hl=en

skype: april.reside

 

Jeremy VanDerWal

unread,
Apr 8, 2013, 5:09:38 AM4/8/13
to tropi...@googlegroups.com
correct ... cellsize is in "degrees" latitude and longitude... simply put cellsize=0.01 for your example.

Jeremy


--
An R group for questions, tips and tricks relevant to spatial ecology and climate change.
All R questions welcome.
---
You received this message because you are subscribed to the Google Groups "Tropical R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tropical-r+...@googlegroups.com.
To post to this group, send an email to tropi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages