!----------------------------------------------------------------------
!
!  File: PMIP2_table_S_AN
!
!  CMOR table definition for ANNUAL SURFACE output from PMIP2
!  experiments.
!
!----------------------------------------------------------------------

!----------------------------------------
!
!   HEADER INFORMATION
!
!----------------------------------------

cmor_version: 0.96
cf_version:   1.0
project_id:   PMIP2
table_id:     Table S_AN
table_date:   10 March 2005

expt_id_ok:   'PMIP2_0K_OA Pre-industrial Ocean-Atmosphere PMIP2 experiment'
expt_id_ok:   'PMIP2_0K_OAV Pre-industrial Ocean-Atmosphere-Vegetation PMIP2 experiment'
expt_id_ok:   'PMIP2_6K_OA Mid-Holocene 6k Ocean-Atmosphere PMIP2 experiment'
expt_id_ok:   'PMIP2_6K_OAV Mid-Holocene 6k Ocean-Atmosphere-Vegetation PMIP2 experiment'
expt_id_ok:   'PMIP2_21K_OA Last Glacial Maximum Ocean-Atmosphere PMIP2 experiment'
expt_id_ok:   'PMIP2_21K_OAV Last Glacial Maximum Ocean-Atmosphere-Vegetation PMIP2 experiment'

magic_number: -1          ! used to check whether this file has been
                          !   altered from the official version.
                          !   should be set to number of non-blank
                          !   characters in file.
approx_interval: 360.0
missing_value: 1.0E20


! Subroutine argument control

subroutine_entry: cmor_axis
required: table axis_name units length coord_vals cell_bounds
ignored: interval

subroutine_entry: cmor_variable
required: table table_entry units axis_ids
indeterminate: missing_value
optional: tolerance original_name history comment
ignored: positive

subroutine_entry: cmor_write
required:  var_id data
indeterminate: ntimes_passed time_vals time_bnds store_with
optional: file_suffix


!----------------------------------------
!
!   AXIS DEFINITIONS
!
!----------------------------------------

axis_entry:       longitude
standard_name:    longitude
units:            degrees_east
axis:             X
long_name:        longitude
out_name:         lon
valid_min:        0.0
valid_max:        360.0

axis_entry:       latitude
standard_name:    latitude
units:            degrees_north
axis:             Y
long_name:        latitude
out_name:         lat
valid_min:        -90.0
valid_max:        90.0

axis_entry:       pft
ignored:          cell_bounds
standard_name:    pft
stored_direction: increasing
units:            1
long_name:        Plant Functional Type
out_name:         pft
valid_min:        0.

axis_entry:       time
optional:         interval length
indeterminate:    coord_vals cell_bounds
standard_name:    time
units:            days since ?
axis:             T
long_name:        time


!----------------------------------------
!
!   VARIABLE DEFINITIONS
!
!----------------------------------------

variable_entry:  vcarcont
standard_name:   vegetation_carbon_content
units:           kg m-2
cell_methods:    time: mean
long_name:       Total Vegetation Carbon Above Ground and Roots
dimensions:      longitude latitude time
valid_min:       0.0

variable_entry:  vcarcontpft
standard_name:   vegetation_carbon_content
units:           kg m-2
cell_methods:    time: mean
long_name:       Total Vegetation Carbon Above Ground and Roots per PFT
dimensions:      longitude latitude pft time
valid_min:       0.0

variable_entry:  scarcont
standard_name:   soil_carbon_content
units:           kg m-2
cell_methods:    time: mean
long_name:       Soil Carbon content
dimensions:      longitude latitude time
valid_min:       0.0
comment:         does not include roots, which are included in vcarcont

variable_entry:  pftfrac
standard_name:   pft_fraction
units:           1
cell_methods:    time: mean
long_name:       Fractions of PFT composing the grid box
comment:         A proper definition of the different PFT, model dep., should be provided
dimensions:      longitude latitude pft time
valid_min:       0.0
valid_max:       1.0

variable_entry:  lcarcont
standard_name:   litter_carbon
units:           kg m-2
cell_methods:    time: mean
long_name:       Total Litter Carbon
valid_min:       0.0
dimensions:      longitude latitude time

variable_entry:  lcarcontpft
standard_name:   litter_carbon
units:           kg m-2
cell_methods:    time: mean
long_name:       Litter Carbon for each PFT
valid_min:       0.0
dimensions:      longitude latitude pft time

variable_entry:  hresp
standard_name:   heterotrophic_respiration_carbon_flux
units:           kg m-2 s-1
cell_methods:    time: mean
long_name:       Heterotrophic Respiration
comment:         Respiration from the soil, not including root respiration
dimensions:      longitude latitude time
valid_min:       0.0

variable_entry:  cheight
standard_name:   canopy_height
units:           m
cell_methods:    time: mean
long_name:       Canopy Height
dimensions:      longitude latitude time
valid_min:       0.0

variable_entry:  cheightpft
standard_name:   canopy_height
units:           m
cell_methods:    time: mean
long_name:       Canopy Height for each PFT
dimensions:      longitude latitude pft time
valid_min:       0.0
