Partial Derivative


Syntax:

Field
a:
GRID partial
GRID :a: .GRID REGRID
:a
unit_conversion div

Examples:

  • Y partial
  • X partial
  • T partial
  • P partial
  • Troubleshooting:

    This one is tricky with the unit conversion. The partial derivative is computed by taking the difference between two values of the input stream, normalized by the grid distance between them. However, the the grid distance might not be the actual distance. For example the difference in X=2.5 and X=5 is 2.5 degrees, but when taking a partial we usually want it in meters. Or the difference is Jan and Feb is 30 days, but we usually want it in seconds. Pressure is usually in mb instead of Pa, ect..