Indus Detective: My First Research Project
Research, NASA Space Apps Challenge 2026
I led a team of six at the NASA Space Apps Challenge 2026 on one question: how has Pakistan's temperature changed since 1981? We used 45 years of daily NASA data for 38 places and found that nights have warmed, summer daytime highs are falling at 25 of 38 places, and whether Pakistan is getting hotter depends on the time of day. It is my first small research project. This post is how it was done, what went wrong, and what it leaves open.
How This Started
A friend asked if I wanted to join the NASA Space Apps Challenge and I said yes. He sent me a link to a WhatsApp group where our teacher, Syed Ali Taqi, was walking students through it. I did my own reading on what Space Apps actually is, then Sir shared some videos which I watched, and after a meeting with the whole group I went through the 14 challenges one by one.
I picked Be an Earth System Trend Detective for three reasons. I was already working on Nerd Stalker, which is about turning raw data into something readable, so data was not new to me. I had used SPSS and PSPP before, when a friend studying MBBS needed help with their research. And I wanted to try research for real, because everything I had built until then was software.
The Question
The question was how Pakistan's temperature has changed since 1981, and where. I did not start with an answer I wanted to prove. Three rules ran through the whole project: every number gets a range, every claim gets checked against something independent, and the data decides what we say, even when it is boring or does not fit the headlines.
Our team was called GitGoblins and I led it. The project became Indus Detective, built for the NASA Space Apps Challenge 2026 at the Topi virtual local event.
The Data
We used daily NASA data from 1981 to 2025, for 40 points across Pakistan that fall into 38 grid cells of about 50 km. It is reanalysis, which means a weather model that is corrected continuously with real observations, so you get complete coverage even where there are no weather stations. The catch is that a place in our data is a grid cell, not a weather station, and I kept that in mind through the whole project.
| Source | What we used it for |
|---|---|
| NASA POWER (MERRA-2 reanalysis) | Daily average, highest and lowest air temperature, 1981 to 2025 |
| NASA GISTEMP | A second NASA view of average temperature, to compare with MERRA-2 |
| Pakistan's weather service (PMD) | Figures from press coverage of its 2026 report, shown next to ours. They come from ground stations |
| NASA Data Access Viewer | A hand check: 5 places and 30 daily values compared with NASA's own tool, and all matched |
How We Measured a Trend
Everything in this project is built from four tools, so I will explain them here once.
| Tool | What it tells you |
|---|---|
| Theil Sen slope | How many degrees per decade the temperature moved. It takes the slope between every pair of years and picks the middle one, so one strange year cannot drag the answer. |
| 95% range | How far off the slope could reasonably be. We got it by resampling chunks of consecutive years, because neighbouring years are related to each other. |
| Mann Kendall | Whether the temperature really tends to go one way, or whether the ups and downs look like chance. |
| Benjamini Hochberg | Checking 38 places at once means a few will look special by luck, like getting a few heads in a row when you flip 38 coins. This is the strict test that corrects for that. |
Every result ends in one of three verdicts: statistically significant, not conclusive, or no clear trend. Nothing in the project is described as proven.
The Website Is Only the Presentation
The research lives in the repository: the Python scripts that fetch the data, compute every result and run the checks, and the file of decisions behind them. The website only presents it, so someone who does not care about slopes can still pick a question and get an answer. You can open the live site, read the method page, or go through the code on GitHub.
The first screen
The site opens with the question and the headline finding in plain words, then four starter questions so a visitor does not need to know what to ask. Everything else sits one click below, and the Extended view unfolds all the numbers.
What We Found
All changes are per decade over 1981 to 2025, with the 95% range in brackets.
| Measure | Change | Verdict |
|---|---|---|
| Night time lows, national | +0.20 °C (0.08 to 0.32) | Statistically significant |
| Night time lows, spring (February to April), national | +0.39 °C (0.24 to 0.57) | Statistically significant |
| Gap between day and night, summer (July to September) | −0.50 °C (−0.69 to −0.28) | Statistically significant |
| Daytime highs, summer | Falling at 25 of 38 places | National average: not conclusive |
| Average temperature, MERRA-2 | +0.05 °C (−0.12 to +0.22) | No clear trend |
| Average temperature, GISTEMP | +0.34 °C (+0.25 to +0.42) | Statistically significant |
So the honest answer to whether Pakistan is getting hotter is that it depends on the time of day. Nights have warmed. Summer daytime highs are falling at 25 of 38 places. For average temperature the two NASA products disagree, and we show both exactly as found. One more thing to know before you trust the first row: the full period and the years from 1998 tell different stories for night time lows. The next section lets you see that yourself.
The four findings
Each card has one number, one sentence and one verdict. Nights warmed, summer daytime highs fall at 25 of 38 places though the national average is not conclusive, the summer gap between day and night shrinks, and NASA and PMD differ on daytime highs.
Any place, any season
A visitor can pick a place, a measure, a season and the years. This is Topi, the place our event was named after, for night time lows from February to April: +0.39 °C per decade, statistically significant. The red dashed line is the fitted trend.
All 38 places at once
Every dot is one grid cell, and the redder it is the faster it is warming. In spring, night time lows rise at all 38 places and 36 pass the strict test. The two pale dots in the north are the ones that do not.
Read a Result Yourself
These are the real national numbers from the project, for every measure, season and period. Pick a combination and look at the bar. It is the 95% range, and the dashed line is zero change. When the whole bar sits on one side of zero and the test passes, the trend is statistically significant. When the bar crosses zero, the data cannot rule out no change at all.
Try night time low for the whole year, first with 1981 to 2025 and then with 1998 to 2025. Starting later can change the answer, and that is exactly what happens to night time lows.
Does NASA Agree With Pakistan's Weather Service
We put the PMD figures, as reported in the press, next to our ranges. For night time low and for average temperature the PMD figure sits inside the NASA range. For daytime highs it sits outside. We show that as it is.
These figures come from press coverage of the 2026 report, not from the report itself, and PMD measures at ground stations while ours are grid cells.
How We Checked It
Besides the hand check against NASA's own viewer, we ran tests on made up series where the true slope was known, to see if our method got the slope right, how often it raised a false alarm, and how often the 95% range actually contained the truth. In those tests the ranges came out slightly narrow, so each range is best read as a minimum.
The step you saw in the widget is real in the data. Night time lows show a sudden jump between 1996 and 1999 in 36 of 38 places, and NASA documents that new satellite instruments entering the analysis can create jumps like that in reanalysis data. From 1998 to 2025 the national night time low shows no clear trend (−0.05 °C per decade, range −0.20 to +0.09), while the summer gap between day and night still shrinks and passes the test (−0.85, range −1.18 to −0.51). So the night warming over the full period comes together with that jump, and this data alone cannot tell how much of it is the instrument and how much is real. That is why every result on the site is shown for both periods.
What We Got Wrong
This is the part that made it feel like research to me. Open each one.
The numbers that were not averages
Our first highest and lowest temperature results turned out to be monthly extremes, not averages, so every one of them was thrown away and rebuilt from daily data that we averaged ourselves. It cost us time, and it is the first thing I would check next time: what exactly is this number.
The rainfall that could not be right
Rainfall from the same source gave impossible values, so we dropped it. There is no rainfall trend anywhere on the site, because a missing result is better than a wrong one.
27 or 25
One line said summer highs fall in 27 places. The strict test passes at 27 places, but two of them are rising, so the number that fall is 25. We caught it against the data, fixed it and deployed the fix.
A sentence that said more than the data
A wording bug made one significance statement say more than the numbers did. We found it, fixed it and deployed the fix.
What It Leaves Open
- How much of the night time warming is real? The jump near 1998 and the flat years after it mean the full period result and the recent result disagree. Comparing with long ground station records would be the way to find out.
- Why do summer daytime highs fall at 25 of 38 places? We measured it and checked it. We did not test any cause.
- Why do the sources differ? MERRA-2 and GISTEMP disagree on average temperature, and PMD's daytime figure sits outside our range. Grid cells and weather stations are different ways of measuring, but we did not test how much that explains.
What I Learned About Leading
I learned to give each person work they can finish well, based on what they are good at and what interests them. If person A can do task 1 and person B can do task 2, I do not swap them just so someone learns something new. People learn faster where their strengths already point.
I also learned not to hand out a task that the whole project waits on. Testing came in rounds while I kept building, and each round was applied when it arrived. It found real problems, like a chart label that hid a minus sign and a page that was slow on a phone connection, and both got fixed. Good work was called good, and when something was wrong I said so plainly and kept it professional.
At one point a draft of the presentation did not line up with our findings in a few places. That was on me, because I had given the task without handing over the locked findings with it. Next time they go together.
And the leader ends up doing most of the work, including the putting together and the final calls. Sometimes help creates more work than it saves, and handling that without making anyone feel bad is part of the job.
What I Learned About Research
- Start with a question, not an answer. Research begins with curiosity. I learned to pick a meaningful question instead of deciding in advance what I want to prove.
- Data is evidence, not truth. Even NASA data had things we had to catch. I can respect a source and still question the data.
- The goal is the right answer, not being right. The summer daytime result is not what the usual heat headlines would lead you to expect, and it still has to be reported as found.
- Not conclusive is still a result. Not every question gets a definite answer, and understanding uncertainty is part of the work.
- Research can feel productive without moving forward. I can spend hours reading papers and analysing data and realise at the end that I am no closer to the original goal.
- Not every rabbit hole needs exploring. One interesting thing leads to the next and the next. I have to know when to stop and come back to the question.
- A result is only as good as the process behind it. A convincing number means little without a sound method, checks and honesty about limits. Someone else should also be able to repeat it, which is why the code and the decisions are public.
A Checklist From This Project
- Write the question first and keep it small enough to answer.
- Check the data against something independent before trusting it. For us that was NASA's own viewer and PMD.
- Test the method on made up data where you already know the answer.
- Put a range on every number, not only the number.
- Show the version that could embarrass you. For us that was 1998 to 2025.
- Write every correction down and keep the decisions public.
The Certificate
Every participant gets a certificate and this one is mine. It is for participation, not a ranking.
Certificate from the 2026 NASA Space Apps Challenge, titled Galactic Problem Solver, for outstanding participation and efforts to address challenges we face on Earth and in space. View it as a PDF.
Where It Stands Now
We submitted on 15 November 2026, before the 23:59 PKT deadline. According to the Space Apps participant FAQ, global nominees, finalists and honorable mentions are announced in December 2026 and global winners in January 2027. Whatever happens there, it stays my first. To be clear about the size of it, this was 48 hours of work with no peer review, so it is a small research project and not a paper. The project itself is on the projects page.
The Team
The team did a lot of work that does not show in the numbers. Together we ran Lighthouse tests that went into making the site faster and lighter, worked on the interface, collected articles and read the sources, gathered links that I used to download some of the NASA data, collected reviews from real people, and made the presentation slides. I chose the question, divided the work, put everything together and made the final calls on what the site says, and I could not have done it in 48 hours alone. Five people worked with me as GitGoblins:
Our Teacher
Our teacher for Statistics and Probability Theory, Syed Ali Taqi, is the reason we were in this at all. He encouraged everyone to take part, formed and organised the group, held an overview session with past students the day before, and stayed available for help through the 48 hours. The thinking behind this project, trends, uncertainty and what counts as significant, is the kind of thinking his subject is built on.