-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'NOAA-EMC:develop' into post_sync
- Loading branch information
Showing
34 changed files
with
198 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
.. role:: underline | ||
:class: underline | ||
.. role:: bolditalic | ||
:class: bolditalic | ||
|
||
.. _testing-upp: | ||
|
||
***************** | ||
Testing the UPP | ||
***************** | ||
|
||
Running UPP Regression Tests | ||
============================= | ||
|
||
To run the full regression test (RT) suite in preparation for opening a pull request (PR): | ||
|
||
#. Navigate to the local clone of your UPP fork containing the changes you would like to introduce, and run the included RT script within ``/ci`` | ||
|
||
.. code-block:: console | ||
cd /path/to/UPP/ci | ||
nohup ./rt.sh -a <my_account> -r $PWD/rundir -t $PWD/../ & | ||
where ``my_account`` is the name of an account where you have permissions to run jobs. The terminal will print a message like: | ||
|
||
.. code-block:: console | ||
nohup: ignoring input and appending output to ‘nohup.out’ | ||
The user can continue to issue commands in the Terminal while the RTs run in the background. | ||
|
||
.. note:: | ||
|
||
The time it takes for tests to run is queue-dependent. RTs can take as little as half an hour to run, but on machines with long queue times, it can take several hours to complete the full set of tests. | ||
|
||
#. Check ``rt.log.<machine>/nohup.out`` for a short summary of any changes in results. The tests are finished when there are 16 timestamps and a final results summary (e.g., "No changes in test results detected."). | ||
|
||
* The ``/work`` directory generated in ``UPP/ci`` contains ``out.post.<test_name>`` files, which list output from each test, including any unexpected errors during runtime. | ||
* The ``/rundir`` directory generated within ``UPP/ci`` will include test case results, and ``.diff`` files located within each test's directory will outline changes in fields with the current baselines. | ||
* Confirm expected changes within the run directory ``.diff`` files if any are present. | ||
|
||
* Changes in the ``rap_pe_test`` case only consisting of field 708 Convective Cloud Layer may be ignored; this is a known bug and will always be present within the ``WRFPRS.diff`` file. | ||
|
||
Additional Configuration | ||
========================= | ||
For repeated regression test runs, users can edit the ``rt.sh`` file and disable the specified test cases by changing their respective values to “no.” Users can disable the build step as well with the same value for the build variable above the tests. Please be sure to enable all test cases and build settings and conduct a full RT run in preparation for a pull request so that code managers (CMs) can confirm all changes in results are expected and consistent with the developer's results. | ||
|
||
``rt.sh`` will allow for changing the configuration of the regression tests if users desire to do so with the following available options: | ||
|
||
* ``w`` -- specify the work directory for test case job output | ||
* ``r`` -- specify the run directory containing baselines and ``.diff`` files for comparison of changes in results | ||
|
||
The following are legacy options for when ``rt.sh`` was not included within the UPP repository and may be ignored by developers: ``-b``, ``-u``, ``-c``, ``-t``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Building, Running, and Testing the UPP | |
InputsOutputs | ||
BuildingUPP | ||
RunningUPP | ||
TestingUPP |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = -a -n #-W | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = build | ||
LINKCHECKDIR = $(BUILDDIR)/linkcheck | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile linkcheck | ||
|
||
doc: | ||
make clean | ||
$(MAKE) linkcheck | ||
$(MAKE) html | ||
|
||
linkcheck: | ||
$(SPHINXBUILD) -b linkcheck $(SPHINXOPTS) $(SOURCEDIR) $(LINKCHECKDIR) | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) -w $(BUILDDIR)/warnings.log |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
docs/UserGuide/requirements.txt → doc/UserGuide/requirements.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sphinxcontrib-bibtex | ||
sphinx>=6.0.0 | ||
sphinx_rtd_theme | ||
docutils==0.16 | ||
sphinxcontrib-bibtex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.9 | ||
# by the following command: | ||
# | ||
# pip-compile requirements.in | ||
# | ||
alabaster==0.7.16 | ||
# via sphinx | ||
babel==2.14.0 | ||
# via sphinx | ||
certifi==2024.2.2 | ||
# via requests | ||
charset-normalizer==3.3.2 | ||
# via requests | ||
docutils==0.20.1 | ||
# via | ||
# pybtex-docutils | ||
# sphinx | ||
# sphinx-rtd-theme | ||
# sphinxcontrib-bibtex | ||
idna==3.6 | ||
# via requests | ||
imagesize==1.4.1 | ||
# via sphinx | ||
importlib-metadata==7.0.1 | ||
# via | ||
# sphinx | ||
# sphinxcontrib-bibtex | ||
jinja2==3.1.3 | ||
# via sphinx | ||
latexcodec==2.0.1 | ||
# via pybtex | ||
markupsafe==2.1.5 | ||
# via jinja2 | ||
packaging==23.2 | ||
# via sphinx | ||
pybtex==0.24.0 | ||
# via | ||
# pybtex-docutils | ||
# sphinxcontrib-bibtex | ||
pybtex-docutils==1.0.3 | ||
# via sphinxcontrib-bibtex | ||
pygments==2.17.2 | ||
# via sphinx | ||
pyyaml==6.0.1 | ||
# via pybtex | ||
requests==2.31.0 | ||
# via sphinx | ||
six==1.16.0 | ||
# via | ||
# latexcodec | ||
# pybtex | ||
snowballstemmer==2.2.0 | ||
# via sphinx | ||
sphinx==7.2.6 | ||
# via | ||
# -r requirements.in | ||
# sphinx-rtd-theme | ||
# sphinxcontrib-bibtex | ||
# sphinxcontrib-jquery | ||
sphinx-rtd-theme==2.0.0 | ||
# via -r requirements.in | ||
sphinxcontrib-applehelp==1.0.8 | ||
# via sphinx | ||
sphinxcontrib-bibtex==2.6.2 | ||
# via -r requirements.in | ||
sphinxcontrib-devhelp==1.0.6 | ||
# via sphinx | ||
sphinxcontrib-htmlhelp==2.0.5 | ||
# via sphinx | ||
sphinxcontrib-jquery==4.1 | ||
# via sphinx-rtd-theme | ||
sphinxcontrib-jsmath==1.0.1 | ||
# via sphinx | ||
sphinxcontrib-qthelp==1.0.7 | ||
# via sphinx | ||
sphinxcontrib-serializinghtml==1.1.10 | ||
# via sphinx | ||
urllib3==2.2.1 | ||
# via requests | ||
zipp==3.17.0 | ||
# via importlib-metadata |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.