Meta configurations and specifications#

This appendix refers to the searching and formatting configurations for data variables and coordinates, and related tools, available in the xoa.meta module, and to the specifications that are used to validate them. Their usage is introduced in the Metadata, CF and naming conventions section.

Configurations#

Specialized configurations#

A few configurations are made available internally for decoding specialized datasets. You can use them at your own risk.

For instance, load the croco configuration directly with:

import xoa.meta
xoa.meta.set_meta_specs("croco")

Register it with:

xoa.meta.register_meta_specs("croco")

You can access the associated .cfg file with xoa.meta.get_meta_config_file().

The default configuration#

Note

You can define your own configurations for each of your datasets. Have a look to the Metadata, CF and naming conventions section and to the Tutorials.

As a .cfg file#

Look at Meta configuration for default datasets.

Data variables (data_vars)#

ptemp

Potential temperature

ctemp

Conservative temperature

temp

Sea water in situ temperature

asal

Absolute salinity

pfsal

Preformed salinity

psal

Practical salinity

sal

Salinity

sst

Sea surface temperature

sss

Sea surface salinity

sigmat

Sea water density minus 1000

ndens

Sea water neutral density

sigmatheta

Sea water potential density minus 1000

pdens

Sea water potential density

sigma0

Sea water potential density

sigma1

Sea water potential density with ref at 1000 dbar

sigma2

Sea water potential density with ref at 2000 dbar

sigma3

Sea water potential density with ref at 3000 dbar

sigma4

Sea water potential density with ref at 4000 dbar

dens

Sea water density

pres

Sea water pressure

ssd

Sea surface density

conduct

Sea water electrial conductivity

sndspd

Speed of sound in water

mld

Mixed layer depth

ped

Potential energy deficit

ohc

Ocean heat content

osc

Ocean salt content

cp

Specific heat capacity

adt

Absolute dynamic topography

sla

Sea level anomaly

mdt

Mean dynamic topography

ssh

Sea surface height

u

Sea water velocity along X

v

Sea water velocity along Y

ugeo

Eastward velocity

vgeo

Northward velocity

ux

Sea water velocity along the grid X axis

vy

Sea water velocity along the grid Y axis

ugeos

Eastward geostrophic velocity

vgeos

Northward geostrophic velocity

w

Sea water velocity along Z at W location

ubt

Sea water barotropic velocity along X

vbt

Sea water barotropic velocity along Y

ubc

Sea water baroclinic velocity along X

vbc

Sea water baroclinic velocity along Y

usurf

Sea surface velocity along X

vsurf

Sea surface velocity along Y

ugbt

Sea water barotropic geostrophic velocity along X

vgbt

Sea water barotropic geostrophic velocity along Y

cspd

Sea water speed

speed

Sea water speed

cdir

Direction of sea water velocity

ke

Kinetic energy

eke

Eddy kinetic energy

tke

Turbulent kinetic energy

mke

Mean kinetic energy

kz

Vertical diffusivity

akt

Vertical heat diffusivity

vaisa

Brunt Vaisala frequency

bathy

Bathymetry

meanlev

Mean Sea Level

dx

Mesh size along x

dy

Mesh size along y

ex

Inverse of mesh size along x

ey

Inverse of mesh size along y

dz

Ocean layer thickness

dlon

Mesh size along x

dlat

Mesh step along y

angle

Angle between x-axis and east

mask

Land binary mask

cvol

Volume of the cell

vol

Volume of the sea water

corio

Coriolis parameter

beta

Meridional derivative of coriolis parameter

oro

Orography for SLEVE vertical coordinates

orosm

Smoothed orography for SLEVE vertical coordinates

nethf

Net radiation

lwnhf

Net longwave radiation (positive when directed downward)

swnhf

Net shortwave radiation (positive when directed downward)

ghf

Ground heat flux (SW + LW - LE - H)

lwuhf

Longwave radiation (positive when directed upward)

swuhf

Shortwave radiation (positive when directed upward)

lwdhf

Longwave radiation (positive when directed downward)

