Output files: netCDF data, Fortran unformatted dumps
REVISION HISTORY:
authors Tony Craig, NCAR
Elizabeth C. Hunke, LANL
C.M. Bitz, UW
Bruce P. Briegleb, NCAR
INTERFACE:
module ice_historyUSES:
use ice_kinds_mod
use ice_domain
use ice_read_write
INTERFACE:
subroutine init_histDESCRIPTION:
Initialize history files
REVISION HISTORY:
authors Tony Craig, NCAR
Elizabeth C. Hunke, LANL
C.M. Bitz, UW
Bruce P. Briegleb, NCAR
USES:
use ice_constants
use ice_calendar
use shr_sys_mod, only : shr_sys_flush, shr_sys_abort
INPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine ice_write_histDESCRIPTION:
write average ice quantities or snapshots
REVISION HISTORY:
author: E.C.Hunke, LANLUSES:
use ice_flux
use ice_albedo
use ice_mechred
use ice_grid
use ice_calendar
use ice_state
use ice_dyn_evp
use ice_constants
INPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine icecdfDESCRIPTION:
write netCDF history file
REVISION HISTORY:
authors: E.C.Hunke, LANL
Bruce P. Briegleb, NCAR
USES:
use ice_model_size
use ice_constants
use ice_mpi_internal
use ice_grid
use ice_calendar
use ice_itd, only : c_hi_range
use shr_file_mod
INPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine nf_stat_check (status,msg)DESCRIPTION:
Check error code returned from netCDF calls
If bad, abort
REVISION HISTORY:
author: ?USES:
use shr_sys_mod, only : shr_sys_abort
include "netcdf.inc"
INPUT/OUTPUT PARAMETERS:
integer (kind=int_kind), intent(in) :: status
character (len = *), intent(in) :: msg
INTERFACE:
integer function lenstr(label)DESCRIPTION:
Check error code returned from netCDF calls. If bad, abort
REVISION HISTORY:
author: ?INPUT/OUTPUT PARAMETERS:
character*(*) label
INTERFACE:
subroutine dumpfileDESCRIPTION:
Dumps all values needed for a restart
REVISION HISTORY:
author Elizabeth C. Hunke, LANLUSES:
use ice_model_size
use ice_flux
use ice_grid
use ice_calendar
use ice_state
use ice_dyn_evp
use shr_file_mod
use ice_ocean
INPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine restartfileDESCRIPTION:
Restarts from a dump
REVISION HISTORY:
author Elizabeth C. Hunke, LANLUSES:
use ice_model_size
use ice_flux
use ice_mpi_internal
use ice_grid
use ice_calendar
use ice_state
use ice_dyn_evp
use ice_itd
use ice_ocean
INPUT/OUTPUT PARAMETERS: