PollyNET / Pollynet_Processing_Chain

NRT lidar data processing program for multiwavelength polarization Raman lidar network (PollyNET)
https://polly.tropos.de/
GNU General Public License v3.0
20 stars 8 forks source link

Varying lasershot repetition rates #106

Closed Ropzn closed 3 years ago

Ropzn commented 3 years ago

Concerning v3.0 Preprocess functions

https://github.com/PollyNET/Pollynet_Processing_Chain/blob/v3.0/lib/pre-process/pollyPreprocess.m

Maybe I don't understand it right. Is the strategy right now, that we a assume the laser repetition rate to be constant (beeing our reference clock) and accordingly brute force reset the timestamps, as soon as it's not 600 shots/30sec ?

If so, than that should be the other way around, or ?

I would guess the time stamp is the reference clock and sometimes some more or fewer shots occur. Maybe ask Ronny for clarification.

Moreover the function uses a fixed number of 600, which probably stands for 20shots/sec in 30 sec. However the new diode-pumped systems work on 100shots/sec. So this number somehow should be replaced by a variable.

%% Re-sample the temporal grid to 30 s, if it's not in 30s. nInt = round(600 / nanmean(data.mShots(1, :), 2)); % number of profiles to be % integrated. Usually, 600 % shots per 30 s

ZPYin commented 3 years ago

Thanks for reporting this issue. I will handle it in the next few days.

HolgerPollyNet commented 3 years ago

@Ropzn is this solution ok for you?