grblc.search.gcn package

Subpackages

Submodules

grblc.search.gcn.manual_sorter module

Test script that will read automatically read through GCNs and allow the user to accept or reject a data point given the point and paragraph/table

grblc.search.gcn.manual_sorter.manual_sort(filepath, grb)[source]

grblc.search.gcn.scraper module

class grblc.search.gcn.scraper.Scraper(data_path='', output_path='')[source]

Bases: object

final_sentences_to_csv(grb)[source]
final_tables_to_csv(grb)[source]
grb_circulars(save=True)[source]

Downloads tar file from GCN website into a folder gcn3.

grb_lookup(grb, *keywords)[source]

Look up a specific grb in a circular dictionary. Look for specific keywords in the gcn if the client provides ones.

load_gcn()[source]

Creates a list of all gcn files in gcn3

scrape(threading=True, echo=None)[source]

Search for a GRB in the file

set_data_path(path='')[source]

Set data_path for this scraper object.

set_output_path(path='')[source]

Set output_path for this scraper object.

Module contents