Calculating the area of gridcells

This python code can calculate the area of gridcells in a regular lat lon grid.

This method is fast and pretty accurate, and takes into account the fact that gridcells aren’t rectangular when projected.

Code

<!DOCTYPE html>

gricell_area