oggm.tasks.run_from_climate_data¶
-
oggm.tasks.
run_from_climate_data
(gdir, ys=None, ye=None, filename='climate_monthly', input_filesuffix='', filesuffix='', init_model_fls=None, **kwargs)[source]¶ Runs glacier with climate input from a general circulation model.
Parameters: ys : int
start year of the model run (default: from the config file)
- y1 : int
end year of the model run (default: from the config file)
- filename : str
name of the climate file, e.g. ‘climate_monthly’ (default) or ‘cesm_data’
- input_filesuffix: str
filesuffix for the input climate file
- filesuffix : str
for the output file
- init_model_fls : []
list of flowlines to use to initialise the model (the default is the present_time_glacier file from the glacier directory)
- kwargs : dict
kwargs to pass to the FluxBasedModel instance
Returns: Files writen to the glacier directory: