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
19 stars 8 forks source link

check mTime for correct timestamp within nc-file #172

Closed ulysses78 closed 1 year ago

ulysses78 commented 1 year ago

Sorry for confusions... this pull request is for this branch to dev (not to master). From now on the measurementtime in "readPollyRawData.m" will be checked first, before written to the variable "mTime". If the timestamp from within the nc-file starts with 19700101, the measurementtime will be taken from the nc-filename. Otherwise the measurementtime will be taken directly from within the nc-file and written to the variable "mTime".

HolgerPollyNet commented 1 year ago

I think it would be better to check whether filename time and file time fit together. We unfortunately had also cases, when the time was completely off and not 1970....furthermore sometimes we recognized to late and we had measurements until 19700105 ....

ulysses78 commented 1 year ago

Ok. I understand. This sounds like a good solution (to compare the timestamp from filename with the timestamp within the file).