a5534212ba
cleanup
2025-09-25 12:07:02 +02:00
d661cad991
disable progress bar
2025-09-24 14:13:21 +02:00
3136c4985d
disable cython
2025-09-24 14:05:22 +02:00
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
fe9d886499
interpolation is always used on the final grid
2025-09-12 10:37:03 +02:00
f7eb39c43c
add final image smoothing through binlinear interpolation
2025-09-10 18:39:43 +02:00
00bd39a098
impose requirement of minimum size of range of output data to do image processing
2025-09-10 16:33:11 +02:00
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
a1c0ae36bb
set a minimum number of computed grid values to trigger upscaling of grid image
2025-09-09 14:41:02 +02:00
63351ceb10
fix weighting option selection
2025-09-09 11:03:05 +02:00
65759b86f1
change search interval for PGV to be different than that for PGA/SA
2025-09-09 10:56:35 +02:00
86da5c3246
Update src/seismic_hazard_forecasting.py
2025-08-08 18:28:34 +02:00
910d933467
Merge branch 'master' into ftong-patch-cython
2025-07-10 08:55:13 +02:00
e06f4a5a05
edit error message for clarity
2025-07-09 15:23:42 +02:00
2906af6918
improve error message when user provides magnitude file incompatible with ground motion model
2025-07-09 15:09:44 +02:00
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
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
d56aaeef39
Update src/seismic_hazard_forecasting.py
2025-07-09 11:25:55 +02:00
b4ef228a03
Update src/seismic_hazard_forecasting.py
2025-07-09 11:08:04 +02:00
664ab1025b
catch time_win_duration values that are too large
2025-07-07 16:42:57 +02:00
36378f4d6c
Update src/seismic_hazard_forecasting.py
2025-07-07 16:36:40 +02:00
1244655a68
Update src/seismic_hazard_forecasting.py
2025-07-07 15:07:33 +02:00
70c08f47ab
add info msg about m_max
2025-07-07 14:49:35 +02:00
60ae1c96cd
raise exception for null magnitude values
2025-07-07 14:43:42 +02:00
1ea6c85ab2
Update src/seismic_hazard_forecasting.py
2025-07-07 13:45:17 +02:00
84440152eb
Update src/seismic_hazard_forecasting.py
2025-07-07 13:40:02 +02:00
a941939493
remove processing of depth as it is not used
2025-07-07 13:25:05 +02:00
f4d2cfc3cd
add check that m_max is not too large for the ground motion model
2025-07-02 15:43:05 +02:00
bd1ad26693
change default m_max from 3 to 1 mag unit above max mag in catalog
2025-07-02 15:33:42 +02:00
bc4d57a5ab
catch null result from ground motion forecasting
2025-07-02 14:27:33 +02:00
921de3f423
fix - activity rate figure no longer cut off at the bottom
2025-07-01 16:24:59 +02:00
b287715f44
use distances in km instead of m
2025-07-01 16:09:24 +02:00
eb14b7d235
update package version logging, remove cpu tracking
2025-07-01 16:06:11 +02:00
4adfbb6a54
add 'g' as unit of colorbar for PGA and SA
2025-06-06 17:09:48 +02:00
bd468927f3
Update src/seismic_hazard_forecasting.py
2025-06-06 16:40:46 +02:00
bda00e225c
Update src/seismic_hazard_forecasting.py
2025-06-06 14:08:24 +02:00
86fb03c792
Merge branch 'master' into ISEPOS-2373-add-coordinates-for-svg-overlay
2025-06-05 14:09:06 +02:00
846078352b
revert f1472bf250
...
revert add non-parallel processing and set as default; fix colourbar
2025-06-04 17:49:54 +02:00
f1472bf250
add non-parallel processing and set as default; fix colourbar
2025-06-04 17:15:19 +02:00
7c484e3974
Fix to boolean parsing in shf_wrapper.py
2025-05-26 16:35:04 +02:00
7a39d5a07e
Update src/seismic_hazard_forecasting.py
2025-05-23 16:43:15 +02:00
9c58664770
ISEPOS-2373 Simplify code
2025-05-09 10:30:00 +02:00
17cbcc8e79
ISEPOS-2373 Simplify code
2025-05-09 10:26:27 +02:00
cce0cd258d
ISEPOS-2373 Also store the bounding box as a data attribute for quick access
2025-05-07 12:59:21 +02:00
c20f7c06a7
ISEPOS-2373 Fix: json not defined
2025-05-07 12:54:42 +02:00
22fc9f7c07
ISEPOS-2373 Fix: name 'svg_path' is not defined
2025-05-07 12:52:06 +02:00
8f1ab5518a
ISEPOS-2373 Add saving geographical coordinates to SVG files as metadata
2025-05-07 12:35:14 +02:00
ae722c8218
Changed argument name for catalog file
2025-04-25 11:18:32 +02:00
e436dec713
ISEPOS-2364 replaced png file extensions with svg
2025-04-19 13:34:26 +02:00
0551f1f056
ISEPOS-2364 replaced non-unicode characters in seismic_hazard_forecasting.py
2025-04-18 12:08:59 +02:00