PixEx Time extraction


I am using PixEx to extract pixel values for a given point which was was sampled insitu. The date and time component are important as I only want to extract pixels if the overpass was within a certain time from the insitu sample.

The extraction was performed successfully for some of my files e.g.,

The output was automatically named: “pixEx_C2RCC_S2-MSI_measurements.txt” and there was a time component within the .txt file.

However, when I perform the extraction on other files e.g.,
“L2ACOLITE_S2A_MSIL1C_20180709T112121_N0206_R037_T29TNG_20180709T133743.SAFE.nc” & “L2POLY_L1P_reproj_NASA_S2A_MSIL1C_20180709T112121_N0206_R037_T29TNG_20180709T133743.SAFE.nc”

The output is named “pixEx_NetCDF_measurements.txt”

The extraction works but there is no time component recorded. I noticed that there is a date and time pattern parameter which may be able to solve the issue. Can anyone explain how this can be used in order to extract the time? (e.g., 20180709T112121 = 2018-07-09 11:21:21)