Classes | |
| class | NOAAError |
| class | NOAAEvent |
Functions | |
| def | write_events |
| Write event list in a file. More... | |
| def | print_events |
| Write event list on standard output. More... | |
| def | regroup_event_by_attribute |
| Regroup events by attribute. More... | |
| def | noaa_decode_time |
| Decode NOAA formatted date. More... | |
| def | noaa_code_time |
| Code NOAA date. More... | |
| def | noaa_decode_obs |
| Decode NOAA observatory name. More... | |
| def | noaa_decode_type |
| Decode NOAA type and give a short description. More... | |
| def | noaa_decode_frequency |
| Decode NOAA frequency. More... | |
| def | noaa_code_frequency |
| Code NOAA frequency. More... | |
| def | noaa_decode_particular |
| Decode additional info. More... | |
| def | noaa_code_particular |
| Code particular columns. More... | |
| def | decode_ar_id |
| Decode Active region ID. More... | |
| def | read_v0 |
| Read event txt file return by SOLARMONITOR website and extract info about the events. More... | |
| def | write_v0 |
| Write event txt file with ASCII_SOLARMONITORNOAAEVENT_V0. More... | |
Variables | |
| string | header = '%-4s %-4s %-16s %-16s %-16s %-9s %-16s %-5s %-8s %-8s %-5s\n' |
| def readevent.read_solarmonitor_event.decode_ar_id | ( | line | ) |
Decode Active region ID.

| def readevent.read_solarmonitor_event.noaa_code_frequency | ( | type_str, | |
| freq_list | |||
| ) |
Code NOAA frequency.

| def readevent.read_solarmonitor_event.noaa_code_particular | ( | event | ) |
Code particular columns.

| def readevent.read_solarmonitor_event.noaa_code_time | ( | time_in, | |
| time_comnt | |||
| ) |
Code NOAA date.

| def readevent.read_solarmonitor_event.noaa_decode_frequency | ( | type_str, | |
| freq_str | |||
| ) |
Decode NOAA frequency.

| def readevent.read_solarmonitor_event.noaa_decode_obs | ( | obs_str | ) |
Decode NOAA observatory name.

| def readevent.read_solarmonitor_event.noaa_decode_particular | ( | type_str, | |
| line | |||
| ) |
Decode additional info.

| def readevent.read_solarmonitor_event.noaa_decode_time | ( | time_str | ) |
Decode NOAA formatted date.

| def readevent.read_solarmonitor_event.noaa_decode_type | ( | type_str | ) |
Decode NOAA type and give a short description.

| def readevent.read_solarmonitor_event.print_events | ( | events | ) |
Write event list on standard output.
| def readevent.read_solarmonitor_event.read_v0 | ( | filepath | ) |
Read event txt file return by SOLARMONITOR website and extract info about the events.
SOLARMONITOR NOAA EVENT V0-format for noaa event file is the following
Header (part1):
Header (part2): 9 lines begin with '#'.
Prepared by the U.S. Dept. of Commerce, NOAA, Space Weather Prediction Center Please send comments and suggestions to SWPC.Webmaster@noaa.gov
Missing data: //// Updated every 5 minutes. Edited Events for 2019 May 05
Colums ordering:
//// is missing data.
Sometimes, blank lines between data.
'NO EVENT REPORTS.' if no events.

| def readevent.read_solarmonitor_event.regroup_event_by_attribute | ( | events, | |
attribute = 'event_id' |
|||
| ) |
Regroup events by attribute.
Attribute can be: event_id, event_type, event_class, obs_id, obs_id, or whatever NOAAEvent attribute.

| def readevent.read_solarmonitor_event.write_events | ( | events, | |
| fid | |||
| ) |
Write event list in a file.
| def readevent.read_solarmonitor_event.write_v0 | ( | events, | |
| filepath | |||
| ) |
| string readevent.read_solarmonitor_event.header = '%-4s %-4s %-16s %-16s %-16s %-9s %-16s %-5s %-8s %-8s %-5s\n' |
1.8.5