Helpdesk enquiry ID 43 resulted in some investigation of the problem with running ropp_pp_occ_tool with gfortran. A number of small updates were made to improve memory allocation/deallocation. See [2444].
In particular:
ropp_io/ropp/ropp_io_shrink.f90 (improved checks for imin and imax within range)
ropp_pp/common/ropp_pp_sliding_polynomial.f90 (simplified routine avoiding unnecessary pointers and allocating/deallocating local arrays - this change alone enables 'make test' with ropp_pp_occ_tool to run successfully)
ropp_pp/preprocess/ropp_pp_cutoff.f90 (only attempt to shrink elements Lev1a and Lev1b from ROprof, since either Lev2a+ missing or with fewer data points than imin:imax).
Further testing and developments to be made ahead of v4.1.