You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mention in #3 (comment) there are potential issues with the Fortran STOP statements, which will exit the Python process.
Find them in src with:
git grep -B1 -i stop
There are approx. 50 of these in src, mostly with gslib's sgsim_code.f90.
There are a few strategies:
Re-write the Fortran subroutines to functions returning a status, and somehow capture the error message. John could consider this option if he is keen.
Guard the inputs within Python and raise ValueError, e.g. ensure the power parameters are valid before passing to Fortran.
As mention in #3 (comment) there are potential issues with the Fortran STOP statements, which will exit the Python process.
Find them in
srcwith:There are approx. 50 of these in
src, mostly with gslib's sgsim_code.f90.There are a few strategies: