CAM
histFileMod.F90 File Reference
#include "shr_assert.h"

Data Types

type  histfilemod::field_info
 
type  histfilemod::master_entry
 
type  histfilemod::history_entry
 
type  histfilemod::history_tape
 
type  histfilemod::clmpoint_rs
 
type  histfilemod::clmpoint_ra
 

Modules

module  histfilemod
 

Functions/Subroutines

subroutine, public histfilemod::hist_printflds ()
 
subroutine, private histfilemod::masterlist_addfld (fname, type1d, type1d_out, type2d, num2d, units, avgflag, long_name, hpindex, p2c_scale_type, c2l_scale_type, l2g_scale_type, no_snow_behavior)
 
subroutine, public histfilemod::hist_htapes_build ()
 
subroutine, private histfilemod::masterlist_make_active (name, tape_index, avgflag)
 
subroutine, private histfilemod::masterlist_change_timeavg (t)
 
subroutine, public histfilemod::htapes_fieldlist ()
 
subroutine, private histfilemod::htape_addfld (t, f, avgflag)
 
subroutine, public histfilemod::hist_update_hbuf (bounds)
 
subroutine, private histfilemod::hist_update_hbuf_field_1d (t, f, bounds)
 
subroutine, private histfilemod::hist_update_hbuf_field_2d (t, f, bounds, num2d)
 
subroutine, private histfilemod::hist_set_snow_field_2d (field_out, field_in, no_snow_behavior, type1d, beg1d, end1d)
 
subroutine, private histfilemod::hfields_normalize (t)
 
subroutine, private histfilemod::hfields_zero (t)
 
subroutine, private histfilemod::htape_create (t, histrest)
 
subroutine, private histfilemod::htape_add_ltype_metadata (lnfid)
 
subroutine, private histfilemod::htape_add_natpft_metadata (lnfid)
 
subroutine, private histfilemod::htape_add_cft_metadata (lnfid)
 
subroutine, private histfilemod::htape_timeconst3d (t, bounds, watsat_col, sucsat_col, bsw_col, hksat_col, mode)
 
subroutine, private histfilemod::htape_timeconst (t, mode)
 
subroutine, private histfilemod::hfields_write (t, mode)
 
subroutine, private histfilemod::hfields_1dinfo (t, mode)
 
subroutine, public histfilemod::hist_htapes_wrapup (rstwr, nlend, bounds, watsat_col, sucsat_col, bsw_col, hksat_col)
 
subroutine, public histfilemod::hist_restart_ncd (bounds, ncid, flag, rdate)
 
integer function, private histfilemod::max_nfields ()
 
character(len=max_namlen) function, private histfilemod::getname (inname)
 
character(len=1) function, private histfilemod::getflag (inname)
 
subroutine, private histfilemod::list_index (list, name, index)
 
character(len=256) function, private histfilemod::set_hist_filename (hist_freq, hist_mfilt, hist_file)
 
subroutine, public histfilemod::hist_addfld1d (fname, units, avgflag, long_name, type1d_out, ptr_gcell, ptr_lunit, ptr_col, ptr_patch, ptr_lnd, ptr_atm, p2c_scale_type, c2l_scale_type, l2g_scale_type, set_lake, set_nolake, set_urb, set_nourb, set_noglcmec, set_spec, default)
 
subroutine, public histfilemod::hist_addfld2d (fname, type2d, units, avgflag, long_name, type1d_out, ptr_gcell, ptr_lunit, ptr_col, ptr_patch, ptr_lnd, ptr_atm, p2c_scale_type, c2l_scale_type, l2g_scale_type, set_lake, set_nolake, set_urb, set_nourb, set_spec, no_snow_behavior, default)
 
subroutine, public histfilemod::hist_addfld_decomp (fname, type2d, units, avgflag, long_name, ptr_col, ptr_patch, default)
 
integer function, private histfilemod::pointer_index ()
 
subroutine, public histfilemod::hist_add_subscript (name, dim)
 
subroutine histfilemod::strip_null (str)
 
subroutine histfilemod::hist_do_disp (ntapes, hist_ntimes, hist_mfilt, if_stop, if_disphist, rstwr, nlend)
 

Variables

integer, parameter, public histfilemod::max_tapes = 6
 
integer, parameter, public histfilemod::max_flds = 2500
 
integer, parameter, public histfilemod::max_namlen = 64
 
integer, parameter, private histfilemod::hist_dim_name_length = 16
 
integer, parameter, private histfilemod::no_snow_min = 1
 
integer, parameter, public histfilemod::no_snow_normal = 1
 
integer, parameter, public histfilemod::no_snow_zero = 2
 
integer, parameter, private histfilemod::no_snow_max = 2
 
integer, parameter, private histfilemod::no_snow_unset = no_snow_MIN - 1
 
integer, public histfilemod::ntapes = 0
 
integer histfilemod::ni
 
logical, public histfilemod::hist_empty_htapes = .false.
 
integer, dimension(max_tapes), public histfilemod::hist_ndens = 2
 
integer, dimension(max_tapes), public histfilemod::hist_mfilt = 30
 
logical, dimension(max_tapes), public histfilemod::hist_dov2xy = (/.true.,(.true.,ni=2,max_tapes)/)
 
integer, dimension(max_tapes), public histfilemod::hist_nhtfrq = (/0, (-24, ni=2,max_tapes)/)
 
character(len=1), dimension(max_tapes), public histfilemod::hist_avgflag_pertape = (/(' ',ni=1,max_tapes)/)
 
character(len=max_namlen), dimension(max_tapes), public histfilemod::hist_type1d_pertape = (/(' ',ni=1,max_tapes)/)
 
character(len=max_namlen+2), dimension(max_flds, max_tapes), public histfilemod::fincl
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl1 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl2 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl3 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl4 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl5 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fincl6 = ' '
 
character(len=max_namlen+2), dimension(max_flds, max_tapes), public histfilemod::fexcl
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl1 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl2 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl3 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl4 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl5 = ' '
 
character(len=max_namlen+2), dimension(max_flds), public histfilemod::hist_fexcl6 = ' '
 
logical, dimension(max_tapes), private histfilemod::if_disphist
 
integer, parameter histfilemod::max_chars = 256
 
integer, parameter histfilemod::max_subs = 100
 
integer histfilemod::num_subs = 0
 
character(len=32), dimension(max_subs) histfilemod::subs_name
 
integer, dimension(max_subs) histfilemod::subs_dim
 
integer, parameter histfilemod::max_mapflds = 2500
 
type(clmpoint_rs), dimension(max_mapflds) histfilemod::clmptr_rs
 
type(clmpoint_ra), dimension(max_mapflds) histfilemod::clmptr_ra
 
type(master_entry), dimension(max_flds) histfilemod::masterlist
 
type(history_tape), dimension(max_tapes) histfilemod::tape
 
integer histfilemod::nfmaster = 0
 
character(len=max_chars), dimension(max_tapes) histfilemod::locfnh
 
character(len=max_chars), dimension(max_tapes) histfilemod::locfnhr
 
logical histfilemod::htapes_defined = .false.
 
type(file_desc_t), dimension(max_tapes) histfilemod::nfid
 
type(file_desc_t), dimension(max_tapes) histfilemod::ncid_hist
 
integer histfilemod::time_dimid
 
integer histfilemod::hist_interval_dimid
 
integer histfilemod::strlen_dimid
 
character(len=max_chars) histfilemod::timeconst3dvars_filename = ' '
 
character(len=max_chars) histfilemod::timeconst3dvars = ' '