Spruce bark beetle traps: what the gap between checks does to the index

A 2026 study of Ips typographus pheromone traps calls it swarming when a trap averages more than ten beetles a day. We show with fibub's trap count index how much that number depends on how often the traps are emptied.

The European spruce bark beetle, Ips typographus, kills standing spruce when its numbers rise, and foresters watch for that rise with pheromone traps. A 2026 paper in Insects reports four years of trap catches near the northern edge of the beetle’s range and uses a simple rule to mark the spring swarming: the average catch is above ten beetles per trap per day. That rule is a catch per unit effort, and it is exactly what the trap count index works out from a list of trap checks. This article uses the tool to ask what the rule costs when the traps are emptied less often — which the paper itself had to do for one year. Time the next trapping round with the insect degree-days, and turn a season’s catches into diversity scores with the biodiversity indices.

The paper in brief

The authors ran barrier pheromone traps 1.3 m above the ground, three traps at each point, at two locations in north-west Russia from 2022 to 2025, inspecting them every 5 days from early May to late August. On the Karelian Isthmus in 2024, though, the traps were inspected at 14-day intervals.

Their results are mostly about timing. Spring swarming ran 23 to 30 May in 2022, 6 to 25 May in 2023 and 16 to 25 May in 2025; in 2025 almost nothing was caught after 25 May, with a re-colonisation flight on 12 to 13 July and a second-generation flight on 3 August. Swarming began at 84 to 97 growing degree-days above 5.0 °C in 2022, 81 to 124 in 2023 and 122 to 137 in 2025 (19 to 20, 22 to 25 and 39 to 52 above a base of 8.3 °C), far below the 666 and 420 degree-days reported for Sweden. Catch correlated with temperature at r = 0.76, rising to 0.79 when a 5-day moving average was used first — a small but telling detail, because the smoothing is part of the measurement.

Checked with the tools

The paper’s catch numbers live in its tables and figures, so there is nothing to recompute directly. Instead we simulated one beetle flight (clearly ours, not the paper’s) shaped to the phenology it describes for 2025: a quiet background, a sharp swarming peak around 20 May, a small re-colonisation flight on 12 July and a second-generation flight on 3 August. Then we read that one flight through the tool twice: as checks every 5 days and as checks every 14 days, three traps each time, exactly as the paper’s two schedules.

Step 1: the peak halves. With 5-day checks the index peaks at 21.5 beetles per trap per day on 21 May. With 14-day checks the same beetles give 11.8 on 29 May. Nothing was lost — the catch is the same beetles — but the long interval averages the quiet days in with the busy ones, and the peak drops by 45 %.

Catch per trap per day: 5-day against 14-day checksCatch per trap per day: 5-day against 14-day checks010200255075100Days from 1 May 2025Beetles per trap per dayswarming thresholdEvery 5 daysEvery 14 daysfibub.com
Figure 1. One simulated beetle flight, read through the Trap count index’s maths as checks every 5 days and as checks every 14 days. Our simulation, shaped to the phenology the paper describes for 2025; not the paper’s catches.

Step 2: the alarm comes eight days late. Both schedules cross the paper’s swarming threshold of ten, so the rule survives; but the 5-day schedule flags it on 21 May and the 14-day schedule only on 29 May. For a beetle that has already flown, bored into bark and begun laying, eight days is the difference between a sanitary felling and an outbreak.

Step 3: the totals are safe, the index is not. Pooled over the season, the two schedules caught almost the same beetles, 676 against 675, which is the point of a trap-day index. But the season index differs, 1.878 against 2.009 beetles per trap per day, because the schedules claim different trap-days (360 against 336: 24 checks of 5 days against 8 of 14). The tool’s Days before the first check setting matters for the same reason, and should be the real interval, not a default.

Step 4: the moving average can move the peak. With only eight checks in a season, a 3-check centred moving average smears the one busy check across its neighbours and the tool marks the apparent flight peak on 15 May, a check before the real one. Switch the moving average off and the peak returns to 29 May. On the 5-day series, with 24 checks, the same smoothing leaves the peak where it belongs. The lesson is to match the smoothing window to the check interval: the paper’s 5-day moving average is right for 5-day checks, and wrong for 14-day ones.

Step 5: with long gaps, luck decides. Figure 2 runs the same flight through every check interval from 1 to 14 days. Daily checks show the true peak of 26; a 5-day gap shows 21.5; a 14-day gap shows 11.8. The fall is not smooth, because what you see depends on where the check boundaries happen to land in the flight: a 7-day gap shows 19.3 while a 9-day gap shows 11.0. Two forests monitored a week apart can report peaks that differ by a factor of two with no difference in the beetles.

The peak the schedule can showThe peak the schedule can show0102012468101214Days between trap checksHighest index (beetles per trap per day)swarming thresholdfibub.com
Figure 2. The highest catch per trap per day a schedule can report, against the gap between checks, for the same simulated swarming. The dashed line is the paper’s swarming criterion of ten beetles per trap per day.
Check Paper Trap count index (our simulated flight)
Swarming criterion above 10 beetles per trap per day 21.5 (5-day checks), 11.8 (14-day checks)
Date the criterion is met swarming from 16 May 2025 21 May (5-day), 29 May (14-day)
Season total not stated 676 and 675 beetles for the same flight
Season index not stated 1.878 and 2.009 per trap per day
Apparent peak with a 3-check average — right date on 5-day checks, one check early on 14-day checks

How we made the graphs

Both charts and every number come from scripts/blog-figures/ips-typographus-trap-catch-per-trap-day-check-interval.mjs in fibub’s public code. It calls trapIndex, summarise and isoWeek from src/lib/sci/trapcount.ts, the maths behind the trap count index.

