Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ doc/_build/

# configuration
.env
useful_code/.ipynb_checkpoints/
useful_code/Tests.ipynb
useful_code/hop_comms.ipynb
useful_code/local-testing.ipynb
useful_code/logging.log
useful_code/slack_test.py
useful_code/SNEWS_MSGs/21_08_30/subscribed_messages.json
hop_comms/SNEWS_MSGs/21_08_30/subscribed_messages.json
hop_comms/slack_test.py
hop_comms/logging.log
hop_comms/local-testing.ipynb
hop_comms/.ipynb_checkpoints/local-testing-checkpoint.ipynb
hop_comms/.ipynb_checkpoints/dev-testing-checkpoint.ipynb
hop_comms/.ipynb_checkpoints/dev-testing2-subscribe-checkpoint.ipynb
10 changes: 10 additions & 0 deletions hop_comms/default_env.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
TIME_STRING_FORMAT="%y/%m/%d %H:%M:%S"
DATABASE_SERVER="mongodb://localhost:27017/"

NEW_DATABASE=0
COINCIDENCE_THRESHOLD=10
MSG_EXPIRATION=120

HOP_BROKER="kafka.scimma.org"
OBSERVATION_TOPIC="kafka://${HOP_BROKER}/snews.experiments-test"
ALERT_TOPIC="kafka://${HOP_BROKER}/snews.alert-test"
1 change: 1 addition & 0 deletions hop_comms/detector_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"TEST": ["TEST", 0, "TESTloc"], "Super-K": ["Super-K", 1, "loc Super-K"], "Hyper-K": ["Hyper-K", 2, "loc Hyper-K"], "SNO+": ["SNO+", 3, "loc SNO+"], "KamLAND": ["KamLAND", 4, "loc KamLAND"], "LVD": ["LVD", 5, "loc LVD"], "ICE": ["ICE", 6, "loc ICE"], "Borexino": ["Borexino", 7, "loc Borexino"], "HALO-1kT": ["HALO-1kT", 8, "loc HALO-1kT"], "HALO": ["HALO", 9, "loc HALO"], "NOvA": ["NOvA", 10, "loc NOvA"], "KM3NeT": ["KM3NeT", 11, "loc KM3NeT"], "Baksan": ["Baksan", 12, "loc Baksan"], "JUNO": ["JUNO", 13, "loc JUNO"], "LZ": ["LZ", 14, "loc LZ"], "DUNE": ["DUNE", 15, "loc DUNE"], "MicroBooNe": ["MicroBooNe", 16, "loc MicroBooNe"], "SBND": ["SBND", 17, "loc SBND"], "DS-20K": ["DS-20K", 18, "loc DS-20K"], "XENONnT": ["XENONnT", 19, "loc XENONnT"], "PandaX-4T": ["PandaX-4T", 20, "loc PandaX-4T"]}
Loading