# reader

Functions to read model inputs.

`reader.``read_init`(folder, resultsFileName, varname)

  Read in data for initial depth, age, density, and temperature to run the model without spinup

  Parameters

    folder – the folder containing the files holding depth, age, density, and temperature

`reader.``read_input`(filename, StartDate=None)

  Read in data from csv input files

  Parameters

    filename – name of the file which holds the accumulation rate data

  Return input_data

    vector of field of interest (e.g. temperature, accumulation rate from a specified csv file

  Return input_year

    corresponding time vector (in years)