fixed filter to remove NaN and to set masked values to zero
fixed filter to remove NaN and to set masked values to zero

erdc-cm/spt_erai_autorapid_process,erdc-cm/spt_erai_autorapid_process,erdc-cm/spt_lsm_autorapid_process,erdc-cm/spt_lsm_autorapid_process