mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-09-22 22:00:47 +02:00
write gzip
This commit is contained in:
@@ -236,7 +236,7 @@ def main():
|
|||||||
|
|
||||||
# Write final CSV
|
# Write final CSV
|
||||||
output_path = os.path.join(FINAL_OUTPUT_DIR, output_filename)
|
output_path = os.path.join(FINAL_OUTPUT_DIR, output_filename)
|
||||||
with open(output_path, "wb") as f:
|
with gzip.open(output_path, "wb") as f:
|
||||||
combined.write_csv(f)
|
combined.write_csv(f)
|
||||||
print(f"Wrote {len(combined)} records to {output_path}")
|
print(f"Wrote {len(combined)} records to {output_path}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user