From 9e383856e6ad0d89ac05deafa715d6eb7a4d3dab Mon Sep 17 00:00:00 2001 From: Yao-Yuan Mao Date: Fri, 15 Jan 2021 11:30:38 -0500 Subject: [PATCH] --output-filename needs extension --- scripts/README_write_gcr_to_parquet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/README_write_gcr_to_parquet.md b/scripts/README_write_gcr_to_parquet.md index 0bebdd4..bb02074 100644 --- a/scripts/README_write_gcr_to_parquet.md +++ b/scripts/README_write_gcr_to_parquet.md @@ -46,7 +46,7 @@ salloc -N 1 -C haswell -q interactive -A m1727 -t 04:00:00 ```bash CAT="dc2_object_run2.2i_dr6_v1" -python ./DC2-production/scripts/write_gcr_to_parquet.py $CAT --output-filename=object_dpdd --partition +python ./DC2-production/scripts/write_gcr_to_parquet.py $CAT --output-filename=object_dpdd.parquet --partition ``` Here `CAT` can be set to any object catalog that is available in `GCRCatalogs`. @@ -60,7 +60,7 @@ python ./DC2-production/scripts/write_gcr_to_parquet.py $CAT --partition Here `CAT` can be set to any cosmoDC2/SkySim catalog that is available in `GCRCatalogs`. The output files will use `$CAT` as prefix. -If you want to overwrite the prefix, specify `--output-filename`. +If you want to overwrite the prefix, specify `--output-filename=.parquet`. #### Running on only a subset of partitions