The fortran 90 library provides a list of subroutines to perform PCA, MSSA, recontructions and phase composites.
Note
The channel (spatial) dimension is always 1D.
Therefore, as in the python module, multi-dimensional arrays must be
packed before being analysed.
You can use pack and unpack F90 subroutines
for this task, and optionally give a mask to remove masked points.
If you analyse several variables at the same time, concatenate
normalised packed arrays before the analsysis.