Skip to main content

Fun with GPT-5 and HF Propagation Analysis (Model Verification)

 


Do LLMs always generate the correct set of code given their inputs? Nope. You can use the same LLM to verifiy its own outputs if we're clever about it though. Here's an example from a recent HF interference model I asked GPT-5 to build for me after a Parks on the Air (POTA) ham radio outing in downtown San Francisco. 

My first QSO perched on the edge of One Maritime Plaza was with AL7KC. That's not too surprising, I pretty regularly communicate with AL7KC. Except. It was kinda surprising because there was a skyscraper—Gateway Vista West—directly across the street between me and Alaska and about twenty-three meters away.

View from the QTH

That one little skyscraper led to a lot of fun HF propagation analysis using GPT-5. I described the area around my transmit site at One Maritime Plaza to GPT-5. I got some really interesting interference patterns based on the surrounding buildings. As I was going, I double checked GPT-5's output to make sure the buildings were where I'd said they were. I had to change a few obvious mistakes, but other than that, everything looked ok.

Then, last night, it occurred to me that I could ask GPT-5 to check its geographic model for me:



This is the resulting CZML the GPT-5 made of the points I'd asked it to model.

Initial, incorrect, GPT-5 model of Gateway Vista West with corner extending beyond the south facing wall and structural detail on One Maritime Plaza.

Clearly, I had a few things to straighten out.

After clarifying to the LLM the coordinates of the building:

I double checked just in case this was something in the modeling code I didn't understand:


Interestingly, GPT-5 didn't confess its error this time. I carried on, asking it to make the fixes:



 and was rewarded with this mostly correct version of Gateway Vista West.

Wide, corrected GPT-5 Cesium view of Gateway Vista West and One Maritime Plaza with propagation modeling features.

At which point I asked GPT-5 to put the entire model back in. Here's where I am now. I need to inquire as to why the walls on the Alcoa building are as thick with points as they are. I believe/hope that has to do with material modeling for concrete/rebar walls based on a journal article GPT-5 found, but I'll keep you posted.

GPT-5 output list of CZML features modeled in Cesium for HF propagation analysis.

Comments

Popular posts from this blog

Cool Math Tricks: Deriving the Divergence, (Del or Nabla) into New (Cylindrical) Coordinate Systems

Now available as a Kindle ebook for 99 cents ! Get a spiffy ebook, and fund more physics The following is a pretty lengthy procedure, but converting the divergence, (nabla, del) operator between coordinate systems comes up pretty often. While there are tables for converting between common coordinate systems , there seem to be fewer explanations of the procedure for deriving the conversion, so here goes! What do we actually want? To convert the Cartesian nabla to the nabla for another coordinate system, say… cylindrical coordinates. What we’ll need: 1. The Cartesian Nabla: 2. A set of equations relating the Cartesian coordinates to cylindrical coordinates: 3. A set of equations relating the Cartesian basis vectors to the basis vectors of the new coordinate system: How to do it: Use the chain rule for differentiation to convert the derivatives with respect to the Cartesian variables to derivatives with respect to the cylindrical variables. The chain ...

The Valentine's Day Magnetic Monopole

There's an assymetry to the form of the two Maxwell's equations shown in picture 1.  While the divergence of the electric field is proportional to the electric charge density at a given point, the divergence of the magnetic field is equal to zero.  This is typically explained in the following way.  While we know that electrons, the fundamental electric charge carriers exist, evidence seems to indicate that magnetic monopoles, the particles that would carry magnetic 'charge', either don't exist, or, the energies required to create them are so high that they are exceedingly rare.  That doesn't stop us from looking for them though! Keeping with the theme of Fairbank[1] and his academic progeny over the semester break, today's post is about the discovery of a magnetic monopole candidate event by one of the Fairbank's graduate students, Blas Cabrera[2].  Cabrera was utilizing a loop type of magnetic monopole detector.  Its operation is in...

More Cowbell! Record Production using Google Forms and Charts

First, the what : This article shows how to embed a new Google Form into any web page. To demonstrate ths, a chart and form that allow blog readers to control the recording levels of each instrument in Blue Oyster Cult's "(Don't Fear) The Reaper" is used. HTML code from the Google version of the form included on this page is shown and the parts that need to be modified are highlighted. Next, the why : Google recently released an e-mail form feature that allows users of Google Documents to create an e-mail a form that automatically places each user's input into an associated spreadsheet. As it turns out, with a little bit of work, the forms that are created by Google Docs can be embedded into any web page. Now, The Goods: Click on the instrument you want turned up, click the submit button and then refresh the page. Through the magic of Google Forms as soon as you click on submit and refresh this web page, the data chart will update immediately. Turn up the:...