osmose.engine.output¶
Output writer for the OSMOSE Python engine.
Writes CSV files matching Java’s naming convention so that the existing OsmoseResults reader works with either engine.
Functions
|
Sum the per-school diet matrix into per-PREDATOR-SPECIES rows. |
|
Aggregate per-school diet matrix into per-species diet. |
|
PREY axis for diet / predator-pressure outputs: focal species, background species, resources. |
|
PREDATOR axis for |
|
Write diet composition as one CSV per simulation with one row per recording period, matching Java |
|
Write economic CSV output files. |
|
Write simulation outputs to CSV files matching Java format. |
|
Write simulation outputs to NetCDF. |
|
Write per-cell spatial outputs as NetCDF files. |
|
Write predation pressure — prey biomass eaten per predator-prey pair, in tonnes. |