From the paper: the three traps per point, the 5-day and 14-day inspection intervals, the May-to-August season, the swarming threshold of ten beetles per trap per day, and the 2025 dates of the spring swarming, the July re-colonisation and the August second-generation flight. Our simulation: the daily flight curve itself (a background of 0.15 beetles per trap per day plus three bell-shaped flights), its peak height and its widths. The paper’s own catches are not used, reproduced or implied anywhere.

How we test the maths

tests/sci-tools/trap-count-index.mjs runs on every change to fibub, against an independent pandas implementation of the same arithmetic:

  • On the page’s made-up two-orchard example, the index for the North orchard on 25 May must be 6.523810 per trap per day, and 4.428571 on 15 June when one trap was lost.
  • Its smoothed series must match rolling(3, center=True, min_periods=1) at both ends of the season (0.833333 on the first check), and the peaks must fall on 25 May and 29 June.
  • The pooled season index must be 3.9825784 per trap per day from 1143 beetles over 287 trap-days — different from the mean of the check indices, 3.9931973, which is the whole reason the tool reports both.
  • New with this article: the 14-day schedule above must give indices 0.64 and 11.76 with 675 beetles over 336 trap-days and a season index of 2.009; the swarming check must be flagged at a threshold of 10; and a 3-check moving average must move the apparent peak to the check before, while no smoothing leaves it on 29 May.

Check it yourself

On the trap count index page, in the Trap checks box, clear the example and paste our simulated 14-day schedule (date, site, traps, count):

2025-05-15, Isthmus, 3, 27
2025-05-29, Isthmus, 3, 494
2025-06-12, Isthmus, 3, 6
2025-06-26, Isthmus, 3, 6
2025-07-10, Isthmus, 3, 12
2025-07-24, Isthmus, 3, 35
2025-08-07, Isthmus, 3, 87
2025-08-21, Isthmus, 3, 8
  1. Set Index to per trap per day, Days before the first check to 14, Moving average to None and Flag at or above (index) to 10.
  2. The Population index table shows 11.76 on 29 May, the only flagged check, and 2.07 on 7 August. The site summary gives 675 beetles, 336 trap-days and a season index of 2.009.
  3. Switch Moving average to 3 checks: the peak marker moves to 15 May, a check too early. Switch it back to None and it returns to 29 May.
  4. Now change Days before the first check to 5 and watch the season index rise to 2.184: that one field is worth 9 % of the index.
  5. Set Index to per trap per week and the swarming check reads 82.3 per trap per week — the same catch, a different unit. Always say which one a threshold is written in.

What researchers can use it for

  • Compare seasons or sites with different schedules fairly, by working in catch per trap per day rather than catch per check.
  • Decide an inspection interval before a season starts: run a past flight through the tool at several intervals and see what peak each would have reported.
  • Audit a threshold rule like “ten beetles per trap per day” for the schedule it was written for; the same rule is harder to trip on a long interval.
  • Match the smoothing to the data: a 3- or 5-check moving average helps a dense series and can mislead a sparse one.
  • Prepare a figure and a CSV of the index, the week table and the site summary in one pass, ready for a report or a supplement.

The fine print

  • The flight curve is our simulation. Its shape follows the dates the paper gives for 2025, but its heights are invented, and the real series had its own weather-driven bumps.
  • Our two schedules sample one identical flight, which is the cleanest way to isolate the effect of the interval. In the paper the 14-day year (2024) and the 5-day years are different years, so its own numbers cannot be compared this way.
  • A trap-day index assumes a trap keeps catching at the same rate while it waits. Barrier traps with a saturating catch surface, or lures that fade, break that assumption, and long intervals break it most.
  • We did not touch the degree-day side of the paper. Its onset sums (84 to 137 above 5.0 °C) depend on the base temperature, the start date and the daily-mean method, and the paper’s own Methods and Discussion differ slightly (420 against 418 degree-days for the Swedish reference).

Sources

  • Selikhovkin, A., Mamaev, N., Martirova, M. and Sedikhin, N. (2026), Insights from Pheromone Trap Catches in the Northern Part of the Ips typographus Range, Insects 17(6): 610, doi:10.3390/insects17060610. Licence CC BY 4.0, checked in the Crossref record and on the MDPI article page, 2026-11-24. Values used here: barrier pheromone traps 1.3 m above the ground, three traps at each point, one or two points per location, 2022 to 2025; traps inspected at 5-day intervals from early May to late August, but at 14-day intervals on the Karelian Isthmus in 2024; swarming defined as an average daily catch per trap above ten; spring swarming 23 to 30 May 2022, 6 to 25 May 2023 and 16 to 25 May 2025, with 24 to 27 May 2024 averaging 12 beetles per trap; second-generation flight 27 June to 7 July 2022 and 29 June to 19 July 2023, with re-colonisation on 12 to 13 July 2025 and a second-generation flight on 3 August 2025; growing degree-days at swarming onset 84 to 97 (2022), 81 to 124 (2023) and 122 to 137 (2025) above 5.0 °C, and 19 to 20, 22 to 25 and 39 to 52 above 8.3 °C; a Swedish reference of 666 degree-days above 5.0 °C and 420 above 8.3 °C; post-swarming catches 0.6 to 51.2 % of the season; correlation of catch with temperature n = 9, r = 0.76 raw and 0.79 on a 5-day moving average.
  • Catch per unit effort (catch ÷ (traps × days)) and centred moving averages: standard monitoring arithmetic, as in general pest-monitoring texts. fibub's implementation is checked against an independent pandas version.

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next