Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
Fast Radio Burst (FRB) Catalogue DB management
Basic Info
Statistics
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
frbcatdb
The frbcatdb is a database to store a catalog of Fast Radio Bursts (FRBs). The DB is intended to contain old FRB events as well as new FRBs detected by the AA-ALERT FRB detection pipeline from Apertif observations and also possible follow-up observations or others FRBs detected by other telescopes. The frbcatdb is attached to the VOEvent backbone and uses this infrastructure as its source.
The db folder contains scripts to create an empty frbcat DB (create_db.csh),
to import it from an existing dump file (import_db.sh) and
to dump an existing DB to a dump file (dump_db.csh).
It also contains the model (Entity-Relationship diagram) to be opened with mysql-workbench. 
The pyfrbcatdb is Python package for manipulating the frbcatdb and its linking
with the VOEvent backbone.
pyfrbcatdb usage
A default configuration file is installed in /etc/pyfrbcatdb/dbase.config. In this file the FRBCat database configuration can be defined. Alternatively, a user may supply their own configuration file with a command line argument of the executable, or define the database configuration via argument switches, or, alternatively via environment variables.
For inserting a VOEvent XML file into the FRBCat database, the decodeVOEvent executable is used: ``` usage: decodeVOEvent [-h] [-c MY_CONFIG] --dbName DBNAME [--dbHost DBHOST] [--dbPort DBPORT] --dbUser DBUSER [--dbPassword DBPASSWORD] [--CSV CSV] [--log LOG] [--zenodo ZENODO] [VOEvent [VOEvent ...]]
Process VOEvent XML file and add it to FRB database Args that start with '--' (eg. --dbName) can also be set in a config file (/etc/pyfrbcatdb/dbase.config or specified via -c). Config file syntax allows: key=value, flag=true, stuff=a,b,c. If an arg is specified in more than one place, then commandline values override environment variables which override config file values which override defaults.
positional arguments: VOEvent List of VOEvent XML files
optional arguments:
-h, --help show this help message and exit
-c MYCONFIG, --my-config MYCONFIG
config file path
--dbName DBNAME name postgres database [env var: dbNameFRBCat]
--dbHost DBHOST name postgres database [env var: dbHostFRBCat]
--dbPort DBPORT name postgres database [env var: dbPortFRBCat]
--dbUser DBUSER user postgres database [env var: dbUserFRBCat]
--dbPassword DBPASSWORD
user postgres database password [env var:
dbPasswordFRBCat]
--CSV CSV CSV filename to dump database to [env var: CSVFRBCat]
--log LOG log file, default=[HOME]/pyfrbcatdb_decode.log
--zenodo ZENODO upload CSV to Zenodo, access token [env var: zenodoFRBCat]
For inserting an image into the database, the frbcatdb-image executable is used. Apart from the database configuration, the tool takes two positional arguments. The first is the filename of the image to be added, the second is the 'id' in the 'radio measurement params' table that the image should be connected to:
usage: frbcatdb-image [-h] [-c MY_CONFIG] --dbName DBNAME [--dbHost DBHOST]
[--dbPort DBPORT] --dbUser DBUSER
[--dbPassword DBPASSWORD] [--caption CAPTION]
[--title TITLE]
filename rmpid
Create VOEvent XML file from FRB database Args that start with '--' (eg. --dbName) can also be set in a config file (/data/github/venv- aa/etc/pyfrbcatdb/dbase.config or specified via -c). Config file syntax allows: key=value, flag=true, stuff=a,b,c. If an arg is specified in more than one place, then commandline values override environment variables which override config file values which override defaults.
positional arguments: filename Name of file to fetch from rmpid rmp_id
optional arguments: -h, --help show this help message and exit -c MYCONFIG, --my-config MYCONFIG config file path --dbName DBNAME name postgres database [env var: dbNameFRBCat] --dbHost DBHOST name postgres database [env var: dbHostFRBCat] --dbPort DBPORT name postgres database [env var: dbPortFRBCat] --dbUser DBUSER user postgres database [env var: dbUserFRBCat] --dbPassword DBPASSWORD user postgres database password [env var: dbPasswordFRBCat] --caption CAPTION figure caption --title TITLE figure title ```
For extracting a VOEvent from the FRBCat database, the createVOEvent executable is used. Note that some features might still be missing for the current release from this utility. ``` usage: createVOEvent [-h] [-c MYCONFIG] --dbName DBNAME [--dbHost DBHOST] [--dbPort DBPORT] --dbUser DBUSER [--dbPassword DBPASSWORD] [--log LOG] frbids [frb_ids ...]
Create VOEvent XML file from FRB database Args that start with '--' (eg. --dbName) can also be set in a config file (/etc/pyfrbcatdb/dbase.config or specified via -c). Config file syntax allows: key=value, flag=true, stuff=a,b,c. If an arg is specified in more than one place, then commandline values override environment variables which override config file values which override defaults.
positional arguments: frb_ids List of frbs ids
optional arguments: -h, --help show this help message and exit -c MYCONFIG, --my-config MYCONFIG config file path --dbName DBNAME name postgres database [env var: dbNameFRBCat] --dbHost DBHOST name postgres database [env var: dbHostFRBCat] --dbPort DBPORT name postgres database [env var: dbPortFRBCat] --dbUser DBUSER user postgres database [env var: dbUserFRBCat] --dbPassword DBPASSWORD user postgres database password [env var: dbPasswordFRBCat] --log LOG log file, default=[HOME]/pyfrbcatdb_create.log ```
Owner
- Name: TRAnsients Software ALliance
- Login: TRASAL
- Kind: organization
- Repositories: 27
- Profile: https://github.com/TRASAL
Citation (CITATION.cff)
# YAML 1.2
---
authors:
-
affiliation: "Netherlands eScience Center"
family-names: Haren
given-names: Ronald
name-particle: van
-
affiliation: "Netherlands eScience Center"
family-names: Martines Rubi
given-names: Oscar
cff-version: "1.0.3"
commit: 37ce6fdf3608e46119190cfcb28e24e05d8bdf49
date-released: 2018-08-02
doi: 10.5281/zenodo.1326399
keywords:
- "fast radio burst"
- "frb"
- "astronomy"
- "frbcat"
- "voevent"
- "database"
license: Apache-2.0
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/TRASAL/frbcatdb"
title: frbcatdb
version: "2.0.0"
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 9
- Average time to close issues: N/A
- Average time to close pull requests: 2 days
- Total issue authors: 0
- Total pull request authors: 3
- Average comments per issue: 0
- Average comments per pull request: 0.44
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- rvanharen (5)
- oscarmartinezrubi (3)
- jspaaks (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- sphinx *
- sphinx-autobuild *
- PyYAML *
- astropy ==2.0.5
- configargparse *
- psycopg2 *
- python-dateutil *
- requests *
- sphinx *
- sphinx-autobuild *
- voevent-parse *
- coverage * test
- pytest >=3.6 test
- pytest-cov * test
- PyYAML *
- astropy *
- configargparse *
- psycopg2 *
- python-dateutil *
- requests *
- voevent-parse *
- PyYAML *
- astropy *
- configargparse *
- psycopg2 *
- python-dateutil *
- requests *
- voevent-parse *