Commit d8364a0d authored by Anthony Schrapffer's avatar Anthony Schrapffer
Browse files

Improve performance with less precision for Hydro polygon

parent cf495ee0
......@@ -39,7 +39,7 @@ def corners(lon, lat) :
for i in range(iim) :
for j in range(jjm) :
#
boxll = RPP.boxit([lon[j,i], lat[j,i]], hdlon, hdlat, 4)
boxll = RPP.boxit([lon[j,i], lat[j,i]], hdlon, hdlat, 2)
#
cornerspoly.append(polygon.SphericalPolygon.from_lonlat([p[0] for p in boxll], [p[1] for p in boxll], center=[lon[j,i], lat[j,i]]))
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment