Portrait of Marcin Polkowski

Physics, data and things I build: homemade seismographs, GPS, planes, drones, smog sensors and the code behind them.

48 posts2009–2022 About meRSS feed

2022

  1. 2022 Southwest Airlines “meltdown”

    The so-called “Southwest meltdown” happened this week as severe winter weather hit most of the US. Thousands of flights got canceled, making tens or even hundreds of thousands of people unhappy. Southwest operates…

    2 min readFlight Data

  2. Counting airplanes throughout the Pandemic

    As I mentioned a a few months ago I’ve been collecting flight statistics for over 4 years. It happened that these 4 years were the most interesting in the industry ever. 2022 is the year when the travel demand is back…

    4 min readFlight Data

  3. How to calculate the value of the biggest prime we know?

    I hope that I don’t need to introduce prime numbers to anyone. They are fascinating for all mathematic enthusiasts. We know a lot of prime numbers, but we have no formula to calculate them. Search for the biggest primes…

    2 min readLinuxPython

  4. Passion for data and plane travel

    I’m very enthusiastic about both data science and plane travel. I found a way of combining these two passions. It stared from my frequently visiting flight tracking websites like adsbexchange.com or flightradar24.com.…

    1 min readFlight Data

  5. GMT (Generic Mapping Toolbox) in Docker

    GMT (Generic Mapping Toolbox) is a very powerful tool for making maps. It is primarily a command line tool that creates Post Script files (yes, sound like very old times, but still powerful). It is available from the…

    2 min readDocker

  6. Plotting maps in Python

    Python is great for processing and visualizing data. Today I’d like to share simple tips around plotting data on map using Python.

    2 min readPython

  7. Generating images with LaTeX equations

    Sometimes it is useful to generate an image (like a PNG file) with a high-resolution mathematical equation. I know that there are online tools for doing that but imagine you are like me and prefer getting things done…

    1 min readDockerLaTeX

  8. Hi there 👋

    Hi, my name is Marcin. I’m originally from Poland but live in the Bay Area, California. Professionally, I’m a data scientist and a software engineer. I’m passionate about data science, machine learning, and software…

    1 min read

2018

  1. A few photos from a trip to the USA

    Before I share the photos, a few words of introduction about how I ended up on the West Coast of the USA. Before Easter I attended the huge (>8k attendees) nVidia GTC conference, which, as every year, was held at the…

    2 min readPhotographyPersonaltranslated from Polish

  2. Smog sensors: mine vs. Airly – a first comparison

    As I mentioned before, there are 7 devices I built running in Legionowo near Warsaw, measuring the amount of particulate matter in the air. All the measurements are collected and neatly presented by the website…

    4 min readAir QualityDIYDatatranslated from Polish

  3. Building your own smog sensor #1

    I promised to share detailed instructions for building your own smog sensor. I'd like to aim them at people who don't work in electronics or IT professionally but have at least a faint idea about both. Building the…

    3 min readElectronicsDIYAir Qualitytranslated from Polish

2017

  1. Smog armageddon

    Over the last few days the media have been dominated by the terrible air quality in Polish cities. This is not some abstract problem – all you have to do is step outside to see and smell how bad the air is. Smog needs…

    6 min readAir QualityPythonDronestranslated from Polish

  2. New Year from above

    To take a nice photo with a drone, you need good weather (no rain, not too much wind, etc.) and a good time of day (ideally around sunrise or sunset, or nice clouds). Some events happen even less often and are worth…

    1 min readDronesPhotographytranslated from Polish

