Versions Compared

Key

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

...

Plotting a Time Series

XXXXXX

We will now extract data values from a particular location for different times and plot as a time series graph. It will be a Macro-based exercise, so create a new Macro icon, rename it time_series and go through the steps below.

Extract the location values from the data

Inspect the supplied t2m_forecast_24.grib icon - this contains a 24-hour forecast for a number of time steps.

Read the data into a fieldset variable and extract the point values into a list like this: