You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/JGR/plots/03_plotPygmt_gridPTHA_hazCurves.ipynb
+9-33Lines changed: 9 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
},
10
10
{
11
11
"cell_type": "code",
12
-
"execution_count": 3,
12
+
"execution_count": 1,
13
13
"metadata": {},
14
14
"outputs": [
15
15
{
@@ -255,33 +255,9 @@
255
255
},
256
256
{
257
257
"cell_type": "code",
258
-
"execution_count": 19,
258
+
"execution_count": null,
259
259
"metadata": {},
260
-
"outputs": [
261
-
{
262
-
"name": "stderr",
263
-
"output_type": "stream",
264
-
"text": [
265
-
"/tmp/ipykernel_651152/611917742.py:134: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
"xyz2grd [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.\n",
268
-
"xyz2grd [WARNING]: (y_max-y_min) must equal (NY + eps) * y_inc), where NY is an integer and |eps| <= 0.0001.\n",
269
-
"xyz2grd (gmtapi_init_grdheader): Please select compatible -R and -I values\n",
270
-
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 7220\n",
271
-
"xyz2grd [WARNING]: Likely causes:\n",
272
-
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n"
273
-
]
274
-
},
275
-
{
276
-
"name": "stdout",
277
-
"output_type": "stream",
278
-
"text": [
279
-
"Exact depth 1000 cm not found. Interpolating between 894.9999999999999 and 1074.0 cm.\n",
280
-
"non zero size 666743 647194\n",
281
-
"final non zero size 666743\n"
282
-
]
283
-
}
284
-
],
260
+
"outputs": [],
285
261
"source": [
286
262
"import pandas as pd\n",
287
263
"import numpy as np\n",
@@ -446,7 +422,7 @@
446
422
},
447
423
{
448
424
"cell_type": "code",
449
-
"execution_count": 26,
425
+
"execution_count": 6,
450
426
"metadata": {},
451
427
"outputs": [
452
428
{
@@ -465,7 +441,7 @@
465
441
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 198127\n",
466
442
"xyz2grd [WARNING]: Likely causes:\n",
467
443
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n",
468
-
"/tmp/ipykernel_651152/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
444
+
"/tmp/ipykernel_3809418/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
"xyz2grd [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.\n",
471
447
"xyz2grd [WARNING]: (y_max-y_min) must equal (NY + eps) * y_inc), where NY is an integer and |eps| <= 0.0001.\n",
@@ -498,7 +474,7 @@
498
474
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 165127\n",
499
475
"xyz2grd [WARNING]: Likely causes:\n",
500
476
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n",
501
-
"/tmp/ipykernel_651152/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
477
+
"/tmp/ipykernel_3809418/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
"xyz2grd [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.\n",
504
480
"xyz2grd [WARNING]: (y_max-y_min) must equal (NY + eps) * y_inc), where NY is an integer and |eps| <= 0.0001.\n",
@@ -531,7 +507,7 @@
531
507
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 95070\n",
532
508
"xyz2grd [WARNING]: Likely causes:\n",
533
509
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n",
534
-
"/tmp/ipykernel_651152/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
510
+
"/tmp/ipykernel_3809418/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
"xyz2grd [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.\n",
537
513
"xyz2grd [WARNING]: (y_max-y_min) must equal (NY + eps) * y_inc), where NY is an integer and |eps| <= 0.0001.\n",
@@ -564,7 +540,7 @@
564
540
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 59089\n",
565
541
"xyz2grd [WARNING]: Likely causes:\n",
566
542
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n",
567
-
"/tmp/ipykernel_651152/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
543
+
"/tmp/ipykernel_3809418/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
"xyz2grd [WARNING]: (x_max-x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.\n",
570
546
"xyz2grd [WARNING]: (y_max-y_min) must equal (NY + eps) * y_inc), where NY is an integer and |eps| <= 0.0001.\n",
@@ -599,7 +575,7 @@
599
575
"xyz2grd [WARNING]: Encountered first invalid binary data record near/at line # 8127\n",
600
576
"xyz2grd [WARNING]: Likely causes:\n",
601
577
"xyz2grd [WARNING]: (1) Invalid x and/or y values, i.e. NaNs.\n",
602
-
"/tmp/ipykernel_651152/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
578
+
"/tmp/ipykernel_3809418/3219471298.py:129: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.\n",
0 commit comments