<jupyter_start><jupyter_text>Kamodo-CLIThe kamodo command-line interface should be installed automatically with pip    pip install kamodo !!! warning    The command line app is a work in progress. Expect changes! !!! note    You can run these examples in a notebook with `!kamodo`  Run the command line interface with    kamodo .=value     instantiationTo create a simple function ready for evaluation:```consolekamodo model.params.f[cm]=x**2     lhs   rhs symbol unitsf(x)   f  x**2   f(x)    cm\begin{equation}f{\left(x \right)} [cm] = x^{2}\end{equation}```         Kamodo will print a description of the loaded model when `verbose` output is on (the default).  evaluationTo evaluate a model, provide arguments for each function.```consolekamodo model.params.f[cm]=x**2 model.evaluate.f.x=[-3,-1,1,3] verbose=falsef(x=[-3, -1, 1, 3]) cm = [9 1 1 9]```  visualizationTo visualize model output, provide plot parameters similar to evaluation```consolekamodo model.params.f[cm]=x**2 model.plot.f.x.min=-2 model.plot.f.x.max=2 model.plot.f.x.n=25 verbose=False```An interactive plot will open with your figure{! notebooks/outputs/2019-12-20/13-28-47/temp-plot.html !}  Kamodofied modelsTo work with a kamodofied model, specify the `model.class`.```consolekamodo model.class=kamodo.readers.tiegcm.TIEGCM_Kamodo model.params.filename=$PWD/s001.nc  model.plot.EFLUX.lon=[0]```![Screenshot](images/tiegcm_output.png)  ConfigurationKamodo can use configuration files so that arguments do not have to be passed manually.To create your own configuration, create a config.yaml file in your project's directory:```yaml{! notebooks/config.yaml !}```Running kamodo from a directory containing the above `config.yaml` will produce the same plot as before:<jupyter_code>! kamodo<jupyter_output>lhs   rhs symbol units
f(x)   f  x**2   f(x)    cm
\begin{equation}f{\left(x \right)} [cm] = x^{2}\end{equation}
{'fraction_non_alphanumeric': 0.1225567881669308, 'fraction_numerical': 0.021658742736397254, 'mean_word_length': 4.827692307692308, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '658671', 'license': 'NASA-1.3', 'n_tokens_mistral': 628, 'n_tokens_neox': 603, 'n_words': 193, 'path': 'docs/notebooks/CommandLineInterface.ipynb', 'repo_name': 'darrendezeeuw/Kamodo', 'size': '1893'}