Skip to content

Alternate location for preprocess_dataset not respected #37

@bnubald

Description

@bnubald

There is a --destination-path flag for preprocess_dataset which does not alter the default location where the dataset is created. It only outputs to the default ./processed/ directory.

Would like the ability to change the default location where this is output, just like the regridding command (though the way it works is different).

usage: preprocess_dataset [-h] [-c CONFIG] [-v] [-p DESTINATION_PATH] [-po] [-i IMPLEMENTATION] [-r REF] [-ps PROCESSING_SPLITS] [-sn SPLIT_NAMES] [-ss SPLIT_STARTS] [-se SPLIT_ENDS]
                          [-sh SPLIT_HEAD] [-st SPLIT_TAIL] [--trends TRENDS] [--trend-lead TREND_LEAD] [--abs ABS] [--anom ANOM]
                          source [destination_id]

positional arguments:
  source
  destination_id

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config-path CONFIG
                        Path at which to output the configuration when rendered
  -v, --verbose
  -p DESTINATION_PATH, --destination-path DESTINATION_PATH
                        Folder that any output data collections will be put in
  -po, --parallel-opens
                        Allow parallel opens and dask implementation
  -i IMPLEMENTATION, --implementation IMPLEMENTATION
                        Allow implementation to be specified on command line
  -r REF, --ref REF     Reference loader for normalisations etc
  -ps PROCESSING_SPLITS, --processing-splits PROCESSING_SPLITS
  -sn SPLIT_NAMES, --split-names SPLIT_NAMES
  -ss SPLIT_STARTS, --split_starts SPLIT_STARTS
  -se SPLIT_ENDS, --split_ends SPLIT_ENDS
  -sh SPLIT_HEAD, --split-head SPLIT_HEAD
                        Split dates head, number of time steps to include before
  -st SPLIT_TAIL, --split-tail SPLIT_TAIL
                        Split dates tail, number of time steps to include after
  --trends TRENDS       Comma separated list of abs vars
  --trend-lead TREND_LEAD
                        Time steps in the future for linear trends
  --abs ABS             Comma separated list of absolute vars
  --anom ANOM           Comma separated list of anomoly vars

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions