Commit 29aee2df authored by Jason Wu's avatar Jason Wu

update filesize, leap mode will use a fixed filesize

parent 46ea3b2d
Pipeline #94406 passed with stages
in 1 minute and 26 seconds
......@@ -650,7 +650,7 @@ class EddPulsarPipeline(EDDPipeline):
log.debug(" - sample_clock: {}".format(header['sample_clock']))
header["source_name"] = self._source_name
header["obs_id"] = "{0}_{1}".format(scannum, subscannum)
header["filesize"] = int(float(self._config["dada_params"]["size"]) / 8.0)
header["filesize"] = int(float(self._config["dada_params"]["size"]))
log.debug(" - obs_id: {}".format(header['obs_id']))
header["receiver_name"] = receiver_name
log.debug(" - receiver_name: {}".format(header['receiver_name']))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment