# 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
Currently in OGGM there is this line of code:
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