OGGM / partitioning

2 stars 3 forks source link

Filter: keep only "large" divides #5

Closed fmaussion closed 7 years ago

fmaussion commented 7 years ago

Currently in OGGM there is this line of code:

    # Keep only the ones large enough
    divdf = [g for g in divdf if (g.area >= (25 * dx ** 2))]

Where dx is the grid resolution in meter (so they should be at least 25 pixel large). Totally arbitrary, but I guess this could help to delete some divides from scratch.

I am currently working on a more complete filter, I'll let you know when I'm done

fmaussion commented 7 years ago

OK ignore this one. We'll come up with a better solution.