Skip to content

Commit ff6ab8c

Browse files
erialC-Probbibt
andauthored
Dem_s update in connectivity function call (#106)
* update to dem_s * dem_s update to connectivity func call * updated default tide model to EOT20 in test_intertidal_cli func * Update tests/test_intertidal.py * Update test_intertidal.py --------- Co-authored-by: Robbi Bishop-Taylor <[email protected]>
1 parent 82c1624 commit ff6ab8c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

intertidal/extents.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def load_connectivity_mask(
132132
dc,
133133
geobox,
134134
product="ga_srtm_dem1sv1_0",
135-
elevation_band="dem_h",
135+
elevation_band="dem_s",
136136
resampling="bilinear",
137137
buffer=20000,
138138
preprocess=None,
@@ -160,7 +160,7 @@ def load_connectivity_mask(
160160
Defaults to "ga_srtm_dem1sv1_0".
161161
elevation_band : str, optional
162162
The name of the band containing elevation data. Defaults to
163-
"height_depth".
163+
"height_smoothed".
164164
resampling : str, optional
165165
The resampling method to use, by default "bilinear".
166166
buffer : int, optional

notebooks/Intertidal_workflow.ipynb

+4-1
Original file line numberDiff line numberDiff line change
@@ -1031,10 +1031,13 @@
10311031
" dc=dc,\n",
10321032
" geobox=satellite_ds.odc.geobox,\n",
10331033
" product='ga_srtm_dem1sv1_0',\n",
1034-
" elevation_band='dem_h',\n",
1034+
" elevation_band='dem_s',\n",
10351035
" resampling='bilinear',\n",
10361036
" buffer=20000,\n",
10371037
" max_threshold=100,\n",
1038+
" add_mangroves=False,\n",
1039+
" correct_hat=False,\n",
1040+
" mask_filters=[(\"dilation\", 3)],\n",
10381041
")"
10391042
]
10401043
},

0 commit comments

Comments
 (0)