mapping_helper_functions
Contents
mapping_helper_functions
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
Computes area of spherical polygon, assuming spherical Earth. |
- mapping_helper_functions.get_polys_and_boxes(gc_lon1, gc_lat1, imask)¶
- mapping_helper_functions.sub_polybox(polybox, condition)¶
- mapping_helper_functions.get_intersections(polybox1, polybox2, kmax, cornermax)¶
- mapping_helper_functions.polygon_area(lats, lons, radius=6378137)¶
Computes area of spherical polygon, assuming spherical Earth. Returns result in ratio of the sphere’s area if the radius is specified. Otherwise, in the units of provided radius. Set radius to 1.0 to get square radians. lats and lons are in degrees.