miaowware / ctyparser

A CTY.DAT parser for modern amateur radio programs
https://ctyparser.miaow.io/
MIT License
4 stars 2 forks source link

Add primary prefix to json #39

Closed obi134 closed 3 years ago

obi134 commented 3 years ago

Add main field to get the main prefix for a searched prefix

Description

I added a field 'main' to the dict to get the main prefix of any prefix. So main of e.g. '2E' is 'G'.

Type of change

How has this been tested?

Cherry picked manual check of 3 prefixes

Checklist