Category Archives: DX

Guest Post: Calculate Station Distances Using Excel Formulas

Many thanks to SWLing Post contributor, Bob Colegrove, who shares the following guest post:


Calculate Station Distances Using Excel

By Bob Colegrove

Introduction

On occasion, I’ve wanted to know just how far away a station was from my home.  I’ve never been much of a contester, but I know distance can play a part in the results.  There are a number of Internet cites which let you enter latitude and longitude information and then calculate the distance across the surface of the earth.  These are alright on an occasional basis, but I often wind up getting the data mixed for the two locations, and it is not handy when you want to make several measurements.  Here’s a way to generate the distance from your home to thousands of stations with just a little effort.

Many years ago, armed with my faded knowledge of high school trigonometry, I used Excel to calculate the surface distance between any two points on earth.  I managed to find the spreadsheet (file dated 1998) which has no fewer than 11 steps in the algorithm.  Although it worked, when I came back to it a few months later to make a change, I couldn’t remember my thought process.  There are Internet sites which develop earth surface calculations in highly esoteric terms and heavy-duty math.  But life is short, and I wanted to cut to the chase.  There are, in fact, several formula variations which have somehow managed to distill all this down to a neat single-cell calculation, and they seem to work very well.

Construction

The spreadsheet figure below is the simplest form used when you have decimal latitude and longitude data as input.  The convention is to use negative numbers for the Western and Southern Hemispheres.  Home is your reception location and all other locations are compared with that to determine the distances.  If you’re curious, the home location (yellow cells) used in these examples is the monument marking the geographic center of all 50 US states in Belle Fourche, South Dakota.  Google Maps is one easy source to determine the exact latitude and longitude of any point on earth.

To calculate the distance between any two points on earth, copy the formula below directly into a cell, then change the reference cell names as appropriate, and you’re ready to go.

=ACOS(COS(RADIANS(90-$B$5)) * COS(RADIANS(90-B9)) + SIN(RADIANS(90-$B$5)) * SIN(RADIANS(90-B9)) * COS(RADIANS($C$5-C9))) * 3959

$B$5 and $C$5 are the cell references for your home address (yellow in the figure above).  Of course, the dollar signs indicate these data remain fixed in each calculation.  B9 and C9 are corresponding latitude and longitude for the example radio station, WTOP (green).  Change these four cell locations as necessary.  The constant, 3959, at the end of the formula is the average radius of the earth in miles.  Use 6371 if you want kilometers.  The data cells in Columns D and E are populated with the formula and produce the result. These values are dynamic and can be replicated down the columns for the rest of your station location data.

Degrees, Minutes, and Seconds Format

The US FCC on-line database contains latitude and longitude tower locations for medium wave stations in Region 2, North, South, and Central America.  However, coordinates are in degrees, minutes, and seconds format and must be converted to digital format for calculation of distances.  The conversion process can also be done in Excel.

In this case, the inclusion of the coordinate hemispheres, N or S, and E or W is important.  Whereas, the hemispheres in the decimal example were signed + or -, the inclusion of the appropriate letters here is necessary.  Cell L5 reads

=IF(H5=”S”,-I5-(J5/60)-(K5/3600),I5+(J5/60)+(K5/3600))

and cell Q5 is similar for longitude, except “W” is substituted for “S.”  These formulas are then replicated in columns L and Q for each data item.  Columns R and S contain the distance calculation formulas as described above.  Line 14 is not necessary, but can be used to see if your formulas are correct; that is, the distance from home to home should be zero.

Let Excel Get the Information for You

What follows is for anyone tired of copying cumbersome latitude and longitude data.  Unfortunately, it only works on the current version of Microsoft 365 Excel, and apparently goes off into the big cloud in the sky to instantly download the information.

  1. Enter the town followed by either the US state, Canadian province, or other country name (Column A).
  2. Copy these locations to the next column (Column B).  The cells in Column B will become temporary geography cells.  Note:  As shown above, the data have already been converted to geography format (Step 4).
  3. Make sure you have all the geography cell locations selected (Column B).
  4. On the Data ribbon select Geography.  A map icon will appear at the left of each cell, and the state, province and country will be truncated.
  5. For the first latitude (Cell C7), enter =B7.Latitude; likewise, =B7.Longitude in Cell D7.
  6. The formulas in C7 and D7 can be replicated down your list.
  7. Columns for miles and kilometers (E and F) can be added using the distance formula as described above.

