Cleaned up block text for header & footer of the report

and added hash-tags for Nostr Note.
This commit is contained in:
Ed Braaten 2025-04-29 07:01:37 -07:00
parent b551a09b7e
commit cc56f81cc1
No known key found for this signature in database
GPG key ID: 11743CE9834B8FA6

View file

@ -337,14 +337,21 @@ for net_day in net_day_list:
with open(output_file,"w") as outfile: with open(output_file,"w") as outfile:
# Opening text # Opening text
outfile.write("\n ") headertext = '\n'.join([
outfile.write("PNW Digital ARES & EMCOMM Check-In Net - "+str(num_checkins)+" check-ins on "+net_day+"\n") 'PNW Digital ARES & EmComm Check-In Net - '+str(num_checkins)+
outfile.write("\n") 'check-ins on '+net_day+'\n',
outfile.write("We had a total of "+str(num_checkins)+" check-ins on "+net_day+" to the Pacific Northwest (PNW)\n") 'There were '+str(num_checkins)+' check-ins on '+net_day+' to the Pacific',
outfile.write("Digital ARES & EMCOMM Check-In Net. Below is the detailed check-in list grouped\n") 'Northwest (PNW) Digital ARES & EmComm Check-In Net.',
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") 'The following is the detailed check-in list grouped',
outfile.write("e-mail \"ed@n7ekb.net\" with the correction(s).\n\n\n") '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 # Check-in details
for state in sorted(report_dict): for state in sorted(report_dict):
@ -400,14 +407,24 @@ for net_day in net_day_list:
outfile.write("\n") outfile.write("\n")
# output the footer text... # output the footer text...
outfile.write("\nAbout the net:\n\n") footer = '\n'.join([
outfile.write("The PNW Digital ARES & EMCOMM Check-In Net is held every Sunday evening at 7:30 PM local\n") 'About the net:\n',
outfile.write("time on PNW Regional, DMR talk group 31771 (available on both the PNW Digital http://pnwdigital.net\n") 'The PNW Digital ARES & EMCOMM Check-In Net is held',
outfile.write("and Brandmeister DMR networks). Anyone interested in Amateur Radio Emergency Communications is\n") 'every Sunday evening at 7:30 PM local time on PNW',
outfile.write("welcome to check-in. The net is an opportunity for DMR-capable ARES and EMCOMM hams to exercise\n") 'Regional, DMR talkgroup 31771. DMR Talk Group 31771 is',
outfile.write("their DMR equipment in a regional directed net. The net demonstrates the wide coverage area and\n") 'available on both the PNW Digital and the Brandmeister',
outfile.write("capability of DMR repeaters and hot spots in our Pacific Northwest region. It also highlights the\n") 'DMR networks. Anyone interested in Amateur Radio and',
outfile.write("wide range of EMCOMM-related organizations who have members with DMR capability.\n\n") '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 # close this week's report file
outfile.close() outfile.close()