!----------------------------------------------------------------------
!
!  File: PMIP2_table_O_MO
!
!  CMOR table definition for MONTHLY OCEAN output from PMIP2
!  experiments.
!
!----------------------------------------------------------------------

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

cmor_version: 0.96
cf_version:   1.0
project_id:   PMIP2
table_id:     Table O_MO
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: 30.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:       time
optional:         interval length
indeterminate:    coord_vals cell_bounds
standard_name:    time
units:            days since ?
axis:             T
long_name:        time

axis_entry:       temp20
ignored:          cell_bounds
standard_name:    sea_water_temperature
units:            degree_Celsius
long_name:        temperature
out_name:         temperature
value:            20.0

axis_entry:       depth300
standard_name:    depth
units:            m
axis:             Z
positive:         down
long_name:        depth
out_name:         depth
value:            150.0
bounds_values:    0.0 300.0


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

! Mandatory variables

variable_entry:  sos
standard_name:   sea_surface_salinity
units:           1.0E-3
cell_methods:    time: mean
long_name:       Surface Salinity
dimensions:      longitude latitude time

variable_entry:  tos
standard_name:   sea_surface_temperature
units:           K
cell_methods:    time: mean
long_name:       Sea Surface Temperature
dimensions:      longitude latitude time
valid_min:       265.0
valid_max:       320.0
ok_min_mean_abs: 278.0
ok_max_mean_abs: 298.0

variable_entry:  zmlo
standard_name:   ocean_mixed_layer_thickness
units:           m
cell_methods:    time: mean
long_name:       Mixed Layer Thickness
dimensions:      longitude latitude time

variable_entry:  stfbarot
standard_name:   ocean_barotropic_streamfunction
units:           m3 s-1
cell_methods:    time: mean
long_name:       Ocean Barotropic Streamfunction
dimensions:      longitude latitude time

variable_entry:  zos
standard_name:   sea_surface_height_above_geoid
units:           m
cell_methods:    time: mean
long_name:       Sea Surface Elevation
dimensions:      longitude latitude time
valid_min:       -100.0
valid_max:       100.0
ok_min_mean_abs: -10.0
ok_max_mean_abs: 20.0

variable_entry:  uos
standard_name:   sea_surface_eastward_sea_water_velocity
units:           m s-1
cell_methods:    time: mean
long_name:       Sea Surface Eastward Sea Water Velocity
dimensions:      longitude latitude time

variable_entry:  vos
standard_name:   sea_surface_northward_sea_water_velocity
units:           m s-1
cell_methods:    time: mean
long_name:       Sea Surface Northward Sea Water Velocity
dimensions:      longitude latitude time

variable_entry:  hfo
standard_name:   surface_downward_heat_flux_in_sea_water
units:           W m-2
cell_methods:    time: mean
long_name:       Heat Flux Into Ocean
dimensions:      longitude latitude time

variable_entry:  wfofs
standard_name:   water_flux_into_ocean_for_free_surface
units:           kg m-2 s-1
cell_methods:    time: mean
long_name:       Water Flux Into Ocean
dimensions:      longitude latitude time

variable_entry:  wfo
standard_name:   water_flux_into_ocean
units:           kg m-2 s-1
cell_methods:    time: mean
long_name:       Water Flux Into Ocean
dimensions:      longitude latitude time

variable_entry:  tauu
standard_name:   surface_downward_eastward_stress
units:           Pa
cell_methods:    time: mean
long_name:       Eastward Momentum Flux
dimensions:      longitude latitude time
positive:        down

variable_entry:  tauv
standard_name:   surface_downward_northward_stress
units:           Pa
cell_methods:    time: mean
long_name:       Northward Momentum Flux
dimensions:      longitude latitude time
positive:        down


! Recommended variables

! Note: we temporarily keep the old definition of ziso20
! and hcont300 around, just in case...
!
!variable_entry:  ziso20
!standard_name:   depth_of_20deg_isotherm
!units:           m
!cell_methods:    time: mean
!long_name:       Depth Of 20 deg. C Isotherm
!dimensions:      longitude latitude time
!
!variable_entry:  hcont300
!standard_name:   heat_content_to_300m
!units:           m K
!cell_methods:    time: mean
!long_name:       Heat Content Of Upper 300m
!dimensions:      longitude latitude time

variable_entry:  ziso20
standard_name:   depth
units:           m
cell_methods:    time: mean
long_name:       Depth Of 20 degree_Celsius Isotherm
dimensions:      longitude latitude time temp20

variable_entry:  hcont300
standard_name:   heat_content_of_ocean_layer
units:           m K
cell_methods:    time: mean
long_name:       Heat Content Of Upper 300 m
dimensions:      longitude latitude time depth300
