Skip to content

Commit

Permalink
Feature 2741 dropdowns (#2808)
Browse files Browse the repository at this point in the history
* marine_and_cryosphere directories

* fixing underlining

* trying to fix warning msg.

* trying to fix warning msg. again

* Removing space before i.e.

* updating medium_range and pbl directories

* deleting empty file

* removing lots of old text

* precipitation files

* removing junk file

* removing extra #

* add return

* updating 3 dirs s2s, space_weather and unstructured_grids

* updating short_range files

* adding tc_and_extra_tc files

* removing defunct -c option

* added dropdown menus for marine_and_cryosphere

* fixing problems and dropdowns for medium_range

* fixing new problems

* dropdowns for pbl and precip

* adding double colons

* Attempting to resolve errors

* dropdowns for s2s and s2s_mjo

* adding dropdowns for short_range files

* final dropdown directories

* Update docs/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsGHRSST_climWOA_sst.py

removing note

Co-authored-by: Julie Prestopnik <[email protected]>

* Apply suggestions from code review

adding all of the suggestions

Co-authored-by: Julie Prestopnik <[email protected]>

* Update GridStat_fcstRTOFS_obsGHRSST_climWOA_sst.py

ensuring literal include is in dropdown menu

* Update GridStat_fcstRTOFS_obsOSTIA_iceCover.py

ensuring literal include is in dropdown

* ensuring literal include is in dropdown menu

* marine_and_cryosphere MET Configuration dropdown fixes

* remaining dropdown directories for MET Configuration

* Julie changing dropdowns

Co-authored-by: Julie Prestopnik <[email protected]>

* HEAD needed to be removed

* There are not MET tools used in this use case

* There are no MET tools used in this use case

* Apply suggestions from code review

Co-authored-by: Julie Prestopnik <[email protected]>

* Per #2741, few small changes

* updates from pull request discussion

* removing space

Co-authored-by: Julie Prestopnik <[email protected]>

* fixing dropdown

Co-authored-by: Julie Prestopnik <[email protected]>

* removing bash

Co-authored-by: Julie Prestopnik <[email protected]>

* update from Julie

Co-authored-by: Julie Prestopnik <[email protected]>

* Fixing error

* lots of typos

Co-authored-by: Julie Prestopnik <[email protected]>

* Adding period

* Adding colon

* Added period

* Added period

* Added period

* typos and more

Co-authored-by: Julie Prestopnik <[email protected]>

---------

Co-authored-by: Julie Prestopnik <[email protected]>
  • Loading branch information
lisagoodrich and jprestop authored Dec 10, 2024
1 parent 6d9cae7 commit 75476cd
Show file tree
Hide file tree
Showing 67 changed files with 1,043 additions and 461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
#
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped
#
# .. dropdown:: MODEConfig_wrapped
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -98,7 +98,6 @@
#
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped

##############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -100,22 +100,30 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`GridStat MET Configuration<grid-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped

##############################################################################
# Python Embedding
# ----------------
#
# This use case uses one Python script to read forecast, observation, and climatology data
# This use case uses one Python script to read forecast, observation, and climatology data.
#
# parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsGHRSST_climWOA_sst/read_rtofs_ghrsst_woa.py
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsGHRSST_climWOA_sst/read_rtofs_ghrsst_woa.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsGHRSST_climWOA_sst/read_rtofs_ghrsst_woa.py
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsGHRSST_climWOA_sst/read_rtofs_ghrsst_woa.py
#
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand All @@ -138,7 +146,7 @@
#
# Refer to the value set for **OUTPUT_BASE** to find where the output data was generated.
# Output for thisIce use case will be found in directory 20210503 (relative to **OUTPUT_BASE**)
# and will contain the following files:
# and will contain the following files::
#
# * grid_stat_SST_000000L_20210503_000000V.stat
# * grid_stat_SST_000000L_20210503_000000V_cnt.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# ------------------
#
# This use case utilizes the METplus GridStat wrapper to generate a
# command to run the MET tool GridStat with Python Embedding for the specified user hemispheres
# command to run the MET tool GridStat with Python Embedding for the specified user hemispheres.

##############################################################################
# METplus Workflow
Expand Down Expand Up @@ -89,7 +89,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -99,22 +99,30 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`GridStat MET Configuration<grid-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped

##############################################################################
# Python Embedding
# ----------------
#
# This use case uses one Python script to read forecast and observation data
# This use case uses one Python script to read forecast and observation data.
#
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/read_ice_data.py
#
# parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/read_ice_data.py
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/read_ice_data.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsOSTIA_iceCover/read_ice_data.py
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -101,22 +101,30 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`GridStat MET Configuration<grid-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped

##############################################################################
# Python Embedding
# ----------------
#
# This use case uses one Python script to read forecast and observation data
# This use case uses one Python script to read forecast and observation data.
#
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMAP_climWOA_sss/read_rtofs_smap_woa.py
#
# parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMAP_climWOA_sss/read_rtofs_smap_woa.py
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMAP_climWOA_sss/read_rtofs_smap_woa.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMAP_climWOA_sss/read_rtofs_smap_woa.py
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -101,22 +101,31 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`GridStat MET Configuration<grid-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: GridStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/GridStatConfig_wrapped

##############################################################################
# Python Embedding
# ----------------
#
# This use case uses one Python script to read forecast and observation data
#
# parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMOS_climWOA_sss/read_rtofs_smos_woa.py
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMOS_climWOA_sss/read_rtofs_smos_woa.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMOS_climWOA_sss/read_rtofs_smos_woa.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/GridStat_fcstRTOFS_obsSMOS_climWOA_sss/read_rtofs_smos_woa.py
#
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,30 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# This tool does not use a MET configuration file.
#

##############################################################################
# Python Embedding
# ----------------
#
# This use case uses one Python script to read input data, passed through two times
# This use case uses one Python script to read input data, passed through two times.
#
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar/read_tripolar_grid.py
#
# parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar/read_tripolar_grid.py
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar/read_tripolar_grid.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar/read_tripolar_grid.py
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand All @@ -111,7 +119,7 @@
# Pass the use case configuration file to the run_metplus.py script along
# with any user-specific system configuration files if desired::
#
# run_metplus.py /path/to/METplus/parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar.conf /path/to/user_system.conf
# run_metplus.py /path/to/METplus/parm/use_cases/model_applications/marine_and_cryosphere/PlotDataPlane_obsHYCOM_coordTripolar.conf /path/to/user_system.conf
#
# See :ref:`running-metplus` for more information.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

##############################################################################
# MET Configuration
# ---------------------
# -----------------
#
# METplus sets environment variables based on user settings in the METplus configuration file.
# See :ref:`How METplus controls MET config file settings<metplus-control-met>` for more details.
Expand All @@ -79,10 +79,9 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`GridStat MET Configuration<grid-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: PointStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/PointStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/PointStatConfig_wrapped

##############################################################################
# Python Embedding
Expand All @@ -93,11 +92,21 @@
# an end time in the same format, a message type to code the variables as (currently set for SATWND), and
# a variable name to read in. Currently the script puts the same station ID to each observation, but there is space
# in the code describing an alternate method that may be improved upon to allow different sattellites to have their own station IDs.
# The location of the code is parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsASCAT_satelliteWinds/read_ASCAT_data.py
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsASCAT_satelliteWinds/read_ASCAT_data.py
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsASCAT_satelliteWinds/read_ASCAT_data.py
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsASCAT_satelliteWinds/read_ASCAT_data.py
#
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@
# If there is a setting in the MET configuration file that is currently not supported by METplus you'd like to control, please refer to:
# :ref:`Overriding Unsupported MET config file settings<met-config-overrides>`
#
# .. note:: See the :ref:`PointStat MET Configuration<point-stat-met-conf>` section of the User's Guide for more information on the environment variables used in the file below:
# .. dropdown:: PointStatConfig_wrapped
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/met_config/PointStatConfig_wrapped
# .. literalinclude:: ../../../../parm/met_config/PointStatConfig_wrapped

##############################################################################
# Python Embedding
Expand All @@ -96,10 +95,21 @@
# This use case calls the read_satData.py script to read and pass to PointStat the user-requested variable.
# The script needs 3 inputs in the following order: an input file, a variable field to extract,
# and where the data came from, passed as JASON (JASON-3), SARAL, or SENTINEL (Sentinel-6a).
# The location of the code is parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsJASON3_satelliteAltimetry/read_satData.py
#
# .. highlight:: bash
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsJASON3_satelliteAltimetry/read_satData.py
# .. dropdown:: parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsJASON3_satelliteAltimetry/read_satData.py
#
# .. highlight:: python
# .. literalinclude:: ../../../../parm/use_cases/model_applications/marine_and_cryosphere/PointStat_fcstGFS_obsJASON3_satelliteAltimetry/read_satData.py
#
# For more information on the basic requirements to utilize Python Embedding in METplus,
# please refer to the MET User’s Guide section on
# `Python embedding <https://met.readthedocs.io/en/latest/Users_Guide/appendixF.html#appendix-f-python-embedding>`_.

##############################################################################
# User Scripting
# --------------
#
# User Scripting is not used in this use case.

##############################################################################
# Running METplus
Expand Down
Loading

0 comments on commit 75476cd

Please sign in to comment.