Skip to content

Commit 39df7b9

Browse files
committed
Added cache to make food map
1 parent 1cf3b65 commit 39df7b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

prepare_layers/make_food_current_map.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
from multiprocessing import Manager, Process, cpu_count
99
from queue import Queue
1010
from typing import NamedTuple
11+
from osgeo import gdal
12+
gdal.SetCacheMax(4 * 1024 * 1024 * 1024)
1113

1214
import numpy as np
1315
import yirgacheffe as yg

0 commit comments

Comments
 (0)