Skip to content

Commit ac25127

Browse files
committed
updated arcticdem strip example for new file paths
1 parent bce7639 commit ac25127

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

examples/arcticdem_strip_boundaries.ipynb

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"#\n",
4646
"# Initialize Python Client\n",
4747
"#\n",
48-
"icesat2.init(\"slideruleearth.io\", verbose=True)"
48+
"#icesat2.init(\"slideruleearth.io\", verbose=True)\n",
49+
"icesat2.init(\"localhost\", verbose=True, organization=None)"
4950
]
5051
},
5152
{
@@ -110,6 +111,18 @@
110111
"gdf.attrs['file_directory']"
111112
]
112113
},
114+
{
115+
"cell_type": "code",
116+
"execution_count": null,
117+
"id": "b961987a-1a67-4ab9-a47e-b0bafb6c591a",
118+
"metadata": {
119+
"tags": []
120+
},
121+
"outputs": [],
122+
"source": [
123+
"gdf"
124+
]
125+
},
113126
{
114127
"cell_type": "code",
115128
"execution_count": null,
@@ -143,7 +156,7 @@
143156
" return [lon, lat]\n",
144157
"\n",
145158
"def getBB(dem):\n",
146-
" os.system(\"gdalinfo /vsis3/{} > /tmp/r.txt\".format(dem))\n",
159+
" os.system(\"gdalinfo {} > /tmp/r.txt\".format(dem))\n",
147160
" with open(\"/tmp/r.txt\", \"r\") as file:\n",
148161
" lines = file.readlines()\n",
149162
" for line in lines:\n",

0 commit comments

Comments
 (0)