Skip to content

Commit 71cdd70

Browse files
committed
skipping files for which OSM cube already exists
1 parent 1fde7a4 commit 71cdd70

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: notebooks/naip/00c - neighbours 3D embedding arrays.ipynb

+5-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
"name": "stderr",
207207
"output_type": "stream",
208208
"text": [
209-
"\u001b[38;2;255;101;0m 16%\u001b[39m \u001b[38;2;255;101;0m(17143 of 104234)\u001b[39m |## | Elapsed Time: 0:12:46 ETA: 1:04:55"
209+
"\u001b[38;2;255;117;0m 22%\u001b[39m \u001b[38;2;255;117;0m(23089 of 104234)\u001b[39m |### | Elapsed Time: 0:02:59 ETA: 0:10:32"
210210
]
211211
}
212212
],
@@ -219,6 +219,10 @@
219219
"\n",
220220
" if not os.path.isfile(f\"{folder}/{f}\"):\n",
221221
" continue\n",
222+
" if os.path.isfile(f\"{folder}/osm/{f.split('.')[0]}.osm.npy\"):\n",
223+
" continue\n",
224+
" if f == 'osm_aggregate.parquet':\n",
225+
" continue\n",
222226
"\n",
223227
" z = pd.read_parquet(f\"{folder}/{f}\")\n",
224228
" z['grid_cell'] = grid_cell(z) # assign grid cells to chips\n",

0 commit comments

Comments
 (0)