MobileDOAS is a software package developed by Chalmers University of Technology in Sweden as an easy to use software package for performing gas flux measurements using the mobile DOAS technique.
2
stars
7
forks
source link
NumScans parameter set to 0 in spectra with long exposure times #160
When collecting spectra in 'Adaptive' mode, the parameters ExpTime and NSpec are chosen such that NSpec * ExpTime is approximately equal (but does not exceed) the total integration time given in the Spectrometer configuration dialog ("Save a spectrum every: XX ms."). The maximum permitted ExpTime is equal to the total integration time and in this case NSpec should be equal to 1. However, recent tests at Kilauea have shown that when the ExpTime reaches the total integration time, NSpec was erroneously set to 0. This causes significant problems in the analysis, as the evaluation code does not know how many spectra were averaged, and thus the offset and dark current cannot be corrected (along with other problems). It's possible that this bug is being caused by a rounding issue, but the fix should be fairly simple: Just don't allow NSpec values of less than 1.
When collecting spectra in 'Adaptive' mode, the parameters ExpTime and NSpec are chosen such that NSpec * ExpTime is approximately equal (but does not exceed) the total integration time given in the Spectrometer configuration dialog ("Save a spectrum every: XX ms."). The maximum permitted ExpTime is equal to the total integration time and in this case NSpec should be equal to 1. However, recent tests at Kilauea have shown that when the ExpTime reaches the total integration time, NSpec was erroneously set to 0. This causes significant problems in the analysis, as the evaluation code does not know how many spectra were averaged, and thus the offset and dark current cannot be corrected (along with other problems). It's possible that this bug is being caused by a rounding issue, but the fix should be fairly simple: Just don't allow NSpec values of less than 1.