예제 #1
0
파일: marker.py 프로젝트: UNESCO-IHE/uvcdat
def wmo_shapes():
    wmo = []
    for i in xrange(100, 203):
        if i in __shape_cache:
            wmo.append(__shape_cache[i])
        else:
            try:
                val = checkMarker(None, "type", i)
                wmo.append(val)
                __shape_cache[i] = val
            except ValueError:
                pass
    return wmo
예제 #2
0
def wmo_shapes():
    wmo = []
    for i in xrange(100, 203):
        if i in __shape_cache:
            wmo.append(__shape_cache[i])
        else:
            try:
                val = checkMarker(None, "type", i)
                wmo.append(val)
                __shape_cache[i] = val
            except ValueError:
                pass
    return wmo
예제 #3
0
파일: marker.py 프로젝트: UNESCO-IHE/uvcdat
def marker_shapes():
    # Returns all shapes that are supported (skips star for now), indexed numerically
    shapes = []
    for i in xrange(1, 20):
        if i in __shape_cache:
            shapes.append(__shape_cache[i])
        else:
            try:
                val = checkMarker(None, "type", i)
                shapes.append(val)
                __shape_cache[i] = val
            except ValueError:
                pass
    return shapes
예제 #4
0
def marker_shapes():
    # Returns all shapes that are supported (skips star for now), indexed numerically
    shapes = []
    for i in xrange(1, 20):
        if i in __shape_cache:
            shapes.append(__shape_cache[i])
        else:
            try:
                val = checkMarker(None, "type", i)
                shapes.append(val)
                __shape_cache[i] = val
            except ValueError:
                pass
    return shapes