Skip to content

Bigger yearly probability png (1440 x 1152 px) - #46

Merged
eliotmcintire merged 1 commit into
developmentfrom
pngSize
Nov 19, 2026
Merged

eliotmcintire merged 1 commit into
developmentfrom
pngSize

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

The yearly ignition and escape probability map was saved as a small 480 × 480 pixel image, R's default, so it looked tiny in the SpaDES.shiny::shine() viewer. It is now 1440 × 1152 pixels (10 × 8 inches at 144 dpi), the same as fireSense_burn's yearly fire maps.

Affects: the IgnitionEscapeProbability_yr<year>.png files written with .plots = "png" are bigger; nothing else changes.

Technical details

Plots() at fireSense_ignitionPredict.R:219 passed no deviceArgs, so png() used its 480 × 480 px default. It now passes deviceArgs = list(width = 10, height = 8, units = "in", res = 144), as fireSense_burn.R:397 does. The .plots test in tests/testthat/test-events.R now also checks the PNG size: it fails on the old code (480 × 480) and passes with this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lx3DXcxmq3mSxenWLiFbBD

@eliotmcintire eliotmcintire added the enhancement New feature or request label Nov 19, 2026
@eliotmcintire
eliotmcintire merged commit de890b7 into development Nov 19, 2026
9 checks passed
@eliotmcintire
eliotmcintire deleted the pngSize branch November 19, 2026 21:21
eliotmcintire added a commit that referenced this pull request Nov 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lx3DXcxmq3mSxenWLiFbBD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant