...
- read both files
- use the
grib_get_double(fieldset, string)
function twice to extract the grid resolution fromuv850[1]
- use the
read()
command to set the grid ont2m
Extract field values at a set of locations
Extract the temperature values from the t2m_forecast.grib file at all the locations in the geopoints data returned by the filter_obs_t2m icon. Hint:
- the Macro function
interpolate(field, geopoints)
returns a new geopoints variable whose locations are from its input geopoints and whose values are interpolated from the input field