Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix #1713 develop METPLOTPY_BASE #1715

Merged
merged 3 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/parm/test_settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ GEMPAKTOCF_JAR = /data/input/GempakToCF.jar

# also set location of GFDL Tracker executables
GFDL_TRACKER_EXEC = /usr/local/bin

[user_env_vars]
METPLOTPY_BASE = {METPLUS_BASE}/../METplotpy
12 changes: 12 additions & 0 deletions docs/Users_Guide/systemconfiguration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@ change the value appropriately::

MET_BIN_DIR = {MET_INSTALL_DIR}/exec


METPLOTPY_BASE (user_env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is the path to the location where METplotpy is installed.
The variable is found under the [user_env_vars] section heading, which
will set it as an environment variable. See :ref:`user_defined_config`
for more information on the [user_env_vars] section.
This variable is referenced in some METplotpy functions.
It is not necessary to set this variable if METplotpy will not be used or if
it is already set in the user's environment.

.. _metplus_final_conf:

METPLUS_CONF
Expand Down
11 changes: 11 additions & 0 deletions parm/metplus_config/defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,14 @@ LOG_DEBUG_LINE_FORMAT = {LOG_LINE_FORMAT}
LOG_INFO_LINE_FORMAT = %(asctime)s.%(msecs)03d %(name)s %(levelname)s: %(message)s

LOG_LINE_DATE_FORMAT = %m/%d %H:%M:%S

###############################################################################
# METplotpy Installation Location #
# * Uncomment and set METPLOTPY_BASE to the path where #
# METplotpy is installed. This is not necessary if METplotpy will not be #
# used or if METPLOTPY_BASE is set in the user's environment. #
###############################################################################

[user_env_vars]

#METPLOTPY_BASE= /path/to/METplotpy
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ LOG_LEVEL = "INFO"

INPUT_FILE_NAMES = {INPUT_BASE}/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot/SpaceTimeSpectra_ERAI_P_D200_symm_2spd.nc,{INPUT_BASE}/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot/SpaceTimeSpectra_ERAI_TRMM_P_symm_2spd.nc,{INPUT_BASE}/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot/SpaceTimeSpectra_ERAI_P_D850_symm_2spd.nc

METPLOTPY_BASE = {METPLUS_BASE}/METplotpy

YAML_CONFIG_NAME = {METPLUS_BASE}/parm/use_cases/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot/spectra_plot.yaml

OUTPUT_DIR = {OUTPUT_BASE}/plots/
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ YAML_CONFIG_NAME = {PARM_BASE}/use_cases/model_applications/s2s/UserScript_obsPr

INPUT_FILE_NAME = {INPUT_BASE}/model_applications/s2s/UserScript_obsPrecip_obsOnly_Hovmoeller/precip.erai.sfc.1p0.2x.2014-2016.nc

METPLOTPY_BASE = {METPLUS_BASE}/../METplotpy
OUTPUT_DIR = {OUTPUT_BASE}/plots