APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
131 stars 160 forks source link

Batch running is not listening to Summary file settings #9158

Open sno036 opened 1 month ago

sno036 commented 1 month ago

Describe the new feature

If the Summary is set to Error only, that works in the UI but in CLI it is still dumping information messages but it does seem to have reduced the size at least. @Ollehar will paste in a few example messages that were written when the setting was to Error Only

Ollehar commented 1 month ago

Example messages that were posted after running the models via the CLI:

1979-06-23

Block.SurfaceOrganicMatter: Adding 6.67 kg/ha of biomass (0.06 kgN/ha) to pool: grass. Adding 2.97 kg/ha of biomass (0.03 kgN/ha) to pool: grass.

1979-06-24

Block.SurfaceOrganicMatter: Adding 77.86 kg/ha of biomass (5.06 kgN/ha) to pool: RuminantDung_PastureFed. Block.SimpleGrazing: Grazed 547.8 kgDM/ha, N content 12.7 kgN/ha, ME 5650.0 MJME/ha Block.SurfaceOrganicMatter: Adding 3.95 kg/ha of biomass (0.04 kgN/ha) to pool: grass. Adding 2.11 kg/ha of biomass (0.03 kgN/ha) to pool: grass.

hol353 commented 1 month ago

Hmm something else is going on here. I can't reproduce this problem. Can you attach a zipped simulation + weather file.