Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0369564

Browse files
committed
updated swot notebooks
1 parent 34bf4e9 commit 0369564

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

examples/swot_cmr_sim.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
"name": "stderr",
223223
"output_type": "stream",
224224
"text": [
225-
"/tmp/ipykernel_784642/2934838053.py:6: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.\n",
225+
"/tmp/ipykernel_836011/2934838053.py:6: UserWarning: Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.\n",
226226
"\n",
227227
" region['gdf'].buffer(1.0).plot(ax=ax, color='green')\n"
228228
]

examples/swot_l2_sim.ipynb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
},
2424
"outputs": [],
2525
"source": [
26-
"swot.init(\"localhost\", verbose=True, organization=None)\n",
26+
"swot.init(\"slideruleearth.io\", verbose=True, organization='developers')\n",
2727
"region = sliderule.toregion(\"../data/antarctic.geojson\")\n",
28-
"rsps = swot.swotl2p({\"poly\":region[\"poly\"], \"variables\":[\"simulated_error_karin\"]}, resources=['SWOT_L2_LR_SSH_Expert_238_002_20120705T114746_20120705T123852_DG10_01.nc'])"
28+
"rsps = swot.swotl2p({\"poly\":region[\"poly\"], \"variables\":[\"dynamic_ice_flag\"]}, resources=['SWOT_L2_LR_SSH_Expert_238_002_20120705T114746_20120705T123852_DG10_01.nc'])"
2929
]
3030
},
3131
{
@@ -39,6 +39,14 @@
3939
"source": [
4040
"rsps['SWOT_L2_LR_SSH_Expert_238_002_20120705T114746_20120705T123852_DG10_01.nc']"
4141
]
42+
},
43+
{
44+
"cell_type": "code",
45+
"execution_count": null,
46+
"id": "98e39f55-6671-4f01-a447-0ea652203066",
47+
"metadata": {},
48+
"outputs": [],
49+
"source": []
4250
}
4351
],
4452
"metadata": {

0 commit comments

Comments
 (0)