Skip to content

spadesCBMdb & plot reorganization#84

Merged
cboisvenue merged 2 commits into
developmentfrom
suz-plots
May 6, 2026
Merged

spadesCBMdb & plot reorganization#84
cboisvenue merged 2 commits into
developmentfrom
suz-plots

Conversation

@suz-estella

Copy link
Copy Markdown
Contributor

Some reorganizing to make space for CBM4. Everything that works with the spadesCBMdb system remains.

  1. mapNPP and mapTotalCarbon updated to use raster as input

These functions previously took the masterRaster and a table of NPP or total carbon values then created a raster set with these values. This simplifies the functions to accept just the prepared raster which can be generated easily in CBM4. This moves the existing raster creation work into the spadesCBMdb-specific functions.

  1. spadesCBMdb function file prefix updated to 'spadesCBMdb-'

These were previously prefixed as CBM-CBM_core_ which isn't specific enough with the changing function of CBM_core.

  1. Tests reorganized

I moved the any tests that work directly with the spadesCBMdb to their own files prefixed with test-spadesCBMdb. Now the plot tests file just tests the underlying plotting functions (e.g. mapNPP - a function of the NPP raster).

@cboisvenue cboisvenue merged commit 6d1dd23 into development May 6, 2026
7 checks passed
@suz-estella suz-estella deleted the suz-plots branch May 6, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants