mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 10:32:59 +00:00
just wh
This commit is contained in:
parent
4c24d69ae6
commit
f4d1d1d77e
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ def run(args):
|
|||
output_mode = MODE_TFRECORD if filepath_output.endswith(".tfrecord") or filepath_output.endswith(".tfrecord.gz") else MODE_JSONL
|
||||
|
||||
logger.info("Output mode is "+("TFRECORD" if output_mode == MODE_TFRECORD else "JSONL"))
|
||||
logger.info(f"Records per file: {args.records_per_file}")
|
||||
|
||||
write_mode = "wt" if filepath_output.endswith(".gz") else "w"
|
||||
if output_mode == MODE_TFRECORD:
|
||||
|
|
Loading…
Reference in a new issue