2016

  1. A Christmas exercise for students

    Every year, as Christmas approaches, I give the first-year students in my introduction to programming in Python a short in-class quiz with a no-brainer of a task: make a Christmas-themed plot. Christmas falls more or…

    2 min readTeachingPythontranslated from Polish

  2. How high do planes fly?

    While going through the regulations on restrictions for drone flights near airports, I started wondering at what altitudes airliners actually fly during takeoffs and landings.

    3 min readFlight DataDronesDatatranslated from Polish

  3. A simple puzzle as a programming exercise

    Every idea for a good programming exercise is very valuable. A good exercise for students should be interesting and tied to some real-life problem, so that it's easier to focus on the essence of programming rather than…

    48 min readProgrammingPythonTeachingtranslated from Polish

  4. Photos from my last few drone flights

    Drones let you look at the world around you from a different perspective. Over the last few weeks I've flown a dozen or so times, and I wanted to share with you the photos I managed to take. From above the Vistula, near…

    1 min readDronesPhotographytranslated from Polish

  5. A clever way around per-IP request limits

    A long, long time ago I took on the job of parsing data from a certain website that enforced a limit on the number of requests from a single IP address. It worked more or less like this: after a few requests, the IP…

    3 min readProgrammingSoftwaretranslated from Polish

  6. How computers represent time

    Time is one of the basic "parameters" of the world, something we record (remember) and convert many times every day. These days that means it's processed by computers. You might think it's a simple matter, but a whole…

    3 min readProgrammingSoftwaretranslated from Polish

  7. Can Python be 876 times faster?

    I started using Python about 5 years ago. At first I wasn't convinced, but I had no choice. Over time it won me over, and I've done a number of projects with it, both small and large. I also taught introductory…

    6 min readPythonProgrammingtranslated from Polish

  8. Lecture “3D seismic studies of Poland”

    Even before defending my PhD, I was asked to give a lecture on the subject of my doctoral thesis for the student geophysics society at the Faculty of Physics, University of Warsaw.

    1 min readSeismologyGeophysicstranslated from Polish

  9. How I became a PhD on Monday

    On Monday, October 17, I defended my doctoral thesis at the Faculty of Physics of the University of Warsaw. It is titled "Locating earthquake hypocenters by back-propagation using an implementation of the fast marching…

    2 min readPersonalSeismologytranslated from Polish

  10. What we don't know about floating-point numbers

    For the last 4 years I've been teaching lab classes at the Faculty of Physics for several programming courses in Python and C++. A few times I've been asked about floating-point numbers. In class we cover the binary…

    3 min readProgrammingTeachingtranslated from Polish

  11. A sound card as an A/D converter for a seismograph

    A reader asked about my homemade seismic sensor. My answer: where its signal comes from, and how to record it with a computer sound card.

    3 min readSeismologyElectronicsDIYtranslated from Polish

  12. Applying for IT jobs at big companies – the recruitment tasks

    In less than two weeks I'll be defending my PhD, and my adventure as a student will come to an end. I was offered a position at the university as a researcher, but even so – partly out of curiosity – I decided to send…

    4 min readProgrammingPersonaltranslated from Polish

  13. The last day of September from a drone: the new IGF building

    Drone photos and a short video from the last day of September: Warsaw from near the Północny Bridge and the new IGF building.

    1 min readDronesPhotographytranslated from Polish

  14. 27 trips to Pomerania, 31,000 km recorded by GPS

    I've already mentioned the "13 BB star" seismic experiment (I promise to write more about it). As part of the experiment, broadband seismic stations were deployed at 13 sites in Pomerania for 3 years. Since we're based…

    3 min readGPSMapsDatatranslated from Polish

  15. A trip to Pomerania from a bird's-eye view [4K]

    A short 4K drone film from a trip to Pomerania.

    1 min readDronestranslated from Polish

  16. The effect of seasonal ionosphere changes on GPS measurements

    For four years I've been taking part in the passive seismic experiment "13BB star". I'll be writing about it many more times, but I need a couple of sentences of introduction here. The goal of the experiment is to…

    2 min readGPSGeophysicsDatatranslated from Polish

  17. Thunderstorms in Poland, 2014 edition

    At the end of 2013 I had the idea of regularly saving an image (a map) showing the current locations of lightning strikes. At the time I was using the blide.de website. Of course I had no intention of doing it by hand,…

    2 min readDataGeophysicstranslated from Polish

  18. A large-format Google map

    I really like maps. One day earlier this year I came up with the idea of decorating a wall with a map of Poland. There was one small catch: I didn't want just any map, I wanted a Google map. A quick look around the…

    3 min readMapsProgrammingtranslated from Polish

  19. The speed of light vs. the internet

    I remember the days when you had to dial up to get on the internet. Everything was painfully slow and you paid for your time "online". My first permanent connection had a bandwidth of 115200 kbps (kilobits per second).…

    3 min readPhysicsDatatranslated from Polish

2011

  1. A seismic recorder

    I've already touched on recording seismic waves when I built and presented a vibration sensor – a geophone. Back then I used the microphone input of a computer sound card as the recorder. Unfortunately, a recorder like…

    3 min readElectronicsGeophysicsSeismologytranslated from Polish

2010

  1. GPS and the misleading average

    I use a Garmin handheld GPS receiver, the GPSmap60CSx. It's a very solid receiver, which only got a successor in 2010. The device has a decent antenna that lets it reach the advertised position accuracy of 3 meters.…

    3 min readGPSDatatranslated from Polish

  2. The Stefan-Boltzmann swimming pool

    I already wrote about the thermodynamic adventures of my garden pool earlier (almost a year ago). The conclusion back then was that once you limit evaporation by covering the water surface with bubble wrap (so that it…

    3 min readPhysicsDatatranslated from Polish

  3. Homemade seismograph – first recordings

    I really wanted to connect two identical sensors to the computer, but that turned out to be impossible, because the laptop has a mono microphone input. For this purpose I bought an external Creative USB sound card with…

    1 min readGeophysicsSeismologyDIYtranslated from Polish

  4. Homemade seismograph – step two

    Yesterday I managed to build a prototype capable of recording strong, local tremors. Today I made a few modifications.

    1 min readGeophysicsSeismologyDIYtranslated from Polish

  5. A homemade seismograph – first attempt

    I've probably mentioned before that I'm interested in seismology. Since there's a fair bit of equipment standing between seismic activity and studying it, it's worth getting to know what works and how. Unfortunately,…

    2 min readGeophysicsSeismologyDIYtranslated from Polish

  6. A DSLR that's almost a microscope

    The purpose of the experiment was to see how much magnification you can get with a standard amateur DSLR, a macro lens and macro extension rings.

    3 min readPhotographyDIYtranslated from Polish

  7. What to do during an earthquake

    Poland lies in an area of negligible seismic activity. This means the probability of tremors strong enough to be felt is negligible. Negligible, but not zero. Last week's earthquake was very strong by Polish standards,…

    1 min readGeophysicsSeismologytranslated from Polish

  8. Haiti earthquake travel-time curve for the whole Earth

    Following up on yesterday's post, where I showed a travel-time curve for the Haiti earthquake made from US Array recordings, today I'd like to show the same kind of travel-time curve, but made from recordings from all…

    1 min readGeophysicsSeismologytranslated from Polish

  9. The Haiti earthquake seen by the US Array network

    I think everyone has heard about the earthquake in Haiti that struck on Tuesday, January 12, 2010. It was a strong, shallow event, so it was well recorded by seismic stations around the world. As it happens, the United…

    1 min readGeophysicsSeismologyDatatranslated from Polish

  10. Seismic wave propagation in a one-dimensional model – part 2

    Since the last post I've managed to improve two aspects of the modeling. I added P- and S-wave attenuation following the PREM model, and I sped up the computations by using multithreading in Matlab.

    1 min readGeophysicsSeismologytranslated from Polish

  11. Seismic wave propagation in a one-dimensional model – part 1

    Some people are surprised that you can study geophysics at the Faculty of Physics of the University of Warsaw, since it's more geo than physics. It turns out there are two kinds of geophysics: geophysics and geophysics.…

    3 min readGeophysicsSeismologyPhysicstranslated from Polish

2009

  1. Can the pressure in a Coca-Cola bottle be dangerous?

    We all know what happens when you shake a bottle of fizzy drink. I don't intend to repeat the physical and chemical description of what goes on; I just want to focus on the effect: the pressure inside the bottle goes…

    2 min readPhysicsDIYtranslated from Polish

  2. LED bulb – first attempt

    Today, while wandering the aisles of Media Markt in Olsztyn looking for a particular halogen bulb, I came across an LED bulb housed in a classic "bulb" shape with an E27 base (in other words, the most ordinary kind).…

    2 min readElectronicstranslated from Polish

  3. Practical thermodynamics – the swimming pool, part 1

    I started thinking about the problem I'm about to describe roughly a month before the summer season began (it's already clear the season hasn't been much to write home about in terms of sunshine and temperatures – I'm…

    5 min readPhysicsDIYtranslated from Polish

  4. The precision of reading / recording a GPS position

    Whenever satellite navigation comes up, people talk about the accuracy of receivers. Anyone who uses GPS units (maybe not the car ones, but hiking and professional ones) knows that a receiver's accuracy (in determining…

    2 min readGPSElectronicsHardwaretranslated from Polish