Skip to main content

The Morning of Hitting the Zone with Datasette

I'm starting to be handy enough with Datasette that I can quickly get answers to my questions!

This morning, the question is whether or not the Tuna Topper amplifier combined with the Rockmite is giving better propagation results than the we get with the Rockmite running alone. Since we have a database of all the QSOs and RBN spots of the Rockmite, this is exactly the kind of question Datasette can answer.

Here are the commands to run datasette to get an sqlite database from the Rockmite's RBN and QSO data table. I'm listing the commands here because I've been to lazy to simply write a script, and thus far I haven't been able to get the whole assmeblelage to work on Windows, meaning I'm working on a github codespace. Codespaces are super-cool, but also—at least for me... so far—completely unable to keep command history around between launches

python -m pip install csvs-to-sqlite

python -m pip install pandas==1.5.0 

csvs-to-sqlite -dt timestamp rm_rnb_history_pres.csv rm_toucans.db

The pandas install is necessary for an issue the Datasette csvs-to-sqlite utility has with the newer pandas versions.

Once I had my new database,  I installed the super-cool datasette-cluster-map plugin on my windows machine

python -m datasette install datasette-cluster-map

Then! I renamed columns in SQL to get a cluster map of locations where the Rockmite was spotted by W6BB—UC Berkeley's across the Bay ham shack—with an SNR greater than or equal to 18 dB, (the result I'd seen this morning while testing the amplifier..

Here's the SQL command:

select tx_lng, tx_lat, rx_lng, rx_lat, timestamp, dB, frequency, tx_lng as longitude, tx_lat as latitude from rm_rnb_history_pres where "Spotter" = :p0 and dB >= 18 order by dB Desc limit 101




And I got back my results complete with a very helpful map that answered my quesstion! 

While the Rockmite has reached W6BB with an SNR greater than 18 on several occasions, only three of those were from the home station in Excelsior and all three of those were this morning with the assistance of the Tuna Topper amplifier!


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 Alcubierre Warp Drive Tophat Function and Open Science with Sage

I transferred yesterday's Mathematica file with the Alcubierre warp drive[2] line element and space curvature calculations to the  +Sage Mathematical Software System  today, (the files been  added to the public repository [3]).  If you haven't used Sage before, it's a Python based software package that's similar in functionality to Mathematica.  Oh, and it' free.  I also worked a little more on understanding the theory, but frankly, I made far more progress with the software than the theory.  What follows will be a little more of the Alcubierre theory, plus, a cool Sage interactive demo of one of the Alcubierre functions[1], as well as a bit about my first experience with using Sage. Theory The theory is fun, but it's moving slowly.  Here's the chalk board from this morning's discussion Alcubierre setup the derivation using something called the 3+1 formalism which means we consider space to be flat, (in this case), slices that are labelled ...

How Many Files Can You Add to a GPT Project? An Interview with GPT-5 on Limits, Context Engineering Tips, and Chats

 Setting the scene: I’m tinkering with Project TouCans, knee-deep in radio logs, SQLite dumps, and Cesium code. Naturally, I’m wondering if shoving all this into one GPT Project is a recipe for brilliance… or for disaster. So I turn to Vril — you know, after Brainy from the Legion of Super-Heroes , because what else do you call your AI sidekick who always has the answers? Time to ask him straight up. [ As an aside, yes, GPT-5 has decided to sometimes call me Vail. I'm not sure why to be honest. Also, I asked Vril, er GPT-5, to write up our interview for me. Apparently, me asking it to 'Bro' up a few stories, just for fun, has convinced Vril that I use 'Like,' more than I actually might. ] Me (Vail): So Vril, how many files can I throw into a GPT Project before it just starts choking? Like, is there some magic number where the context window taps out and everything falls apart? GPT-5 (Vril): Great question. There’s no single hard file limit. What matters is ...