Versions Compared

Key

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

...

Plot the results and cross-reference with the original result of 6 fields to confirm that you understand what has been computed. 

Automatic conversion between grids

Write some macro code which automatically converts t2m_forecast.grib to use the same grid as the first field in uv850.grib. Hints:

  • read both files
  • use the grib_get_double(fieldset, string) function twice to extract the grid resolution from uv850[1]
  • use the read() command to set the grid on t2m