Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The derivatives are computed with a second order finite-difference approximation. The resulting fieldset contains two fields for each input field: the zonal derivative followed by the meridional derivative. The output fields are bitmapped on the poles (they contain missing values there). Please note that this function is only implemented for regular latitude-longitude grids.

Warning

Please be aware that in versions before Metview 5.5.3 the resulting fields of gradient() appear in the wrong order.  The correct order should look like this:

[gradx_f1, grady_f1, gradx_f2, grady_f2, ....]

but instead of it the following order is produced:

[gradx_f1, gradx_f2,..., grady_f1, grady_f2, ....]


Anchor
grib_get
grib_get
list grib_get (fieldset, list)
list grib_get (fieldset, list, string)

...