-
Notifications
You must be signed in to change notification settings - Fork 26
Doc improvements for 2026.01 #925
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
base: main
Are you sure you want to change the base?
Changes from all commits
a3b6093
a191511
57d89b7
4ef3c8e
be7bd5d
c539da1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| ===================== | ||
| Configuration examples | ||
| ===================== | ||
|
|
||
| Public configurations | ||
| ===================== | ||
| The `fre-examples <https://github.com/noaa-gfdl/fre-examples>`_ repository contains publicly | ||
| available example FRE YAML configuration files. These configurations demonstrate common | ||
| experiment setups and serve as starting points for new experiments. | ||
|
|
||
| GFDL Modeling Systems Division configurations | ||
| ============================================= | ||
| Supported FRE configurations maintained by the GFDL Modeling Systems Division are available at | ||
| https://gitlab.gfdl.noaa.gov/fms/xml (GFDL internal access required). These include production | ||
| configurations for GFDL climate and weather models. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,45 +3,46 @@ | |
| ===== | ||
| Setup | ||
| ===== | ||
| FRE-cli is conda-installable from the “noaa-gfdl” anaconda channel (https://anaconda.org/NOAA-GFDL/fre-cli) | ||
| and is deployed on NOAA RDHPCS and GFDL systems as Environment Modules. | ||
| FRE-cli is deployed on NOAA RDHPCS and GFDL systems as Environment Modules and is | ||
| conda-installable from the ``noaa-gfdl`` anaconda channel for use on any system. | ||
|
|
||
| Installing FRE-cli | ||
| ================== | ||
| Loading FRE-cli on NOAA-GFDL systems | ||
| ===================================== | ||
|
|
||
| Instructions for installing fre-cli on GFDL and NOAA RDHPCS systems via lmod and on any system via conda can be found in the `fre-cli repository README <https://github.com/NOAA-GFDL/fre-cli/blob/main/README.md>`__. | ||
| The GFDL Workflow Team deploys fre-cli as an Environment Module on GFDL workstations, PPAN, | ||
| and Gaea. | ||
|
|
||
| At GFDL (workstations and PPAN): | ||
|
|
||
| Install FRE-cli from local GitHub clone (for development) | ||
| ========================================================= | ||
| .. code-block:: console | ||
|
|
||
| When contributing to FRE, it is recommended to download and use the code from the repository directly to test changes. | ||
| Assuming one has ``conda`` in their path, then do the following:: | ||
| module load fre/<version> | ||
|
|
||
| # Append necessary channels- fre-cli needs only these two channels and no others to build. | ||
| # it's possible depending on your conda installation that additional configuration steps are needed | ||
| conda config --append channels noaa-gfdl | ||
| conda config --append channels conda-forge | ||
| On Gaea, the FRE modulefiles must be added to the module search path first: | ||
|
|
||
| # grab a copy of the code from github and cd into the repository directory | ||
| git clone --recursive https://github.com/noaa-gfdl/fre-cli.git | ||
| cd fre-cli | ||
| .. code-block:: console | ||
|
|
||
| # to avoid being prompted for confirmation, add '-y' to the call | ||
| # this downloads/builds fre-cli's dependencies ONLY | ||
| conda env create -f environment.yml | ||
| module use -a /ncrc/home2/fms/local/modulefiles | ||
| module load fre/<version> | ||
|
|
||
| # activate the environment you just created. | ||
| # fre-cli isn't installed yet though, ONLY dependencies | ||
| # if you changed the name of the build environment, activate that name instead of fre-cli | ||
| conda activate fre-cli | ||
| Replace ``<version>`` with the desired release (e.g. ``2026.01``). | ||
|
|
||
| # add mkmf to your PATH | ||
| export PATH=$PATH:${PWD}/mkmf/bin | ||
| Installing FRE-cli on generic systems | ||
| ====================================== | ||
|
|
||
| # now we pip install the local code under the `fre/` directory | ||
| # the -e flag makes re-installing the code after editing not necessary | ||
| pip install -e . | ||
| On any system with conda available, fre-cli can be installed from the ``noaa-gfdl`` anaconda | ||
| channel: | ||
|
|
||
| # optional: load fre-nctools into your PATH to gain access to regridding and certain time-averaging routines | ||
| # module load fre-nctools | ||
| .. code-block:: console | ||
|
|
||
| conda config --append channels noaa-gfdl | ||
| conda config --append channels conda-forge | ||
| conda create --name fre-<version> --channel noaa-gfdl --channel conda-forge fre-cli::<version> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right you are! (do AI hallucination emojis exist yet?) |
||
| conda activate fre-<version> | ||
|
|
||
| Replace ``<version>`` with the desired release (e.g. ``2026.01``). | ||
|
|
||
| Using the container | ||
| =================== | ||
|
|
||
| .. include:: container.rst | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| .. last updated May 2025 | ||
|
|
||
| ===== | ||
| Tools | ||
| ===== | ||
| ========= | ||
| FRE tools | ||
| ========= | ||
|
|
||
| ``fre`` | ||
| ======= | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check the build logs of your read the docs build.
I see one warning that can easily be resolved
/home/docs/checkouts/readthedocs.org/user_builds/noaa-gfdl-fre-cli/checkouts/925/docs/examples.rst:1: WARNING: Title overline too short.