add new task       

Task ID:  932  Would be nice to have separate reset messages in SoilWat, SoilN and SurfaceOM    
Created by hol353 on 2009-02-24 4:13 PM, 3649 days ago
Project:  User Interface
Category:  Minor
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:7
Your Name:
Contact Details:

show inline images      show change history

 comment 31018 posted by hol353 on 2009-09-23 3:49 PM, 3438 days ago 
The new manager will be able to do this. It will be able to do a soil.reset regardless of the name of the soil. Too hard to do this in soilwat, soiln and surfaceom without breaking something else.
 comment 30491 posted by hol353 on 2009-02-24 4:13 PM, 3649 days ago 
From: Dean Holzworth <>
To: john dimes <>
Sent: Tuesday, 24 February, 2009 1:42:26 AM
Subject: Re: Soil resets

If you want to reset water, nitrogen and surface om then you can do:

   act_mods reset

from the manager. You'll have a problem if you only want to reset just one of them.

john dimes wrote:
> Dean,
> To use the 'reset' command you have to use the soil name;
> Eg
> if (today = date('31-jul')) then
> 'Clay_Deep_HF_200mm Water' reset
> 'Clay_Deep_HF_200mm Nitrogen' reset
> 'Surface Organic Matter' reset
> act_mods reseting
> endif
> Is there a generic version of reset so that I can use the same manager code with a range of soil names (27 in fact)?
> eg.
> 'Water' reset
> ' Nitrogen' reset