irfu / Lapdog_GIT

Matlab program for generating Rosetta RPCLAP calibrated-level & derived-level data from pds-generated data
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Inconsistent number of NEL.TAB UTC decimals #36

Closed ErikPGJ closed 5 years ago

ErikPGJ commented 5 years ago

Found in EXT3. Number of UTC decimals, 3 or 6, vary from file to file (row to row?). Current LBL files assume 6 decimals (but that can be changed)

head RO-C-RPCLAP-5-EXT3-DERIV-V1.0////[0-9]_NEL.TAB

Excerpt:

==> RO-C-RPCLAP-5-EXT3-DERIV-V1.0/2016/AUG/D02/RPCLAP_20160802_000001_610_NEL.TAB <== 2016-08-02T00:01:55.301, 428716827.435524, 1.4316049e+02, 0.73, 3, 000 2016-08-02T00:04:35.301, 428716987.435524, 1.2092858e+02, 0.73, 3, 000 2016-08-02T00:07:15.301, 428717147.435524, 1.2945085e+02, 0.73, 3, 000 2016-08-02T00:09:55.301, 428717307.435524, 1.3813118e+02, 0.73, 3, 000 2016-08-02T00:12:35.301, 428717467.435524, 1.3489910e+02, 0.73, 3, 000 2016-08-02T00:15:15.301, 428717627.435524, 1.1783673e+02, 0.73, 3, 000 2016-08-02T00:17:55.301, 428717787.435524, 1.2875253e+02, 0.73, 3, 000 2016-08-02T00:20:35.301, 428717947.435524, 1.2986048e+02, 0.73, 3, 000 2016-08-02T00:23:15.301, 428718107.435524, 1.2604813e+02, 0.37, 3, 000 2016-08-02T00:25:55.301, 428718267.435524, 1.2781629e+02, 0.73, 3, 000

==> RO-C-RPCLAP-5-EXT3-DERIV-V1.0/2016/AUG/D03/RPCLAP_20160803_000155_416_NEL.TAB <== 2016-08-03T00:01:56.211688, 428803228.317874, 1.4990526e+02, 0.81, 1, 000 2016-08-03T00:01:58.426221, 428803230.532407, 1.5050727e+02, 0.81, 1, 000 2016-08-03T00:02:00.640754, 428803232.746940, 1.4927380e+02, 0.81, 1, 000 2016-08-03T00:02:02.855287, 428803234.961472, 1.4661803e+02, 0.81, 1, 000 2016-08-03T00:02:05.069820, 428803237.176005, 1.4495368e+02, 0.81, 1, 000 2016-08-03T00:02:07.284353, 428803239.390538, 1.4624655e+02, 0.81, 1, 000 2016-08-03T00:02:09.498886, 428803241.605071, 1.5063403e+02, 0.81, 1, 000 2016-08-03T00:02:11.713419, 428803243.819604, 1.5226247e+02, 0.81, 1, 000 2016-08-03T00:02:13.927952, 428803246.034137, 1.5364819e+02, 0.81, 1, 000 2016-08-03T00:02:16.142485, 428803248.248670, 1.5468700e+02, 0.81, 1, 000

frejon commented 5 years ago

I don't want to close this, but in the latest issue, we disabled Vz->NEL, so this bug is no more. If we do enable Vz, this (and other bugs, such as overwriting and NEL_tabindex controls) need to be implemented

ErikPGJ commented 5 years ago

OK. I suspected that. If enabled again, a quick-and-dirty solution is to just truncate all NED.TAB UTC to three decimals and I change the NEL.LBL files accordingly, as long as it is consistent.