The geography data (Column B) cannot be replicated.  If you want to add data later, you will have to reapply the geography format for the new data.  Or, latitude and longitude can still be inserted manually for any additional entries.  The geography data (Column B) are not needed beyond this point and can be deleted or hidden.

Note:  I logged on to my first mainframe computer in September 1976 and have never ceased to be amazed at what these confounded things can be made to do.  I tried as best I could to trip the system with small, obscure towns in faraway places, as well as duplicate names.  I finally succeeded with a relatively large city, Ulaanbaatar, Mongolia.  To be fair, I tried to get it to accept alternate spellings.  So, if you need that one, you’ll have to enter it manually.

Medium Wave Example

This example is for medium wave DXers in Region 2, the Americas.  It makes use of the FCC AM database at https://www.fcc.gov/media/radio/am-query.  The database currently contains more than 24,500 entries, many of these are duplicate entries for stations using different daytime and nighttime powers.

  1. Download the database as a pipe-delimited text file.
  2. Import the file into Excel.
  3. Create additional columns to convert the latitude and longitude data from degree-minute-second format to decimal as described above.
  4. Add some rows above and enter your home coordinates in decimal.
  5. Create another column to calculate the distance from home to all the stations, again using the base formula above.
  6. Hide any columns in the FCC database that you don’t need.
  7. Finally, by creating an Excel table from all of the data, except your home location, you can do some on-the-fly filtering.

The example below shows some of the stations near our example home in Belle Fourche, South Dakota.  The Distance column on the right has a filter applied to limit the listing in the table to stations within a 150 mile radius, that is, it only lists potential daytime stations.  You could also use the conditional formatting feature of Excel to highlight the same information in the unfiltered data.

Shortwave Example

The AOKI log, http://www1.s2.starcat.ne.jp/ndxc/, has listings for all of the recent broadcasting cycles, B21, A21, etc.  The Excel format files are zipped for download, and include the latitude and longitude of each station.  Unfortunately the coordinates are not only in degrees, minutes and seconds, but they are all mashed together in one cell for each listing.  Excel to the rescue again.  Select Text to Columns in the Data Tools portion of the Data ribbon.  This feature will allow you to divide the single column into four columns each for latitude and longitude, that is, degrees, minutes, seconds and hemisphere.  Then you can use the conversion formula to change degrees-minutes-seconds to decimal.  Note that the first three digits used for longitude are minutes (they go up to 180); the remaining numerical columns have two digits each (up to 60 or 90), and the hemisphere columns (alpha) one character each.

Accuracy

Here are a few things affecting accuracy:

  1. The constants 3959 or 6371 used in the formula for miles and kilometers are generally accepted averages for the earth’s radius.  The difference between the equatorial (longer) and polar (shorter) radii is about 13 miles.
  2. If you are using town locations in your data, remember that the actual distance to the tower in that town is likely to be different.  The FCC and AOKI data are assumed to be station tower locations.
  3. Some decimal sources of latitude and longitude data have less resolution, which could lead to a slight error.

You’re on Your Own

You may have noticed the examples shown in the figures all have multiple station locations. My thought in doing this was provide some test for accuracy and secondly to provide a seed for developing the spreadsheet into a more inclusive log of stations. There is likely enough basic Excel knowledge among the folks gathered here, and each person will likely have an individual preference in designing a spreadsheet. Nevertheless, the spreadsheet shown in the figures can be downloaded by clicking this link.

The first sheet shows Figures 1 and 2 from this article; and the second sheet, Figure 3. The link in Cell I2 of the second sheet describes how to use the geography feature of Microsoft 365 Excel. The third sheet is a recent copy of the FCC AM database (Figure 4). To facilitate storage and downloading, only stations from 530 kHz to 600 kHz are included. Numerous unused columns from the FCC AM database have been hidden; so you can still copy the full, pipe-delimited FCC database into Columns A through AH. The FCC database has been converted to an Excel table; the Home location is not part of the table. Try substituting your own location for Home (Cells AI2, latitude and AJ2, longitude) and setting a distance filter from your home in Cell AK4. In the example, the distance filter has been set limiting the list of stations to less than 600 miles from our example in South Dakota. Note also that the Conditional Formatting feature on the Home ribbon has been used to highlight stations less than 100 miles from home.

If you have any interest in developing your own spreadsheet, perhaps you can comment on what you have done, or provide the rest of us with something I have missed. Hopefully, I have provided enough information to get you started.

Spread the radio love

DX Central’s MW Frequency Challenge: Week 11 Results and Week 12 Announcement

Many thanks to SWLing Post contributor Loyd Van Horn at DX Central who shares the following announcement:


Another great week of DX and another productive one for us at DX Central and for many DXers, according to the logs!  We spent the week diving back into another graveyard frequency (1490) and the results speak for themselves!

As a reminder, our live streams on Sunday nights have been so much fun getting to interact and hear about what you heard in the previous week.  If you haven’t been able to make it to a livestream yet, you are missing out!  Join us Sundays at 1945 CST / 0145 UTC (Monday morning, UTC) on our YouTube channel:  youtube.com/c/dxcentral

A total of 22 DXers from three countries (Mexico, Canada and the US) and 18 US States brought in 127 logs for Week 11 of our MW Frequency Challenge.    76 unique stations in 34 U.S. states and three countries made it to this week’s log. Continue reading

Spread the radio love

Guest Post: Following the Ethiopian war over shortwave radio

Many thanks to SWLing Post contributor and political cartoonist, Carlos Latuff, who shares the following guest post:


Carlos Latuff at Catacumba Park in Rio de Janeiro, monitoring Ethiopian broadcasts.

ETHIOPIA: A WAR THROUGH RADIO

by Carlos Latuff, special for The SWLing Post

We just entered 2022 and the civil war in Ethiopia has already completed 1 year. On the one hand we have the  Tigray People’s Liberation Front (TPLF) guerrillas from northern Ethiopia and its allies, and on the other hand we have the armed forces of Ethiopian government and its allies. The dead are piling up, accusations of war crimes from both sides, local and international political interests at stake, and no perspective for a peaceful solution. Without going into the reasons for this new war in Ethiopian territory, I’d like to focus on the use of radio waves by both parties of this conflict.

I monitored shortwave broadcasts from Ethiopia and to Ethiopia between October 21, 2021 and January 4, 2022. The receivers were Tecsun PL-606 and XHDATA D-808, using both the telescopic antenna and a long wire. In all cases, listening was carried out in Brazilian cities.

Carlos at Catacumba Park monitoring and recording clandestine Ethiopian broadcasts.

The monitored stations were: Continue reading

Spread the radio love

Guest Post: An Introduction to DXing the MF Marine Bands

Many thanks to SWLing Post contributor, Don Moore–author of  Following Ghosts in Northern Peru–for the following guest post:


Monitoring the MF Marine Bands

By Don Moore

For me, DXing has always been about the challenge of receiving difficult-to-hear radio stations, regardless of the type of station or frequency range. In my five decades in the radio hobby I’ve logged a lot of different kinds of stations – shortwave broadcast, medium wave, shortwave utility, longwave beacons, etc. But some of my favorite catches have been in the upper end of the medium frequency range.

Technically speaking, medium frequency (MF) is the range from 300 to 3000 kHz and includes the standard medium wave (AM) broadcast band. The upper end of the MF band, from 1600 to 3000 kHz (except for a small portion reserved for amateur radio),  has always been assigned to various types of utility uses including broadcasts and other voice communications from regional maritime stations. And while digital modes and satellites have done a lot to change the nature of communication with ships at sea, there is still a lot of good human-voice DX to be heard.

