I want to call a fortran subroutine from python, where I want to pass a function to the subroutine that has an array as input and output. As a first step I am trying this on