Skip to content

Commit

Permalink
A couple of updates and typo fixes (#15)
Browse files Browse the repository at this point in the history
Fixed some old and broken links

Co-authored-by: Steve Goldhaber <stevenng@met.no>
  • Loading branch information
gold2718 and Steve Goldhaber committed Dec 22, 2023
1 parent e6c43b7 commit 8eeb0c3
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 72 deletions.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

Expand Down
92 changes: 46 additions & 46 deletions configurations/amips.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _amips:

Atmosphere
Atmosphere
===================================
CAM6-Nor
^^^^^^^^^^^^^^
Expand All @@ -23,7 +23,7 @@ Some modifications in CAM (which are not related to the CAM-Oslo aerosol scheme)

* Parameterization of turbulent air-sea fluxes (see AMIP-type experiments for more details)
* Averaging over (changing) zenith angle during one model time step
* Improved conservation of energy and angular momentum
* Improved conservation of energy and angular momentum

In addition some parameter settings, emisson and input files will differ from standard CAM6 set-up.

Expand Down Expand Up @@ -63,7 +63,7 @@ Initial conditions
.. glossary::

Startup runs
If your experiment is a ``startup`` run, the atmosphere is initialized using basestate files. The full pathname of the bastestate file is given in the cam namelist variable ``ncdata`` which is set by build-namelist. For NorESM2-LM, the default basestate file is located in the inputdata folder (on Fram this is /cluster/shared/noresm/inputdata/)::
If your experiment is a ``startup`` run, the atmosphere is initialized using basestate files. The full pathname of the basestate file is given in the cam namelist variable ``ncdata`` which is set by build-namelist or via an entry in user_nl_cam. For NorESM2-LM, the default basestate file is located in the inputdata folder (on Fram this is /cluster/shared/noresm/inputdata/)::

atm/cam/inic/fv/cami-mam3_0000-01-01_1.9x2.5_L32_c150407.nc

Expand All @@ -73,63 +73,63 @@ Initial conditions

See the following file in your NorESM2 repository for a full list of basestate files for different configurations::

<noresm>/components/cam/bld/namelist_files/namelist_defaults_cam.
Alternatively, as NorESM2 and CESM2 has the same default files, the different default basestate files can be inspected by looking at the entry for ``ncdata`` in the CESM2 documentation for CAM6.0 Fortran Namelist Definitions: http://www.cesm.ucar.edu/models/cesm2/settings/current/cam_nml.html
<noresm>/components/cam/bld/namelist_files/namelist_defaults_cam.xml

Alternatively, as NorESM2 and CESM2 have the same default files, the different default basestate files can be inspected by looking at the entry for ``ncdata`` in the CESM2 documentation for CAM6.0 Fortran Namelist Definitions: https://docs.cesm.ucar.edu/models/cesm2/settings/2.1.0/cam_nml.html (more recent versions can be found at https://docs.cesm.ucar.edu/models/cesm2/settings/current/cam_nml.html)

Branch runs
If your experiment is a ``branch`` run, the atmosphere is initialized using the restart files from a previous run. The restart file is determined by the variables RUN_REFCASE and RUN_REFDATE in env_run.xml. The full pathname of the restart file is given by the cam namelist variable ``cam_branch_file``. This variable does not have a default value.
If your experiment is a ``branch`` run, the atmosphere is initialized using the restart files from a previous run. The restart file is determined by the variables RUN_REFCASE and RUN_REFDATE in env_run.xml. The full pathname of the restart file is given by the cam namelist variable ``cam_branch_file``. This variable does not have a default value.

Hybrid runs
If your experiment is a ``hybrid`` run, the different model components are initialized as if it was a startup, but using initialization files from a previous case at a given date (again set by the RUN_REFCASE and RUN_REFDATE variables). CAM is initialized using a initial-condition file from the previous case. The full pathname of the initial-condition file will be set in the cam namelist variable ``ncdata``.
If your experiment is a ``hybrid`` run, the different model components are initialized as if it was a startup, but using initialization files from a previous case at a given date (again set by the RUN_REFCASE and RUN_REFDATE variables). CAM is initialized using a initial-condition file from the previous case. The full pathname of the initial-condition file will be set in the cam namelist variable ``ncdata``.

Setting up an AMIP-type experiment
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Atmospheric Model Intercomparison Project (AMIP) style runs are runs in which the **atmosphere and land components are active while values for sea surface temperatures and sea ice are prescribed** (that is, read from a file). The sea-ice model CICE then runs in a simplified mode and computes surface fluxes, snow depth, albedo, and surface temperatures using 1D thermodynamics without conserving energy. The sea-ice thickness is assumed to be 2 m in the Northern Hemisphere and 1 m in the Southern Hemisphere.
Atmospheric Model Intercomparison Project (AMIP) style runs are runs in which the **atmosphere and land components are active while values for sea surface temperatures and sea ice are prescribed** (that is, read from a file). The sea-ice model CICE then runs in a simplified mode and computes surface fluxes, snow depth, albedo, and surface temperatures using 1D thermodynamics without conserving energy. The sea-ice thickness is assumed to be 2 m in the Northern Hemisphere and 1 m in the Southern Hemisphere.

The AMIP simulation is created in the same manner as a coupled simulation, but using compsets starting with NF.
The AMIP simulation is created in the same manner as a coupled simulation, but using compsets starting with NF.

AMIP compsets
'''''''''''''

Compsets starting with NF are NorESM AMIP (atmosphere/land-only) configurations. Predefined compsets for AMIP simulations can be found in::
Compsets starting with NF are NorESM AMIP (atmosphere/land-only) configurations. Predefined compsets for AMIP simulations can be found in::

<noresm_base>/components/cam/cime_config/config_compsets.xml


To create an AMIP-type experiment::

./create_newcase --case <PAT_TO_CASEFOLDER>/CASENAME --compset NFHISTnorbc --res f19_f19 --mach fram --project nn2345k --user-mods-dir cmip6_noresm_fsst_xaer

Defined user-mod-dirs are available in::

<noresm-base>/components/cam/cime_config/usermods_dirs/

Available user-mod-dir options for NorESM2 used in CMIP6:
* ``cmip6_noresm_fsst_xaer`` (history_aerosol=.true. , AEROFFL and AEROCOM defined)
* ``cmip6_noresm_fsst_hifreq_xaer`` (high frecuency output,history_aerosol=.true. , AEROFFL and AEROCOM defined)

* ``cmip6_noresm_fsst_xaer`` (history_aerosol=.true. , AEROFFL and AEROCOM defined)
* ``cmip6_noresm_fsst_hifreq_xaer`` (high frecuency output,history_aerosol=.true. , AEROFFL and AEROCOM defined)


Creating your own compset for AMIP simulations
''''''''''''''''''''''''''''''''''''''''''''''

The essential file to edit for a new AMIP NorESM compset is::
The essential file to edit for a new AMIP NorESM compset is::

<noresm_base>/components/cam/cime_config/config_compsets.xml

This examples shows how to simply add the "NFHIST" compset to config_components.xml. In <noresm_base>/components/cam/cime_config/config_compsets.xml the NFHIST is set as
This example shows how to simply add the "NFHIST" compset to config_components.xml. In <noresm_base>/components/cam/cime_config/config_compsets.xml the NFHIST is set as
::

<!-- fSST : evolving NorESM derived ; DMS: evolving NorESM derived -->
<compset>
<alias>NFHISTnorbc</alias>
<lname>HIST_CAM60%NORESM%NORBC_CLM50%BGC-CROP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
<science_support grid="f09_f09_mg17"/>
</compset>
</compset>


E.g.
E.g.

.. glossary::

Expand All @@ -141,18 +141,18 @@ E.g.
CLM50%BGC-CROP
* Build CLM5 (land model) with a global crop model (interactive vegetation)
* If you want pre-described vegetation, use CLM50%SP

CICE%PRES
* Build CICE (sea-ice model) with prescribed sea-ice

DOCN%DOM
* Build data ocean with fixed SSTs.
* Build data ocean with fixed SSTs.

MOSART
* Build MOSART (river runoff model) with default configurations

SGLC_SWAV
* The SGLC (land-ice) and SWAV (ocean-wave) models are not interactive, but used only to satisfy the interface requirements
* The SGLC (land-ice) and SWAV (ocean-wave) models are not interactive, but used only to satisfy the interface requirements

To use different prescribed fields for SSTs and sea-ice cover than the default, change the value of the variable ``SSTICE_DATA_FILENAME`` in the ``evn_run.xml`` file to the full path of a different file that complies to the requirements of the CICE and the data-ocean model.

Expand Down Expand Up @@ -183,42 +183,42 @@ NorESM2-derived boundary conditions for AMIP-style simulations

While the prescribed values used in atmosphere-only simulations are often based on observations, one might also want to use values that resemble those from a fully-coupled simulation with NorESM2. To achieve this, it is necessary to use prescribed boundary conditions for SST, sea-ice cover and upper-ocean DMS concentrations (all three fields taken from the fully-coupled simulation). Up to now, 4 sets of boundary conditions have been made:

1. a pre-industrial climatology with 2-degree resolution
1. a pre-industrial climatology with 2-degree resolution
* 2x2 degree resolution in the horizontal
* contains 12 monthly values
* based on a 30-year period (years 1751–1780) from the CMIP6 pre-industrial control (piControl) simulation with 2x2 degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation piClim-control, and all simulations that are perturbation runs based on piClim-control, with NorESM2-LM (mostly 30-year long simulations)
2. a pre-industrial climatology with 1-degree resolution
* based on a 30-year period (years 1751–1780) from the CMIP6 pre-industrial control (piControl) simulation with 2x2 degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation piClim-control, and all simulations that are perturbation runs based on piClim-control, with NorESM2-LM (mostly 30-year long simulations)

2. a pre-industrial climatology with 1-degree resolution
* as above but on 1x1 resolution in the horizontal, and based on years 1351-1380 from the CMIP6 piControl simulation with 1x1 degree resolution (NorESM2-MM)

3. the historical period
3. the historical period
* 2x2 degree resolution in the horizontal
* contains monthly values for years 1849-20155
* based on the period 1850–2014 from the CMIP6 historical simulation with 2x2 degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation histSST, and all simulations that are perturbation runs based on sstHIST, with NorESM2-LM (165-year long simulations).
* contains monthly values for years 1849-2015
* based on the period 1850–2014 from the CMIP6 historical simulation with 2x2 degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation histSST, and all simulations that are perturbation runs based on sstHIST, with NorESM2-LM (165-year long simulations).

4. a future period based on SSP3-7.0
* 2x2 degree resolution in the horizontal
* contains monthly values for years 2014-2101
* based on years 2015-2100 frm the CMIP6 SSP3-7.0 simulation with 2-degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation ssp370SST, and all simulations that are perturbation runs based on ssp370SST, with NorESM2-LM (86-year longs imulations).
* for comparison of piClim-control and piControl, one should focus on the 30-year periods mentioned above (year 1751–1780 and 1351–1380 ) due to inter-decadal variability and/or drifts in piControl
* based on years 2015-2100 frm the CMIP6 SSP3-7.0 simulation with 2-degree resolution (NorESM2-LM).
* was used for the CMIP6 simulation ssp370SST, and all simulations that are perturbation runs based on ssp370SST, with NorESM2-LM (86-year longs imulations).
* for comparison of piClim-control and piControl, one should focus on the 30-year periods mentioned above (year 1751–1780 and 1351–1380 ) due to inter-decadal variability and/or drifts in piControl


Another thing that must be kept in mind when doing AMIP-style simulations that should resemble the coupled NorESM2 climate as closely as possible is the choice of flux parameterization used for the transfer of heat, moisture and momentum between the ocean and atmosphere, the so-called COARE flux parameterization. The flux parameterization is controlled by the variable ``OCN_FLUX_SCHEME`` in the ``env_run.xml`` file. The standard choice in CESM is::

OCN_FLUX_SCHEME=0
OCN_FLUX_SCHEME=0

This parameterisation is different from the standard flux parameterization used in NorESM2, which is activated by::

OCN_FLUX_SCHEME=1.

and ends up in the drv_in namelist as::

flux_scheme=1.
flux_scheme=1.


Code modifications
^^^^^^^^^^^^^^^^^^

Expand Down
6 changes: 3 additions & 3 deletions configurations/clm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Land and river run off
CLM5
------

The land model used in NorESM2 is the Community Land Model version 5 (`CLM5 <http://www.cesm.ucar.edu/models/clm/>`__). Specific questions about CLM can be addressed to Hui Tang (email: hui.tang@geo.uio.no) or Kjetil Aas (email: k.s.aas@geo.uio.no).
The land model used in NorESM2 is the Community Land Model version 5 (`CLM5 <https://www.cesm.ucar.edu/models/clm/>`__). Specific questions about CLM can be addressed to Hui Tang (email: hui.tang@geo.uio.no) or Kjetil Aas (email: k.s.aas@geo.uio.no).

CLM5 model configurations available in NorESM2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -103,7 +103,7 @@ For example if STOP_N=50 years, you can set::
-8760 means one average value per year, and 50 years in one file.

- The full namelist definitions and their defaults for CLM5 can be studied `here <http://www.cesm.ucar.edu/models/cesm2/settings/current/clm5_0_nml.html>`__.
- The full namelist definitions and their defaults for CLM5 can be studied `here <https://docs.cesm.ucar.edu/models/cesm2/settings/current/clm5_0_nml.html>`__.

Spin up of CLM5
^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -228,7 +228,7 @@ By default, 20SL_8.5m is employed.
MOSART
-------------

The Model for Scale Adaptive River Transport (MOSART) is the default river model for CESM2, CLM5 and NorESM2. For more information start `here <http://www.cesm.ucar.edu/models/cesm2/river/>`_. For a techincal user guide go `here <https://escomp.github.io/ctsm-docs/versions/release-clm5.0/html/tech_note/MOSART/CLM50_Tech_Note_MOSART.html>`__.
The Model for Scale Adaptive River Transport (MOSART) is the default river model for CESM2, CLM5 and NorESM2. For more information start `here <https://www.cesm.ucar.edu/models/cesm2/river>`_. For a techincal user guide go `here <https://escomp.github.io/ctsm-docs/versions/release-clm5.0/html/tech_note/MOSART/CLM50_Tech_Note_MOSART.html>`__.

The methods and syntax for modifying the user namelist and code in MOSART are similar to CLM5, so the previous description can be used. The user namelist for MOSART is user_nl_mosart and source code files should be copied to SourceMods/src.mosart/ in the case folder.

Expand Down
2 changes: 1 addition & 1 deletion configurations/experiments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ to NORESM2. For a detailed description, see the section on creating your own com

For an overview of common compsets used for NorESM2 CMIP6 experiments, please see: :ref:`cmip6_compsets`

For an overview of the compsets provided for CESM2, please see: http://www.cesm.ucar.edu/models/cesm2/config/compsets.html.
For an overview of the compsets provided for CESM2, please see: https://docs.cesm.ucar.edu/models/cesm2/config/compsets.html.

Emission-driven compsets
''''''''''''''''''''''''
Expand Down
2 changes: 1 addition & 1 deletion configurations/nudged_simulations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For more information, look into the file where most of the nudging code is found
/components/cam/src/NorESM/fv/metdata.F90
There are also other options for namelist modifications regarding nudging:
http://www.cesm.ucar.edu/models/cesm2/settings/current/cam_nml.html and search for *met_*
https://docs.cesm.ucar.edu/models/cesm2/settings/current/cam_nml.html and search for *met_*

Available meteo fields for nudging
-----------------------------------
Expand Down
4 changes: 2 additions & 2 deletions contribute/fork_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ of the main NorESM repository in GitHub, which is then cloned to a location were
code development and testing can be performed (local computer or HPC server).
This procedure follows the guidelines set out in the coderefinery tutorial on
`distributed version control and forking workflow
<https://coderefinery.github.io/git-collaborative/03-distributed>`_.
<https://coderefinery.github.io/git-collaborative/distributed/>`_.

.. _(Fig. 1):
.. figure:: ../img/git_fork_3_users.png
Expand All @@ -28,7 +28,7 @@ The workflow passes through the following steps:
fork repository on GitHub. (first time)
#. `Clone the fork repository
<https://docs.github.com/en/get-started/quickstart/fork-a-repo#cloning-your-forked-repository>`_
to a local computer or HPC server. (first time)
to a local computer or HPC server. (typically once per new machine)
#. After making code changes, push code changes to fork repository.
#. Create a pull request to push code changes from fork repository to the main
repository.
Expand Down
2 changes: 1 addition & 1 deletion contribute/gitbestpractice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ checked out the model. Go to that directory before executing any git-commands.
- Also do the following on all machines where you use git:

* **Make sure you have a version of git >= 2.0** (add the line "module load git" to your .bashrc files on the HPC machine e.g. Betzy, Fram)
* **git config - -global push.default simple** (Will edit your ~/.gitconfig file to a safer way to share your modifications, see http://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0)
* **git config - -global push.default simple** (Will edit your ~/.gitconfig file to a safer way to share your modifications, see https://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0)

For further details on downloading the NorESM code and managing externals, please see :ref:`download_code`

Expand Down
2 changes: 1 addition & 1 deletion contribute/vc_github.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ There are several resources for learning more about git and version control. Bas
**Get started with GitHub:**
https://docs.github.com/en/get-started
**Migrating from svn to git: cheat sheet**
http://www.git-tower.com/blog/git-for-subversion-users-cheat-sheet/
https://www.git-tower.com/blog/git-for-subversion-users-cheat-sheet/
4 changes: 2 additions & 2 deletions data/happi_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ A set of AMIP-style large ensemble experiments (125 members) were carried out wi
* a climate that is 1.5 degrees warmer than pre-industrial conditions (the Plus15-Future experiment), and
* a climate that is 2.0 degrees warmer than the pre-industrial (the Plus20-Future experiments)

as a part of the HAPPI initiative (Half A degree additional warming, Prognosis and Projected Impacts; http://happimip.org; Mitchell et al., 2017).
as a part of the HAPPI initiative (Half A degree additional warming, Prognosis and Projected Impacts; https://www.happimip.org; Mitchell et al., 2017).

**CMOR-ized data for NorESM1-Happi and the other participating models can be retrieved from** http://portal.nersc.gov/c20c/data.html
**CMOR-ized data for NorESM1-Happi and the other participating models can be retrieved from** https://portal.nersc.gov/c20c/data.html

**Raw model output for NorESM1-Happi can be retrived from the NIRD research data archive:**

Expand Down
2 changes: 1 addition & 1 deletion diagnostics/aero_diag.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ ModIvsModII produces plots and global life-cycling data (for use in a table) of
- copy all png (plots) and htm files to the desired output (common) directory
- open ModIvsModII.htm in your browser: hyper-links to all other htm files, including plots, are found here

Example: http://ns2345k.web.sigma2.no/aerosol_diagnostics/NFHISTnorpddmsbcsdyn_f09_mg17_20191101_vs_NHIST_f19_tn14_20190710/ModIvsModII.htm
Example: https://ns2345k.web.sigma2.no/aerosol_diagnostics/NFHISTnorpddmsbcsdyn_f09_mg17_20191101_vs_NHIST_f19_tn14_20190710/ModIvsModII.htm

Loading

0 comments on commit 8eeb0c3

Please sign in to comment.