Skip to content

Commit

Permalink
Merge pull request #416 from LSSTDESC/u/yymao/fix-readme
Browse files Browse the repository at this point in the history
README fix: --output-filename needs extension
  • Loading branch information
yymao authored Jan 16, 2021
2 parents a85fbc7 + 9e38385 commit e141796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/README_write_gcr_to_parquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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=<prefix>.parquet`.

#### Running on only a subset of partitions

Expand Down

0 comments on commit e141796

Please sign in to comment.