Calculate Time Trend


Syntax:

/fieldname {Field dup [T]detrend-bfl sub} def
fieldname
T last VALUE
fieldname
T first VALUE
sub

Example:

  • Trend in time of Catskill Mountain precipitation
  • Troubleshooting:

    Fieldname can not be the name of a current Ingrid command. Some command names can be found here. Also avoid fieldname index.