Skip to content

Commit 6ae4c82

Browse files
committed
calc_mli_num: add TSX SM example
1 parent 7f4103a commit 6ae4c82

1 file changed

Lines changed: 51 additions & 24 deletions

File tree

applications/calc_multilook_number.ipynb

Lines changed: 51 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,7 @@
1515
"cell_type": "code",
1616
"execution_count": 1,
1717
"metadata": {},
18-
"outputs": [
19-
{
20-
"name": "stdout",
21-
"output_type": "stream",
22-
"text": [
23-
"This is the Open Source version of ISCE.\n",
24-
"Some of the workflows depend on a separate licensed package.\n",
25-
"To obtain the licensed package, please make a request for ISCE\n",
26-
"through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.\n",
27-
"Alternatively, if you are a member, or can become a member of WinSAR\n",
28-
"you may be able to obtain access to a version of the licensed sofware at\n",
29-
"https://winsar.unavco.org/software/isce\n"
30-
]
31-
}
32-
],
18+
"outputs": [],
3319
"source": [
3420
"import os\n",
3521
"import numpy as np\n",
@@ -90,9 +76,7 @@
9076
{
9177
"cell_type": "code",
9278
"execution_count": 3,
93-
"metadata": {
94-
"scrolled": false
95-
},
79+
"metadata": {},
9680
"outputs": [
9781
{
9882
"name": "stdout",
@@ -137,9 +121,7 @@
137121
{
138122
"cell_type": "code",
139123
"execution_count": 4,
140-
"metadata": {
141-
"scrolled": false
142-
},
124+
"metadata": {},
143125
"outputs": [
144126
{
145127
"name": "stdout",
@@ -243,6 +225,51 @@
243225
"isce_utils.multilook_number2resolution(meta_file, az_looks=35, rg_looks=20)"
244226
]
245227
},
228+
{
229+
"cell_type": "markdown",
230+
"metadata": {},
231+
"source": [
232+
"### TerraSAR-X StripMap"
233+
]
234+
},
235+
{
236+
"cell_type": "code",
237+
"execution_count": 4,
238+
"metadata": {},
239+
"outputs": [
240+
{
241+
"name": "stdout",
242+
"output_type": "stream",
243+
"text": [
244+
"extract metadata from ISCE/stripmapStack shelve file: /Users/yunjunz/data/usa/florida/MiamiTsxD36/reference/data.dat\n",
245+
"near incidence angle : 43.4114 degree\n",
246+
"center incidence angle : 44.4864 degree\n",
247+
"far incidence angle : 45.5614 degree\n",
248+
"Azimuth pixel size : 2.1\n",
249+
"Azimuth ground spacing : 2.0\n",
250+
"Azimuth ground spacing : 9.9 after multilooking by 5\n",
251+
"Range pixel size : 1.4\n",
252+
"Range ground spacing : 1.9\n",
253+
"Range ground spacing : 9.7 after multilooking by 5\n",
254+
"extract metadata from ISCE/stripmapStack shelve file: /Users/yunjunz/data/usa/florida/MiamiTsxD36/reference/data.dat\n",
255+
"near incidence angle : 43.4114 degree\n",
256+
"center incidence angle : 44.4864 degree\n",
257+
"far incidence angle : 45.5614 degree\n",
258+
"Azimuth pixel size : 2.1\n",
259+
"Azimuth ground spacing : 2.0\n",
260+
"Azimuth ground spacing : 9.9 after multilooking by 5\n",
261+
"Range pixel size : 1.4\n",
262+
"Range ground spacing : 1.9\n",
263+
"Range ground spacing : 9.7 after multilooking by 5\n"
264+
]
265+
}
266+
],
267+
"source": [
268+
"meta_file = os.path.expanduser('~/data/usa/florida/MiamiTsxD36/reference/data.dat')\n",
269+
"isce_utils.resolution2multilook_number(meta_file, resolution=10)\n",
270+
"isce_utils.multilook_number2resolution(meta_file, az_looks=5, rg_looks=5)"
271+
]
272+
},
246273
{
247274
"cell_type": "code",
248275
"execution_count": null,
@@ -253,7 +280,7 @@
253280
],
254281
"metadata": {
255282
"kernelspec": {
256-
"display_name": "Python 3",
283+
"display_name": "Python 3 (ipykernel)",
257284
"language": "python",
258285
"name": "python3"
259286
},
@@ -267,9 +294,9 @@
267294
"name": "python",
268295
"nbconvert_exporter": "python",
269296
"pygments_lexer": "ipython3",
270-
"version": "3.7.7"
297+
"version": "3.10.10"
271298
}
272299
},
273300
"nbformat": 4,
274-
"nbformat_minor": 2
301+
"nbformat_minor": 4
275302
}

0 commit comments

Comments
 (0)