gwgen preproc cloudΒΆ

Extract the inventory of EECRA stations

usage: gwgen preproc cloud [-h] [-mf int] {eecra_inventory,eecra_ghcn_map} ...
Optional Arguments
-mf, --max-files
 The maximum number of files to process during one process. If None, it is determined by the global ``’max_stations’`` key
Sub-commands:
eecra_inventory

Default config for :class:`CloudInventory`

usage: gwgen preproc cloud eecra_inventory [-h] [-ido str]
                                           [-xstall bool or 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
-xstall=True If True (default), download the XSTALL file from http://cdiac.ornl.gov/ftp/ndp026c/XSTALL. This file contains some estimates of station longitude and latitude. If ``False`` or empty string, the file is not used, otherwise, if set with a string, it is interpreted as the path to the local file
-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
eecra_ghcn_map

Default config for :class:`CloudGHCNMap`

usage: gwgen preproc cloud eecra_ghcn_map [-h] [-ido str] [-md float]
                                          [-to-csv] [-rm] [-sf]
Optional Arguments
-ido, --other_id
 Use the configuration from another experiment
Setup arguments
-md=1000.0, --max-distance=1000.0
 The maximum distance in meters for which we consider two stations as equal (Default: 1000m)
-to-csv=False If True, the data at setup will be written to a csv file
-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