{
  "cells": [
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "collapsed": false
      },
      "outputs": [],
      "source": [
        "%matplotlib inline"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "\n# IODA2NC: Basic Use Case\n\nmet_tool_wrapper/IODA2NC/IODA2NC.conf\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Scientific Objective\n\nConvert IODA NetCDF files to MET NetCDF format.\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Datasets\n\n**Input:** IODA NetCDF observation\n\n**Location:** All of the input data required for this use case can be found\nin the met_test sample data tarball. Click here to the METplus releases\npage and download sample data for the appropriate release:\nhttps://github.com/dtcenter/METplus/releases\nThis tarball should be unpacked into the directory that you will set the\nvalue of INPUT_BASE. See the `Running METplus`_ section for more information.\n\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## METplus Components\n\nThis use case utilizes the METplus IODA2NC wrapper to generate a command\nto run the MET tool ioda2nc if all required files are found.\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## METplus Workflow\n\nIODA2NC is the only tool called in this example.\nIt processes the following run time(s):\n\n| **Valid:** 2020-03-10 12Z\n\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## METplus Configuration\n\nparm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf\n\n.. highlight:: bash\n.. literalinclude:: ../../../../parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## MET Configuration\n\n<div class=\"alert alert-info\"><h4>Note</h4><p>See the `IODA2NC MET Configuration<ioda2nc-met-conf>`\n    section of the User's Guide for more information on the environment\n    variables used in the file below.</p></div>\n\nparm/met_config/IODA2NCConfig_wrapped\n\n.. highlight:: bash\n.. literalinclude:: ../../../../parm/met_config/IODA2NCConfig_wrapped\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Running METplus\n\nProvide the use case .conf configuration file to the run_metplus.py script.\n\n/path/to/METplus/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf\n\nSee the `running-metplus` section of the System Configuration chapter\nfor more details.\n\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Expected Output\n\nA successful run will output the following to the screen and the logfile::\n\n  INFO: METplus has successfully finished running.\n\nRefer to the value set for **OUTPUT_BASE** to find where the output data\nwas generated. Output for this use case will be found in\nmet_tool_wrapper/ioda2nc\n(relative to **OUTPUT_BASE**)\nand will contain the following file(s):\n\n* ioda.NC001007.2020031012.summary.nc\n\n\n"
      ]
    },
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "## Keywords\n\n<div class=\"alert alert-info\"><h4>Note</h4><p>* IODA2NCToolUseCase\n\n  Navigate to `quick-search` to discover other similar use cases.</p></div>\n\n\n\nsphinx_gallery_thumbnail_path = '_static/met_tool_wrapper-IODA2NC.png'\n\n\n"
      ]
    }
  ],
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "language_info": {
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "name": "python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.7.9"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 0
}