orog_to_z

The orog_to_z filter converts orography (in meters) to surface geopotential height (m^2/s^2) using the equation:

\[\begin{split}z &= g \cdot \textrm{orog}\\ g &= 9.80665\ m \cdot s^{-1}\end{split}\]

This filter needs to follow a source that provides orography, which is replaced by surface geopotential height.

input:
  pipe:
    - source: # mars, grib, netcdf, etc.
      # source attributes here
      # ...
      # Must load an orography variable

    - orog_to_z:
        orog: orog  # Name of orography (input) variable
        z: z        # Name of z (output) variable