Versions Compared

Key

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

...

Including Other Macros

Now split the macro into file two  separate files: the wind_speed macro should have the function definition, and the call_wind_speed macro should read the GRIB data, call the function and plot the data (it should not work now, because it cannot find the function).

...

Warning
An include statement is interpreted before the rest of the macro is executed, including lines that precede the include statement. run.  This means that you cannot, for instance, use a dynamically generated path to find the file to be included.

...