gwgen evaluate prepareΒΆ
The default configuration for EvaluationPreparation
instances.
See also the EvaluationPreparation.default_config
attribute
usage: gwgen evaluate prepare [-h] [-ido str]
[-fr { 'scratch' | 'file' | 'db' | None }]
[-raw2db] [-raw2csv] [-r str] [-i str]
[-f { 'scratch' | 'file' | 'db' | None }]
[-to-csv] [-to-db] [-rm] [-sf]
- Optional Arguments
-ido, --other_id Use the configuration from another experiment - Setup arguments
-fr, --raw-from The method how to setup the raw data from GHCN and EECRA ``’scratch’`` To set up the task from the raw data ``’file’`` Set up the task from an existing file ``’db’`` Set up the task from a database ``None`` If the file name of this this task exists, use this one, otherwise a database is provided, use this one, otherwise go from scratch -raw2db=False If True, the raw data from GHCN and EECRA is stored in a postgres database -raw2csv=False If True, the raw data from GHCN and EECRA is stored in a csv file -r, --reference The path of the file where to store the reference data. If None and not already set in the configuration, it will default to ``’evaluation/reference.csv’`` -i, --input The path of the file where to store the model input. If None, and not already set in the configuration, it will default to ``’inputdir/input.csv’`` where *inputdir* is the path to the input directory (by default, *input* in the experiment directory) -f, --from The method how to setup the instance either from ``’scratch’`` To set up the task from the raw data ``’file’`` Set up the task from an existing file ``’db’`` Set up the task from a database ``None`` If the file name of this this task exists, use this one, otherwise a database is provided, use this one, otherwise go from scratch
Possible choices: scratch, file, db
-to-csv=False If True, the data at setup will be written to a csv file -to-db=False If True, the data at setup will be written to into a database -rm=False, --remove=False If True and the old data file already exists, remove before writing to it -sf=False, --skip-filtering=False If True, skip the filtering for the correct stations in the datafile