In cases where the requested constituent is not found in the POLPRED data, eliminate the NaN values from the relevant indices and return POLPRED data for the remaining constituents. It is worth noting that actually trying to write out the data returned by this with write_FVCOM_spectide.m will probably fail because the size of the list of constituents will differ from the size of the arrays of amplitude and phase returned by this script