ftong
e3d7fca55c
Update src/seismic_hazard_forecasting.py
2026-06-23 02:05:27 +02:00
ftong
c7f1dfa548
Update src/seismic_hazard_forecasting.py
2026-06-23 00:40:16 +02:00
ftong
105a36893a
Update src/seismic_hazard_forecasting.py
2026-06-23 00:04:34 +02:00
ftong
d5e5435d83
Update src/seismic_hazard_forecasting.py
2026-06-22 23:36:33 +02:00
ftong
144f7e1fcd
Update src/seismic_hazard_forecasting.py
...
remove events below mc for activity rate
2026-06-22 23:04:07 +02:00
ftong
337457d49c
Update src/seismic_hazard_forecasting.py
2026-06-22 22:58:10 +02:00
ftong
3d4f9138d7
Update src/seismic_hazard_forecasting.py
...
fix attempt 2
2026-06-22 19:23:13 +02:00
ftong
0ef41d72f6
Update src/seismic_hazard_forecasting.py
...
fix orientation issue attempt 1
2026-06-22 19:06:19 +02:00
ftong
b7ee8d52ab
Update src/seismic_hazard_forecasting.py
...
log message about AOI activation and fix orientation if AOI selected
2026-06-22 14:08:10 +02:00
ftong
89f3f70c62
Update src/seismic_hazard_forecasting.py
2026-06-22 12:28:23 +02:00
ftong
9f78e5681c
Update src/seismic_hazard_forecasting.py
...
use upscale=1 while testing
2026-06-19 18:07:55 +02:00
ftong
9a0b9444a3
Update src/seismic_hazard_forecasting.py
2026-06-19 17:01:55 +02:00
ftong
3ea88e0eb4
Update src/seismic_hazard_forecasting.py
...
fix array size of lambdas and lambdas_perc
2026-06-19 16:05:37 +02:00
ftong
504b553b9a
Update src/seismic_hazard_forecasting.py
...
make lambdas at least 1d
2026-06-19 15:59:50 +02:00
ftong
18e3fd0ca3
Update src/seismic_hazard_forecasting.py
2026-06-19 15:54:49 +02:00
ftong
59955cf085
Update src/seismic_hazard_forecasting.py
2026-06-19 15:52:18 +02:00
ftong
0a09a2dc00
Update src/seismic_hazard_forecasting.py
2026-06-19 15:50:50 +02:00
ftong
e7a344bca3
Update src/seismic_hazard_forecasting.py
...
remove "percentage" in activity rate csv
2026-06-19 15:45:23 +02:00
ftong
01ec215124
Update src/seismic_hazard_forecasting.py
...
missing from matplotlib.ticker import MultipleLocator
2026-06-19 15:41:33 +02:00
ftong
f50a315ed7
Update src/seismic_hazard_forecasting.py
...
import matplotlib
2026-06-19 15:39:41 +02:00
ftong
037863e975
Update src/seismic_hazard_forecasting.py
...
temporary global variables since GUI not ready
2026-06-19 15:38:35 +02:00
ftong
fb00131997
Update src/seismic_hazard_forecasting.py
2026-06-19 15:33:43 +02:00
ftong
41a900c366
Update src/seismic_hazard_forecasting.py
...
import numpy
2026-06-19 15:09:47 +02:00
ftong
4212037a78
Update src/seismic_hazard_forecasting.py
...
fix time_win_duration name
2026-06-19 15:08:17 +02:00
ftong
a00d4d6f52
Update src/seismic_hazard_forecasting.py
...
fix missing call to bin_and_beast
2026-06-19 15:02:14 +02:00
ftong
09cf4b0e6a
Update src/seismic_hazard_forecasting.py
...
fix mag_label
2026-06-19 14:54:20 +02:00
ftong
3b797e41cb
Update src/seismic_hazard_forecasting.py
...
fix syntax error
2026-06-19 14:40:44 +02:00
ftong
b51e5b9f43
Update src/seismic_hazard_forecasting.py
...
correct mag_data variable name
2026-06-19 14:38:00 +02:00
ftong
bb3184a126
Update src/seismic_hazard_forecasting.py
...
correct activity rate to be per time unit before fed to forecasting
2026-06-19 14:36:49 +02:00
ftong
46ff6b8a6c
Update src/seismic_hazard_forecasting.py
...
use new activity rate forecast method
2026-06-19 14:29:44 +02:00
ftong
7e89f75c84
Update src/seismic_hazard_forecasting.py
...
put AOI_extent as a parameter of the main function
2026-06-15 11:05:04 +02:00
ftong
6fac004cac
Update src/seismic_hazard_forecasting.py
...
when the 4 values specifying the lat and lon range of the area of interest (AOI) are provided, only do forecasting for grid points within the AOI
2026-06-10 18:13:04 +02:00
ftong
a5534212ba
cleanup
2025-09-25 12:07:02 +02:00
ftong
d661cad991
disable progress bar
2025-09-24 14:13:21 +02:00
ftong
3136c4985d
disable cython
2025-09-24 14:05:22 +02:00
ftong
deb7005604
Force use of fork in multiprocessing
...
From Tomasz Balawajder:
"Since we are using a Java service to launch the Python process, its behavior differs from running the script directly on the cluster.
By default, Dask uses fork() to create worker processes. However, when running under the JVM, the start method defaults to spawn, which does not share memory between processes. This caused the slowdown and unexpected behavior.
I’ve forced Python to use fork() in the configuration, and now the application completes in the same time as when executed with sbatch."
2025-09-23 11:41:08 +02:00
ftong
fe9d886499
interpolation is always used on the final grid
2025-09-12 10:37:03 +02:00
ftong
f7eb39c43c
add final image smoothing through binlinear interpolation
2025-09-10 18:39:43 +02:00
ftong
00bd39a098
impose requirement of minimum size of range of output data to do image processing
2025-09-10 16:33:11 +02:00
ftong
5a1f43d6cd
enforce: user must have "activity rate estimation" unselected for custom rate to be used
...
Previously, user could enter a value enter the custom rate box, enable "activity rate estimation" and the custom rate box would disappear but the program would still see the value previously entered and use it even though it was no longer visible in the user interface
2025-09-10 12:00:50 +02:00
ftong
a1c0ae36bb
set a minimum number of computed grid values to trigger upscaling of grid image
2025-09-09 14:41:02 +02:00
ftong
63351ceb10
fix weighting option selection
2025-09-09 11:03:05 +02:00
ftong
65759b86f1
change search interval for PGV to be different than that for PGA/SA
2025-09-09 10:56:35 +02:00
ftong
86da5c3246
Update src/seismic_hazard_forecasting.py
2025-08-08 18:28:34 +02:00
asia
910d933467
Merge branch 'master' into ftong-patch-cython
2025-07-10 08:55:13 +02:00
ftong
e06f4a5a05
edit error message for clarity
2025-07-09 15:23:42 +02:00
ftong
2906af6918
improve error message when user provides magnitude file incompatible with ground motion model
2025-07-09 15:09:44 +02:00
ftong
dd84829b6d
define m_max when magnitude distribution estimation is not enabled; take from user's m_file
2025-07-09 13:27:44 +02:00
ftong
5b25b93090
convert custom activity rate from list to numpy array of type 'double' to satisfy cython input
2025-07-09 13:15:04 +02:00
ftong
d56aaeef39
Update src/seismic_hazard_forecasting.py
2025-07-09 11:25:55 +02:00