From d3da6c19fd22ccb803a27966a93aa5c5fac67bd1 Mon Sep 17 00:00:00 2001 From: Angel Farguell Caus Date: Wed, 27 May 2020 10:52:20 -0600 Subject: [PATCH] creation of FRP data field and adding seconds to the time stamp --- JPSSD.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/JPSSD.py b/JPSSD.py index 3487a82..9f244f5 100644 --- a/JPSSD.py +++ b/JPSSD.py @@ -1215,8 +1215,8 @@ def json2kml(d,kml_path,bounds,prods,opt='granule',minconf=80.): angle=angles[p] scan=scans[p] track=tracks[p] - timestamp=acq_date[p] + 'T' + acq_time[p][0:2] + ':' + acq_time[p][2:4] + 'Z' - timedescr=acq_date[p] + ' ' + acq_time[p][0:2] + ':' + acq_time[p][2:4] + ' UTC' + timestamp=acq_date[p] + 'T' + acq_time[p][0:2] + ':' + acq_time[p][2:4] + ':00Z' + timedescr=acq_date[p] + ' ' + acq_time[p][0:2] + ':' + acq_time[p][2:4] + ':00 UTC' if prod == 'NF': kml.write('\nGround detection square\n') @@ -1243,6 +1243,7 @@ def json2kml(d,kml_path,bounds,prods,opt='granule',minconf=80.): + 'along-track: %s\n' % track + '\n') kml.write('%s\n' % timestamp) + kml.write('%s\n' % frp) if prod == 'AF': if conf < 30: kml.write(' modis_conf_low \n') -- 2.11.4.GIT