|
|
**Review Charge**
|
|
|
|
|
|
|
|
|
|
Reviewer: Michael Coughling
|
|
|
|
|
|
|
|
|
|
The review charge is to check that the mock-event:generator ("meg") can generate the event upload to gracedb as generated by the online pipelines and to replay the sequence of the events as registered in gracedb.
|
|
|
|
|
|
|
|
|
|
- example file on how to use "meg" (mock-event-generator)
|
|
|
|
|
[UsageExampleScript_meg.py](uploads/6f9f69abc5c5783b299bcb60aee2ba88/UsageExampleScript_meg.py)
|
|
|
|
|
|
|
|
|
|
**Review Sign off**
|
|
|
|
|
|
|
|
|
|
- [x] The package can successfully download pipeline events from gracedb
|
|
|
|
|
- [x] The package can replay events (upload to gracedb)
|
|
|
|
|
- [x] The replay events have the same properties (data/tags) as the downloaded events
|
|
|
|
|
- [x] The package can be used to produce mock-data-challenge event to be used to generate MDC alert in production
|
|
|
|
|
|
|
|
|
|
**Review documentation**
|
|
|
|
|
|
|
|
|
|
In the directory (LDAS system) "/home/roberto.depietri/mock_event_generator_testing/mock-event-generator/" is installed the final candidate to be used (with the change that will be required by the review.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cd /home/roberto.depietri/mock_event_generator_testing/mock-event-generator
|
|
|
|
|
source vent/bin/activate
|
|
|
|
|
cd HISTORY_TESTING
|
|
|
|
|
# Already performed the command "./UsageExampleScript_meg.py"
|
|
|
|
|
# There is already the cache of the events in:
|
|
|
|
|
# ".cache/mock-event-generator/"
|
|
|
|
|
meg create --target test --group Test --original-search --cache-path=./.cache/mock-event-generator Gev-cwb-allsy
|
|
|
|
|
2023-04-14 07:24:31 INFO Created G895645 -> T436057 CWB Burst -> Test AllSky 1365517488.3597
|
|
|
|
|
2023-04-14 07:24:34 INFO Uploaded file for event T436057: cwb.multiorder.fits,0
|
|
|
|
|
2023-04-14 07:24:34 INFO Written label for event T436057: SKYMAP_READY
|
|
|
|
|
```
|
|
|
|
|
The test may be performed form the emfollow test machine where it is present the emfollow-certificate but that may generate event in production and should vibe used with great care.
|
|
|
|
|
|
|
|
|
|
Here a simple Test of the replay of in test as an MDC event of a G-event (resulting in M436059) and the Event on S-event (S230323ed) that GWcelery processed to [MS230414r](https://gracedb-test.ligo.org/superevents/MS230414r/view/) and include teh replayed events `("gw_events": ["M436077",....,"M436061"], ")`
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
meg create --target test --cache-path=./.cache/mock-event-generator
|
|
|
|
|
meg create --target test --cache-path=./.cache/mock-event-generator S230323ed
|
|
|
|
|
``` |
|
|
|
\ No newline at end of file |
|
|