When reading/writing Healpix files, the C side (in s2let_hpx.c) calls Fortran routines (in s2let_hpx.f90) and passes file names as typical NULL-terminated "char *". However, the Fortran side expects a variable of type "character(len=filenamelen)".
These types are incompatible, and calling one of these routines will in almost all cases lead to a segmentation fault.
If there is interest, I can provide a fixed version. Please let me know.
When reading/writing Healpix files, the C side (in s2let_hpx.c) calls Fortran routines (in s2let_hpx.f90) and passes file names as typical NULL-terminated "char *". However, the Fortran side expects a variable of type "character(len=filenamelen)". These types are incompatible, and calling one of these routines will in almost all cases lead to a segmentation fault. If there is interest, I can provide a fixed version. Please let me know.