Several dozen stations, mostly in Europe and North America, broadcast regularly scheduled marine information broadcasts in the MF range. These broadcasts are usually between five to ten minutes in length and include weather forecasts, navigational warnings, and other notices to keep ships at sea safe. On occasion it’s possible to hear two-way voice communication here between ships and shore stations, although that’s much less common today.

The Equipment

Nothing special is needed to DX the marine MF band other than a receiver that covers the frequency range and can receive USB mode (which all these broadcasts are in). However, for reasons explained below, I highly recommend using an SDR to make spectrum recordings of the entire band to go through later. Continue reading

Spread the radio love

Guest Post: Don targets rare Norwegian stations during Newfoundland DXpedition

Photo by the Bjørnøya Meteorologiske Stasjon

Many thanks to SWLing Post contributor, Don Moore–author of  Following Ghosts in Northern Peru–for the following guest post:


The Rarest DX?

By Don Moore

In mid-October I received an invitation to attend the annual DXpedition in Cappahayden, Newfoundland with Jean Burnell, John Fisher, and Jim Renfrews. It didn’t take long for me to say yes. Newfoundland is one of the best places in the world to DX from and all kinds of amazing stuff has been heard there. I was excited at the prospect of great medium wave DX and being able to log low-powered European private and pirate shortwave broadcasters.

But something else was at the top of my try-for list. One of my many DX interests has always been logging coastal marine stations in the 1600 to 3000 kHz range. In preparation I started checking online sources to update my spreadsheet of schedules. In going through a recently added section on Marine Broadcasts in the DX Info Centre website I came across listings for twice-daily weather broadcasts from Hopen Island on 1750 kHz and Bjørnøya (Bear Island) on 1757 kHz.

I didn’t remember ever seeing anything about broadcasts from these remote islands in the Norwegian Arctic before. Were these stations actually on the air, I wondered. And if they were, could I hear them in Newfoundland? Continue reading

Spread the radio love

Gary DeBock’s XHDATA D-808 loopstick model

Many thanks to SWLing Post contributor, Gary DeBock, who shares the following:

The 7.5 inch (19cm) loopstick XHDATA D-808 model was designed to be the ultimate AM-DXing (or Longwave DXing) travel portable, and can be built for a construction cost of around $30 US. It has already been used by numerous DXers to track down transcontinental and transoceanic AM-DX during overseas travel, and the orange plastic loopstick frame allows full operation of the whip antenna for FM and Shortwave reception.

The modification procedure isn’t difficult, and the full construction article is posted at

https://dreamcrafts.app.box.com/s/5d0pi85jfptgmrj4pd0jsmaybgb6gteh

A video demonstration of its daytime DX performance (compared to the stock model) has been posted on YouTube:

Build one, and join the fun! 🙂

Many thanks for sharing this, Gary! Your ultralight DXing creations are simply amazing!

Spread the radio love

Guest Post: A synchronous detector crash course!

Many thanks to SWLing Post contributor, 13dka, who shares the following guest post:


Revisiting the Belka’s “pseudo-sync detector”: A sync detector crash course!

by 13dka

“It’s usually hard to assess whether or not a sync detector helped with a particular dip in the signal or not, unless you have 2 samples of the same radio to record their output simultaneously and compare.”*

That’s what I wrote about the “pseudo sync detector” in my review of the Belka DSP last year.

Since I was recently upgrading to the Belka DX in order to pass on the Belka DSP to a friend, I had briefly two examples of almost the same radio on the table at the dike. I tuned them to the same stations and recorded some audio clips with one radio on sync detector, the other in regular AM mode, to answer the question whether or not sync has “helped with a particular dip in the signal”. Then I thought that demonstration would be an opportunity to try an explanation on what exactly (I think) sync detectors are all about anyway, hoping to find a middle ground between “technical” and “dumbed down beyond recognition”.

The trouble with sync detectors

Perhaps no component of a shortwave receiver is surrounded by so much misconception and confusion as sync detectors. Full disclosure: Until quite recently, I had an, at best, vague concept on what they do myself. It seems it’s not so much that people don’t know how they work, what they actually do when they work is where the ideas often diverge. Continue reading

Spread the radio love