This script convolutes an APPLgrid with an LHAPDF and writes out the resulting histograms as YODA files. You can specify a range of PDF members, which can be useful to generate PDF error bands for your observable.