Added code to write parameters to initial conditions .nc file

Signed-off-by: deepak <dpak.cherian@gmail.com>