Module sia_runner
[hide private]
[frames] | no frames]

Source Code for Module sia_runner

 1  """ 
 2  This script actually runs the model. 
 3  """ 
 4   
 5  # import all stuff from sia_model.py 
 6  from sia_model import * 
 7   
8 -def run_model(input_file):
9 """ 10 Initialises, runs and saves the SIA_model. 11 12 @type input_file: string 13 @param input_file: the file name of the input file. 14 """ 15 # check svn version 16 17 # make an instance of the SIA_model class (initialisation is done 18 # automatically) 19 sia_inst = SIA_model(input_file) 20 21 # run it 22 sia_inst.run_model() 23 24 # store it to the file system 25 sia_inst.write_netCDF()
26 27 # Done! 28