[Numpy-discussion] f2py and string arrays (need help)

2014-05-28 Thread Siegfried Gonzi
Hi all Given the following pseudo code: == SUBROUTINE READ_B( FILENAME, ix,iy,iz,nx, OUT_ARRAY, out_cat) IMPLICIT NONE INTEGER*4, INTENT(IN) :: IX, iy, iz, nx REAL*4,INTENT(OUT) :: OUT_ARRAY(nx,IX, iy, iz) CHARACTER, dimension(nx,40),intent(out) ::OUT_CAT CHARACTER(LEN=

[Numpy-discussion] f2py and string arrays

2007-08-13 Thread Mark.Miller
Quick question... I have a Fortran function for f2py declared as follows (just an example). module test1 contains subroutine manip(length, array, a, b) integer :: length, a,b character(length) :: array(0:a-1,0:b-1) !f2py intent(in) length,a,b !f2py intent(inout) array