.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "generated/met_tool_wrapper/IODA2NC/IODA2NC.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_generated_met_tool_wrapper_IODA2NC_IODA2NC.py: IODA2NC: Basic Use Case ======================= met_tool_wrapper/IODA2NC/IODA2NC.conf .. GENERATED FROM PYTHON SOURCE LINES 9-13 Scientific Objective -------------------- Convert IODA NetCDF files to MET NetCDF format. .. GENERATED FROM PYTHON SOURCE LINES 15-27 Datasets -------- **Input:** IODA NetCDF observation **Location:** All of the input data required for this use case can be found in the met_test sample data tarball. Click here to the METplus releases page and download sample data for the appropriate release: https://github.com/dtcenter/METplus/releases This tarball should be unpacked into the directory that you will set the value of INPUT_BASE. See the `Running METplus`_ section for more information. .. GENERATED FROM PYTHON SOURCE LINES 29-34 METplus Components ------------------ This use case utilizes the METplus IODA2NC wrapper to generate a command to run the MET tool ioda2nc if all required files are found. .. GENERATED FROM PYTHON SOURCE LINES 36-44 METplus Workflow ---------------- IODA2NC is the only tool called in this example. It processes the following run time(s): | **Valid:** 2020-03-10 12Z .. GENERATED FROM PYTHON SOURCE LINES 46-53 METplus Configuration --------------------- parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf .. highlight:: bash .. literalinclude:: ../../../../parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf .. GENERATED FROM PYTHON SOURCE LINES 55-67 MET Configuration --------------------- .. note:: See the :ref:`IODA2NC MET Configuration` section of the User's Guide for more information on the environment variables used in the file below. parm/met_config/IODA2NCConfig_wrapped .. highlight:: bash .. literalinclude:: ../../../../parm/met_config/IODA2NCConfig_wrapped .. GENERATED FROM PYTHON SOURCE LINES 69-79 Running METplus --------------- Provide the use case .conf configuration file to the run_metplus.py script. /path/to/METplus/parm/use_cases/met_tool_wrapper/IODA2NC/IODA2NC.conf See the :ref:`running-metplus` section of the System Configuration chapter for more details. .. GENERATED FROM PYTHON SOURCE LINES 81-96 Expected Output --------------- A successful run will output the following to the screen and the logfile:: INFO: METplus has successfully finished running. Refer to the value set for **OUTPUT_BASE** to find where the output data was generated. Output for this use case will be found in met_tool_wrapper/ioda2nc (relative to **OUTPUT_BASE**) and will contain the following file(s): * ioda.NC001007.2020031012.summary.nc .. GENERATED FROM PYTHON SOURCE LINES 98-109 Keywords -------- .. note:: * IODA2NCToolUseCase Navigate to :ref:`quick-search` to discover other similar use cases. .. GENERATED FROM PYTHON SOURCE LINES 109-111 .. code-block:: Python # .. _sphx_glr_download_generated_met_tool_wrapper_IODA2NC_IODA2NC.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: IODA2NC.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: IODA2NC.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: IODA2NC.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_