Command line tool

Installing climetlab also make available the climetlab utility command line interface.

Usage

$ climetlab <command> [options]
$ climetlab
(climetlab) <command> [options]

Interactive prompt

climetlab

Running the climetlab command with no argument starts the interactive prompt. Autocompletion is enabled on the interactive prompt. To exit the interactive prompt use Control+D.

$ climetlab
(climetlab) <command> [options]
(climetlab)

generate_cmdline_help Traceback (most recent call last):

File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/checkouts/0.13.5/climetlab/sphinxext/module_output.py”, line 37, in run

module = import_module(“..%s” % (name.replace(“-”, “_”),), package=__name__)

File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/envs/0.13.5/lib/python3.7/importlib/__init__.py”, line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File “<frozen importlib._bootstrap>”, line 1006, in _gcd_import File “<frozen importlib._bootstrap>”, line 983, in _find_and_load File “<frozen importlib._bootstrap>”, line 967, in _find_and_load_unlocked File “<frozen importlib._bootstrap>”, line 677, in _load_unlocked File “<frozen importlib._bootstrap_external>”, line 728, in exec_module File “<frozen importlib._bootstrap>”, line 219, in _call_with_frames_removed File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/checkouts/0.13.5/climetlab/sphinxext/generate_cmdline_help.py”, line 13, in <module>

from climetlab.scripts.main import CliMetLabApp

File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/checkouts/0.13.5/climetlab/scripts/__init__.py”, line 10, in <module>

from .main import main

File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/checkouts/0.13.5/climetlab/scripts/main.py”, line 22, in <module>

from .benchmark import BenchmarkCmd

File “/home/docs/checkouts/readthedocs.org/user_builds/climetlab/checkouts/0.13.5/climetlab/scripts/benchmark.py”, line 15, in <module>

import xarray as xr

ModuleNotFoundError: No module named ‘xarray’