Skip to content

Commit 665ed4e

Browse files
committed
Merge branch 'release/2.10.0'
2 parents e7f0b6e + d94383d commit 665ed4e

5 files changed

Lines changed: 376 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes
22

3+
### Release 2.10.0 (2026-05-14)
4+
- Add `process_events.sh` options to move old realtime event directories to `data_storage`
5+
- Add `--no-move` protection list for event directories that must remain in `data`
6+
37
### Release 2.9.0 (2026-05-14)
48
- Add historical ShakeMap data storage fallback through Nginx while keeping public `/data/...` URLs unchanged
59
- Add `--data-realtime-dir` and `--data-storage-dir` options to `process_events.sh`

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,27 @@ The `process_events.sh` script scans the realtime `data/` directory and generate
148148

149149
The `--data-storage-dir` option is valid only for full rebuilds. If the same event exists in both directories, the realtime directory has priority and the storage copy is skipped.
150150

151+
**Move old realtime events to historical storage, then process all events:**
152+
```bash
153+
./process_events.sh --data-realtime-dir data/ --data-storage-dir data_storage/ --move-days 100 --exclude-dir-end _ri
154+
```
155+
156+
The `--move-days` option reads each event OriginTime directly from `current/event.xml`.
157+
Events older than the requested number of days are moved from `data/` to
158+
`data_storage/` before the full processing step starts. If a matching
159+
`<eventid>_ri` directory exists, it is moved together with the base event. If
160+
the destination already exists in `data_storage/`, it is overwritten.
161+
162+
Protect selected event IDs from moving with `--no-move`:
163+
```bash
164+
./process_events.sh --data-realtime-dir data/ --data-storage-dir data_storage/ --move-days 100 --no-move 432423,4342342,4342343 --exclude-dir-end _ri
165+
```
166+
Each protected ID also protects its matching `<eventid>_ri` directory.
167+
168+
When `--move-days` is used, both `data/` and `data_storage/` must be mounted
169+
read-write; the read-only Docker volume examples are suitable for serving and
170+
processing only, not for moving directories.
171+
151172
**Process a single event:**
152173
```bash
153174
./process_events.sh --data-realtime-dir data/ -e <eventid>

js/config-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ShakeMap = {
1919
};
2020

2121
const config = {
22-
version: "v2.9.0",
22+
version: "v2.10.0",
2323
githubLink: "https://github.com/INGV/shakemap4-web",
2424
disclaimerPage: './disclaimer-ingv.md',
2525
contributorsPage: './contributors-ingv.md',

0 commit comments

Comments
 (0)