Skip to content

Commit bbe4486

Browse files
Dev (#5)
* remove unused figures * header fix * update polartoolkit version * update ice shelf plots * update website pages * don't save unused plots * add todo note to code for future * add more explanation to notebooks * style: pre-commit fixes * change file location for Ross Sea outline shapefile --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 48f183f commit bbe4486

40 files changed

+495
-942
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Then install the environment defined in `pyproject.toml` with:
3434
pixi install
3535
```
3636

37-
## `conda` or `mamba`
37+
### `conda` or `mamba`
3838

3939
Install the required dependencies with either `conda` or `mamba`:
4040

docs/01_with_density_CV.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
" geometry=[shapely.geometry.Polygon(zip(df.easting, df.northing, strict=False))],\n",
322322
")\n",
323323
"polygon = gdf.geometry.envelope.buffer(-30e3).buffer(27e3)\n",
324-
"polygon.to_file(\"../results/Ross_Sea_outline.shp\")\n",
324+
"polygon.to_file(\"../results/Ross_Sea/Ross_Sea_outline.shp\")\n",
325325
"polygon.iloc[0]"
326326
]
327327
},
@@ -495,7 +495,7 @@
495495
" shape=(6, 7),\n",
496496
" region=inversion_region,\n",
497497
" padding=-spacing,\n",
498-
" shapefile=\"../results/Ross_Sea_outline.shp\",\n",
498+
" shapefile=\"../results/Ross_Sea/Ross_Sea_outline.shp\",\n",
499499
" add_outside_points=True,\n",
500500
" grid_spacing=spacing,\n",
501501
" plot=True,\n",
@@ -619,7 +619,7 @@
619619
},
620620
{
621621
"cell_type": "code",
622-
"execution_count": 10,
622+
"execution_count": null,
623623
"id": "2fd67007",
624624
"metadata": {},
625625
"outputs": [
@@ -639,7 +639,7 @@
639639
"source": [
640640
"# mask to the ice shelf outline\n",
641641
"min_dist = polar_utils.mask_from_shp(\n",
642-
" shapefile=\"../results/Ross_Sea_outline.shp\",\n",
642+
" shapefile=\"../results/Ross_Sea/Ross_Sea_outline.shp\",\n",
643643
" grid=min_dist,\n",
644644
" invert=False,\n",
645645
" masked=True,\n",

docs/02_with_noise.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
" shape=(6, 7),\n",
881881
" region=inversion_region,\n",
882882
" padding=-spacing,\n",
883-
" shapefile=\"../results/Ross_Sea_outline.shp\",\n",
883+
" shapefile=\"../results/Ross_Sea/Ross_Sea_outline.shp\",\n",
884884
" add_outside_points=True,\n",
885885
" grid_spacing=spacing,\n",
886886
")\n",

docs/03_with_airborne_survey.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5775,7 +5775,7 @@
57755775
" shape=(6, 7),\n",
57765776
" region=inversion_region,\n",
57775777
" padding=-spacing,\n",
5778-
" shapefile=\"../results/Ross_Sea_outline.shp\",\n",
5778+
" shapefile=\"../results/Ross_Sea/Ross_Sea_outline.shp\",\n",
57795779
" add_outside_points=True,\n",
57805780
" grid_spacing=spacing,\n",
57815781
")\n",

docs/04_with_regional.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@
765765
" shape=(6, 7),\n",
766766
" region=inversion_region,\n",
767767
" padding=-spacing,\n",
768-
" shapefile=\"../results/Ross_Sea_outline.shp\",\n",
768+
" shapefile=\"../results/Ross_Sea/Ross_Sea_outline.shp\",\n",
769769
" add_outside_points=True,\n",
770770
" grid_spacing=spacing,\n",
771771
")\n",

0 commit comments

Comments
 (0)