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)
    w,e = lonbound
    for cell in eqarea.grid8k():
        lat,lon = eqarea.centre(cell)
        if s <= lat < n and w <= lon < e:

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/subboxpng.py   ccc-gistemp(Download)
    height = int(height)
    cells = eqarea.grid8k()
    if not date:
        # Mask file in text format.

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/stationmask.py   ccc-gistemp(Download)
    print >> dribble, len(centres), "centres"
    centres = [(float(c[:5]),float(c[5:11])) for c in centres]
    boxes = eqarea.grid8k()
    selectboxes = [box for box in boxes if
      [centre for centre in centres if boxcontains(box, centre)]]

src/c/c/ccc-gistemp-0.6.1/CCCgistemp/tool/landmask.py   ccc-gistemp(Download)
    land = grid(inp)
    resolution = land.resolution
    for subbox in eqarea.grid8k():
        values = [land.a[y][x] for x,y in centrein(subbox, resolution)]
        # For GISTEMP we mask as land if there is _any_ land in the