Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
userguide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
emfollow
userguide
Merge requests
!72
Add note that GCN formats other than VOEvent are unsupported
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add note that GCN formats other than VOEvent are unsupported
leo-singer/userguide:text-format-gcns-unsupported
into
master
Overview
11
Commits
1
Pipelines
8
Changes
3
Merged
Leo P. Singer
requested to merge
leo-singer/userguide:text-format-gcns-unsupported
into
master
5 years ago
Overview
11
Commits
1
Pipelines
8
Changes
3
Expand
0
0
Merge request reports
Compare
master
version 7
f647c052
5 years ago
version 6
26a5f5c0
5 years ago
version 5
40ad9851
5 years ago
version 4
95a85a41
5 years ago
version 3
db79ffd3
5 years ago
version 2
0a2b320b
5 years ago
version 1
afe4f7f0
5 years ago
master (base)
and
latest version
latest version
866fc497
1 commit,
5 years ago
version 7
f647c052
1 commit,
5 years ago
version 6
26a5f5c0
1 commit,
5 years ago
version 5
40ad9851
1 commit,
5 years ago
version 4
95a85a41
1 commit,
5 years ago
version 3
db79ffd3
1 commit,
5 years ago
version 2
0a2b320b
1 commit,
5 years ago
version 1
afe4f7f0
1 commit,
5 years ago
3 files
+
35
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
tutorial/index.rst
+
14
−
4
Options
@@ -3,10 +3,16 @@ Sample Code
This section provides Python sample code for receiving and interacting with
:term:`GCN Notices <GCN Notice>`. GCN Notices are available over several
different protocols and in several different formats. LIGO/Virgo strongly
recommends using the VOEvent Transport Protocol (:term:`VTP`) to receive
notices in :term:`VOEvent` XML format because it is anonymous,
configuration-free, and easy to parse.
different protocols and in several different formats. LIGO/Virgo recommends
using the VOEvent Transport Protocol (:term:`VTP`) to receive notices in
:term:`VOEvent` XML format because it is anonymous, configuration-free, and
easy to parse.
.. warning::
The VOEvent XML alerts are official data products of LIGO/Virgo. GCN
produces `several other legacy formats`_ from them, in particular a
text-based "full format" and binary format. LIGO/Virgo performs only limited
quality control of the legacy formats.
This tutorial will walk you through writing a Python script to receive and
process the example LIGO/Virgo GCN notices that are sent every hour. The
@@ -21,3 +27,7 @@ tutorial is broken into the following subsections:
multiorder_skymaps
observability
3d
.. _`several other formats`: https://gcn.gsfc.nasa.gov/gcn_describe.html#tc7
.. _`several other distribution methods`: https://gcn.gsfc.nasa.gov/tech_describe.html
.. _`GCN's anonymous VOEvent brokers`: https://gcn.gsfc.nasa.gov/voevent.html#tc2
Loading