Commit Graph

110 Commits

Author SHA1 Message Date
ftong 00c0ca4c3a Update src/seismic_hazard_forecasting.py 2026-06-24 12:46:06 +02:00
ftong 008b3f7d21 Update src/seismic_hazard_forecasting.py
try distances/1000
2026-06-24 12:27:25 +02:00
ftong 2b6cd52131 Update src/seismic_hazard_forecasting.py 2026-06-24 11:39:03 +02:00
ftong 7e550f36f9 Update src/shf_wrapper.py
update wrapper
2026-06-23 17:16:33 +02:00
ftong bb70ebbe24 Update src/seismic_hazard_forecasting.py
stretch image to exact borders of svg file
2026-06-23 14:33:55 +02:00
ftong 73fd54cc76 Update src/seismic_hazard_forecasting.py
add more logging
2026-06-23 13:09:39 +02:00
ftong 72dc427a0e Update src/seismic_hazard_forecasting.py 2026-06-23 10:56:54 +02:00
ftong 3576b9eb96 Update src/seismic_hazard_forecasting.py
activate test zone AOI
2026-06-23 03:58:33 +02:00
ftong 92b6eb4880 Update src/seismic_hazard_forecasting.py 2026-06-23 03:21:53 +02:00
ftong 13b463a15a Update src/seismic_hazard_forecasting.py
try distance in metres
2026-06-23 02:53:44 +02:00
ftong 62e551ff6a Update src/seismic_hazard_forecasting.py 2026-06-23 02:52:42 +02:00
ftong fa192fd7a0 Update src/seismic_hazard_forecasting.py 2026-06-23 02:20:53 +02:00
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
tomekbalawajder 50930e3233 Merge pull request 'Changes made in September 2025' (!22) from Sept2025 into master
Reviewed-on: #22
Reviewed-by: tomekbalawajder <tomekbalawajder@noreply.example.org>
v2.67 v2.68 v2.69
2025-09-29 11:34:02 +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