swdhf

Shortwave radiation (positive when directed downward)

lathf

Latent heat flux (positive when directed downward)

hflat

Latent heat flux (positive when directed upward)

senhf

Sensible heat flux (positive when directed downward)

hfsen

Sensible heat flux (positive when directed upward)

evap

evaporation (positive when directed downward)

rain

Precipitation [Downward (positive when it is raining)]

t2m

2 m temperature

q2m

2 m specific humidity

hu2m

2 m specific humidity

z0a

Air roughness length

cda

Averaged drag momentum coefficient

cha

Averaged drag thermal coefficient

cea

Averaged latent heat flux coefficient

wspd

Wind speed

wdir

Wind direction

wfdir

Wind from direction

wtdir

Wind to direction

uair

Zonal wind speed (westerly)

vair

Meridional wind speed (northerly)

wair

Upward wind speed

tair

Temperature

pa

Absolute pressure

ps

Surface air pressure

plev

Air pressure

ptop

Air pressure at top of model

tkea

Turbulent Kinetic Energy

u10m

10-m zonal wind speed (westerly)

v10m

10-m meridional wind speed (northerly)

w10m

10-m meridional wind speed (northerly)

ux10m

10-m wind speed along X

vy10m

10-m wind speed along Y

tauu

Surface eastward wind stress

tauv

Surface northward wind stress

taux

Surface wind stress along X

tauy

Surface wind stress along Y

topheight

Height of the top level

hbl

Depth of planetary boundary layer

hs

Significant wave height

mssx

Eastward mean square slope

mssy

Northward mean square slope

mss

mean square slope

mlw

Mean wave length

t0m1

Mean wave period

dp

Peak direction

tp

Peak period

fp

Peak frequency

th1p

Mean wave direction

char

Charnock coefficient for surface roughness length for momentum in air

ubr

Near bottom rms velocities

uubr

Rms of near bottom zonal velocities

vubr

Rms of near bottom meridional velocities

bhd

Radiation pressure (Bernoulli head)

foc

Wave mixing kinetic turbulent energy due to surface breaking wave

utwo

Zonal component of the surface wave-ocean momentum flux

vtwo

Meridional component of the surface wave-ocean momentum flux

utaw

Eastward wave supported wind stress

vtaw

Northward wave supported wind stress

fbb

Wave dissipation in bottom boundary layer

utbb

Zonal component of the bottom wave-ocean momentum flux

vtbb

Meridional component of the bottom wave-ocean momentum flux

uuss

Eastward surface stokes drift

vuss

Northward surface stokes drift

utus

Eastward stokes transport

vtus

Northward stokes transport

mapsta

Status map

wlv

Wlv

sig

Sigma level

cs

S-coordinate stretching curves

hc

Sigma-coordinate critical depth

thetas

Ocean s coordinate surface control

thetab

Ocean s coordinate bottom control

depth

Depth

z

Height

altitude

Altitude

station

Station number

calday

Calendar day

echoint

Echo intensity

Coordinates (coords)#

x

X-dimension of the grid

y

Y-dimension of the grid

level

Model level number

lon

Longitude

lat

Latitude

depth

Depth

z

Height

altitude

Altitude

sig

Sigma level

time

Time

forecast

Forecast horizon

freq

Frequency

station

Station number

member

Ensemble member

Dimensions (dims)#

x

x, lon, xi, nx, ni, x, imt, ipi, longitude, nav_lon, longitudes, lons

y

y, lat, yi, ny, nj, y, jmt, jpj, latitude, nav_lat, latitudes, lats

z

level, depth, z, altitude, sig, station, model_level, lev, nz, nk, kmt, zi, dep, altitudet, altitudeu, altitudev, s_level, sigma, s, sigma_level, stations

t

time, nt, valid_time

f

forecast, nf, fcst

Other sections#

register

Registration

sglocator

Staggered grid localisation

vertical

Vertical coordinate system

accessors

Accessor configuration

Specifications#

The syntax of all configurations is validated with the specifications provided by the internal meta.ini file.