Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/rectmask.py   ccc-gistemp(Download)
 
    for cell in eqarea.grid8k():
        lat,lon = eqarea.centre(cell)
        if s <= lat < n and w <= lon < e:
            m = 1.0

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/multi.py   ccc-gistemp(Download)
    # Get the Northwest most cell.
    nwcell = max(cells, key=lambda x:x[1]-x[2])
    nwcentre = eqarea.centre(nwcell)
    s,n,w,e = box
    # List of coordinates for box 7.

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/zontotext.py   ccc-gistemp(Download)
    d = struct.unpack("%s5i" % bos, s)
    box = d[1:5]
    centre = eqarea.centre(box)
    return "BOX@%+03.0f%+04.0f" % centre
 

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/subboxv2.py   ccc-gistemp(Download)
    subbox.next()
    for record in subbox:
        lat,lon = eqarea.centre(record.box)
        record.uid = '%+05.1f%+06.1fC' % (lat,lon)
        v2.write(record)