Cleaned up block text for header & footer of the report
and added hash-tags for Nostr Note.
This commit is contained in:
parent
b551a09b7e
commit
cc56f81cc1
1 changed files with 33 additions and 16 deletions
|
|
@ -337,14 +337,21 @@ for net_day in net_day_list:
|
|||
with open(output_file,"w") as outfile:
|
||||
|
||||
# Opening text
|
||||
outfile.write("\n ")
|
||||
outfile.write("PNW Digital ARES & EMCOMM Check-In Net - "+str(num_checkins)+" check-ins on "+net_day+"\n")
|
||||
outfile.write("\n")
|
||||
outfile.write("We had a total of "+str(num_checkins)+" check-ins on "+net_day+" to the Pacific Northwest (PNW)\n")
|
||||
outfile.write("Digital ARES & EMCOMM Check-In Net. Below is the detailed check-in list grouped\n")
|
||||
outfile.write("by ARRL ARES districts. If any of the info (i.e. name or agency affiliation) below is\n")
|
||||
outfile.write("incomplete or incorrect, please IM me on Jabber/XMPP (ed@n7ekb.net), or\n")
|
||||
outfile.write("e-mail \"ed@n7ekb.net\" with the correction(s).\n\n\n")
|
||||
headertext = '\n'.join([
|
||||
'PNW Digital ARES & EmComm Check-In Net - '+str(num_checkins)+
|
||||
'check-ins on '+net_day+'\n',
|
||||
'There were '+str(num_checkins)+' check-ins on '+net_day+' to the Pacific',
|
||||
'Northwest (PNW) Digital ARES & EmComm Check-In Net.',
|
||||
' ',
|
||||
'The following is the detailed check-in list grouped',
|
||||
'by our region\'s ARRL ARES districts. If any of the',
|
||||
'info (i.e. name or agency affiliation) below is',
|
||||
'incomplete or incorrect, please IM me on Jabber/',
|
||||
'XMPP at n7ekb@n7ekb.net, or e-mail me at ed@n7ekb.net',
|
||||
'with your updates.',
|
||||
'\n\n'
|
||||
])
|
||||
outfile.write(headertext)
|
||||
|
||||
# Check-in details
|
||||
for state in sorted(report_dict):
|
||||
|
|
@ -400,14 +407,24 @@ for net_day in net_day_list:
|
|||
outfile.write("\n")
|
||||
|
||||
# output the footer text...
|
||||
outfile.write("\nAbout the net:\n\n")
|
||||
outfile.write("The PNW Digital ARES & EMCOMM Check-In Net is held every Sunday evening at 7:30 PM local\n")
|
||||
outfile.write("time on PNW Regional, DMR talk group 31771 (available on both the PNW Digital http://pnwdigital.net\n")
|
||||
outfile.write("and Brandmeister DMR networks). Anyone interested in Amateur Radio Emergency Communications is\n")
|
||||
outfile.write("welcome to check-in. The net is an opportunity for DMR-capable ARES and EMCOMM hams to exercise\n")
|
||||
outfile.write("their DMR equipment in a regional directed net. The net demonstrates the wide coverage area and\n")
|
||||
outfile.write("capability of DMR repeaters and hot spots in our Pacific Northwest region. It also highlights the\n")
|
||||
outfile.write("wide range of EMCOMM-related organizations who have members with DMR capability.\n\n")
|
||||
footer = '\n'.join([
|
||||
'About the net:\n',
|
||||
'The PNW Digital ARES & EMCOMM Check-In Net is held',
|
||||
'every Sunday evening at 7:30 PM local time on PNW',
|
||||
'Regional, DMR talkgroup 31771. DMR Talk Group 31771 is',
|
||||
'available on both the PNW Digital and the Brandmeister',
|
||||
'DMR networks. Anyone interested in Amateur Radio and',
|
||||
'Emergency Communications is welcome to check-in. The',
|
||||
'net is an opportunity for DMR-capable ARES and EmComm',
|
||||
'hams to exercise their DMR equipment in a regional,',
|
||||
'directed net. The net demonstrates the wide coverage',
|
||||
'area and capability of DMR repeaters and hot spots in',
|
||||
'our Pacific Northwest region. It also highlights the',
|
||||
'wide range of EmComm-related organizations who have',
|
||||
'members with DMR capability.\n\n',
|
||||
'#net-reports #hamradio #EmComm #ARES #DMR #PNWDigital\n'
|
||||
])
|
||||
outfile.write(footer)
|
||||
|
||||
# close this week's report file
|
||||
outfile.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue