Step-by-step guide

You need to use the unipressure() macro function. Let us suppose that you have a fieldset (grb) containing model level data and lnsp as well. Then the following macro code

grb_pres=unipressure(grb)

returns a fieldset with the same set of model levels but now each field containing the pressure of the given model level.