Command line tools¶
After installing Veros, you can call these scripts from the command line from any location on your system.
This is a wrapper script that provides easy access to all Veros command line tools.
Usage: veros [OPTIONS] COMMAND [ARGS]... Veros command-line tools Options: --version Show the version and exit. --help Show this message and exit. Commands: copy-setup Copy a standard setup to another directory create-mask Creates a mask image from a given netCDF file resubmit Re-run a Veros setup several times
Usage: veros create-mask [OPTIONS] INFILE Creates a mask image from a given netCDF file Options: -v, --variable TEXT Variable holding topography data (default: z) -o, --outfile TEXT Output filename (default: topography.png) -s, --scale INTEGER... Standard deviation in grid cells for Gaussian smoother (default: disable smoother) --help Show this message and exit.
Usage: veros copy-setup [OPTIONS] SETUP Copy a standard setup to another directory Options: --to PATH Target directory (default: copy to current working directory) --help Show this message and exit.
Usage: veros resubmit [OPTIONS] Performs several runs of Veros back to back, using the previous run as restart input. Intended to be used with scheduling systems (e.g. SLURM or PBS). Options: -i, --identifier TEXT Base identifier of the simulation [required] -n, --num-runs INTEGER Total number of runs to execute [required] -l, --length-per-run FLOAT Length (in seconds) of each run [required] -c, --veros-cmd COMMAND The command that is used to call veros (quoted) [required] --callback CMD Command to call after each run has finished (quoted, default: call self) --help Show this message and exit.