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

Noresm landsites #381

Open
wants to merge 128 commits into
base: noresm_landsites
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
0ee5023
Merge pull request #12 from NorESMhub/master
adagj Nov 3, 2021
cc13ca5
Merge branch 'NorESMhub:master' into master
adagj Dec 3, 2021
1c07a53
Merge branch 'NorESMhub:master' into master
adagj Apr 19, 2022
c3cd8d6
Update postp_plotting_faq.rst
adagj Apr 19, 2022
9bfd43a
Merge pull request #340 from adagj/ada_docu_branch
adagj Apr 20, 2022
8214338
Update postp_plotting_faq.rst
adagj Apr 20, 2022
81e46de
Update faq.rst
adagj Apr 20, 2022
3bf0e7c
Create discussion.rst
adagj Apr 20, 2022
398ec12
Update ocn_model.rst
adagj Apr 20, 2022
838572b
Merge pull request #341 from adagj/ada_docu_branch
adagj Apr 20, 2022
fa56427
Update ocn_model.rst
adagj Apr 20, 2022
1bd330d
Update ocn_model.rst
adagj Apr 20, 2022
f72c1e3
Update ocn_model.rst
adagj Apr 20, 2022
1f39c7d
Update ocn_model.rst
adagj Apr 20, 2022
f8a40ad
Link to postp_plotting_faq page.
TomasTorsvik Apr 20, 2022
1ec3b70
Merge pull request #342 from TomasTorsvik/postp_plotting_faq_link
adagj Apr 20, 2022
e7a0da7
Update postp_plotting_faq.rst
adagj Apr 20, 2022
7d49a57
Added to the documentation: some info about PyReshaper (#343)
lisesg Apr 26, 2022
860b42c
Merge branch 'NorESMhub:master' into master
adagj Apr 28, 2022
791cd48
Update experiments.rst
adagj Apr 28, 2022
9767a48
Update experiments.rst
adagj Apr 28, 2022
728cdb8
Update documentation of running NorESM Diagnostic Tool on Betzy (#345)
YanchunHe May 5, 2022
4114da3
add CMIP5/6 data description; small fix for diagnostic tool (#349)
YanchunHe Jun 1, 2022
1c79568
Change norcpm tag to keep tracking cime changes.
blcc Jun 3, 2022
e2c2084
Create flexpart-noresm.rst
sabineeck Jun 14, 2022
0b98497
Update flexpart-noresm.rst
sabineeck Jun 14, 2022
8b04670
Create flexpart-noresm.rst
sabineeck Jun 14, 2022
8ae0081
Update flexpart-noresm.rst
ipisso Jun 14, 2022
bf31bed
Merge pull request #1 from ipisso/patch-2
sabineeck Jun 14, 2022
7ff3b19
Update flexpart-noresm.rst
sabineeck Jun 14, 2022
ca684f0
Update flexpart-noresm.rst
sabineeck Jun 14, 2022
1cc0a7f
Create flexpart-noresm.rst
sabineeck Jun 15, 2022
0809ad6
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
6a7a860
Add files via upload
sabineeck Jun 15, 2022
b4df467
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
eb5e40f
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
8c2eb9d
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
f6bd96e
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
8bd0702
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
9623e4a
Update flexpart-noresm.rst
sabineeck Jun 15, 2022
dee8163
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
d294aad
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
69c62b0
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
b842551
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
15feb10
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
d1cc2df
Add files via upload
sabineeck Jun 16, 2022
f32f1a8
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
8590521
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
8f0ca02
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
2d99ba0
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
8dd64af
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
6e55b89
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
49322d5
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
6ba4bac
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
2ae9493
Update flexpart-noresm.rst
sabineeck Jun 16, 2022
d08da10
Update diagnostics.rst
sabineeck Jun 16, 2022
43bc466
Merge pull request #351 from sabineeck/master
adagj Jun 16, 2022
52ef960
Update and rename flexpart-noresm.rst to flexpart_noresm.rst
adagj Jun 16, 2022
b340f8c
Update diagnostics.rst
adagj Jun 16, 2022
ae5414d
Update flexpart_noresm.rst
adagj Jun 16, 2022
2f64de8
Update flexpart-noresm.rst
sabineeck Jun 17, 2022
610e653
Rename flexpart-noresm.rst to flexpart_noresm.rst
sabineeck Jun 17, 2022
555f4ca
Merge branch 'master' into master
adagj Jun 17, 2022
e7cfcac
Merge pull request #353 from sabineeck/master
adagj Jun 17, 2022
47d3c6f
Merge branch 'NorESMhub:master' into master
adagj Jun 28, 2022
7c7b9f9
Update cmip6_data.rst
adagj Jun 28, 2022
0d69203
Update cmip6_data.rst
adagj Jun 28, 2022
739f799
Add files via upload
adagj Jun 28, 2022
d2b2f48
Update experiments.rst
adagj Jun 29, 2022
987e178
Update postp_plotting_faq.rst
adagj Jun 29, 2022
ba22839
Fix dead links in documentation.
TomasTorsvik Aug 9, 2022
23cbd21
Provide more detailed example for BLOM user_nl_blom
jmaerz Aug 12, 2022
062d1fa
Update and rename newbie-guide.rst to newbie_guide.rst
adagj Aug 15, 2022
428c7d8
Update configurations.rst
adagj Aug 15, 2022
fb731c6
Updating contributing.md to clarify pr
MicSchu-Nesodden Aug 15, 2022
6a34d3c
Update doc/configurations/newbie_guide.rst
adagj Aug 15, 2022
4e5cfb0
Merge pull request #363 from adagj/ada_docu_branch
adagj Aug 15, 2022
342fa8e
Update archive_output.rst
adagj Aug 15, 2022
a65190c
Merge pull request #365 from adagj/ada_docu_branch
adagj Aug 15, 2022
686feeb
Update CONTRIBUTING.md
MicSchu-Nesodden Aug 15, 2022
9bac10c
Update doc/configurations/experiment_environment.rst
TomasTorsvik Aug 15, 2022
44745c0
Merge pull request #362 from jmaerz/patch-1
TomasTorsvik Aug 15, 2022
bf7ec37
Merge pull request #364 from MicSchu-Nesodden/patch-1
MichaelSchulzMETNO Aug 26, 2022
395f3a2
Update nudged_simulations.rst
IngoBethke Sep 6, 2022
db01a99
Update faq.rst
adagj Sep 7, 2022
ac6b21b
Create cmip6_data.rst
adagj Sep 7, 2022
615f004
Correct URL link for Karseth
MichaelSchulzMETNO Sep 7, 2022
01b84f5
Update doc/faq/cmip6_data.rst
adagj Sep 7, 2022
e3c9e90
Update doc/configurations/experiments.rst
adagj Sep 7, 2022
6c26243
Update doc/configurations/experiments.rst
adagj Sep 7, 2022
4588c95
Update doc/configurations/experiments.rst
adagj Sep 7, 2022
a1012bd
Update doc/configurations/experiments.rst
adagj Sep 7, 2022
09c7a9e
Update doc/configurations/experiments.rst
adagj Sep 7, 2022
a6e336e
Merge pull request #369 from adagj/ada_docu_branch
adagj Sep 7, 2022
0265a19
Update cmip6_data.rst
adagj Sep 8, 2022
2d0d816
Update and rename cmip6_data.rst to cmip6_data_faqs.rst
adagj Sep 8, 2022
346ddea
Update faq.rst
adagj Sep 8, 2022
2e2957b
Update and rename cmip6_data_faqs.rst to cmip6_data_faq.rst
adagj Sep 8, 2022
724cba8
Update cmip6_data.rst
adagj Sep 8, 2022
f268287
Update doc/data/cmip6_data.rst
adagj Sep 8, 2022
e615003
Merge pull request #371 from adagj/ada_docu_branch
adagj Sep 8, 2022
1e0baf2
Update cmip6_data.rst
adagj Sep 8, 2022
800fcdc
Update cmip6_data.rst
adagj Sep 8, 2022
c8ef242
Merge pull request #355 from adagj/master
adagj Sep 8, 2022
5ac1768
Update cmip6_data.rst
adagj Sep 8, 2022
a2e037f
Update cmip6_data.rst
adagj Sep 8, 2022
a2e7544
Update cmip6_data.rst
adagj Sep 9, 2022
d67c49f
Update newbie_guide.rst
adagj Sep 9, 2022
bc56c66
Merge pull request #372 from adagj/ada_docu_branch
adagj Sep 9, 2022
ab82694
Fix cross referencing labels in some files. (#373)
TomasTorsvik Sep 9, 2022
e4bfb95
Update doc/configurations/nudged_simulations.rst
adagj Sep 9, 2022
08dd8f8
Merge pull request #368 from IngoBethke/master
adagj Sep 9, 2022
08756ee
Update nudged_simulations.rst
adagj Sep 9, 2022
64db036
Update nudged_simulations.rst
adagj Sep 9, 2022
18a9afc
Update nudged_simulations.rst
adagj Sep 9, 2022
9f1e8e9
Update nudged_simulations.rst
adagj Sep 9, 2022
2b325f1
Update nudged_simulations.rst
adagj Sep 9, 2022
080c2f3
Update nudged_simulations.rst
adagj Sep 9, 2022
2a20762
added information on available nudging data sets to the documentation
DirkOlivie Sep 12, 2022
8db118e
Merge pull request #374 from DirkOlivie/master
DirkOlivie Sep 12, 2022
ccb453d
added information on available nudging data sets to the documentation…
DirkOlivie Sep 12, 2022
5fc7a4d
Merge pull request #375 from DirkOlivie/master
DirkOlivie Sep 12, 2022
fb509ac
added information on available nudging data sets to the documentation…
DirkOlivie Sep 12, 2022
8acb811
Merge pull request #376 from DirkOlivie/master
DirkOlivie Sep 12, 2022
990366f
Update nudged_simulations.rst
annlew Sep 13, 2022
14d3a80
Merge pull request #377 from annlew/master
TomasTorsvik Sep 27, 2022
20a6355
Update to clm dev108
ka7eh Oct 10, 2022
b7b8d19
Merge branch 'noresm_landsites' into noresm_landsites
ka7eh Oct 12, 2022
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 CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ https://github.com/NorESMhub/INES_workshop_2020/blob/gh-pages/files/Torsvik_gitc
# How to contribute
We recommend that you open a new [discussion item](https://github.com/NorESMhub/NorESM/issues) if you have questions about code contribution, or an [issue](https://github.com/NorESMhub/NorESM/issues) to discuss specific changes or additions you want to include. This is done by selecting **New issue** in the top right corner of the issues page, and selecting one of the suggested issue types in the following menu. Through the issue discussion, you can work with the NorESM developers to implement the code changes in the correct repository and in the correct branch.

# Who can contribute
Everybody with a github account can fork the repository, change a file and create a pull request, suggesting a change to the code or the documentation. The changes will, upon being merged by a member with write access, be visible to all. If you wish to have more access rights to any of the NorESMhub repositories, write to the NorESM team via email to noresm-ncc(at)met.no .

## Reporting bugs
Please, ensure that the bug was not already reported by searching on https://github.com/NorESMhub/NorESM/issues

Expand Down
114 changes: 57 additions & 57 deletions Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,52 +13,98 @@ local_path = components/cice
required = True

[cime]
local_path = cime
tag = cime6.0.45
protocol = git
repo_url = https://github.com/ESMCI/cime
tag = cime6.0.15
local_path = cime
required = True

[cism]
local_path = components/cism
tag = cism2_1_69
protocol = git
repo_url = https://github.com/ESCOMP/CISM-wrapper
tag = cism2_1_69
local_path = components/cism
externals = Externals_CISM.cfg
required = True

[clm]
tag = ctsm5.1.dev090
tag = ctsm5.1.dev108
protocol = git
repo_url = https://github.com/ESCOMP/CTSM.git
local_path = components/clm
externals = Externals_CLM.cfg
required = True

[mosart]
tag = mosart1_0_45
protocol = git
repo_url = https://github.com/ESCOMP/MOSART
local_path = components/mosart
required = True

[pop]
tag = pop2_cesm2_1_rel_n01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags
local_path = components/pop
externals = Externals_POP.cfg
required = False

[blom]
tag = v1.1.0
protocol = git
repo_url = https://github.com/NorESMhub/BLOM
local_path = components/blom
required = True

[rtm]
tag = rtm1_0_73
protocol = git
repo_url = https://github.com/ESCOMP/rtm
local_path = components/rtm
required = True

[ww3]
tag = ww3_cesm2_1_rel_01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/ww3/release_tags
local_path = components/ww3
required = False

[norcpm]
tag = cime5.6.10_cesm2_1_rel_06-Nor_v1.0.5
protocol = git
repo_url = [email protected]:NorESMhub/norcpm.git
local_path = norcpm
required = False

[externals_description]
schema_version = 1.0.0

[cmeps]
tag = cmeps0.13.47
tag = cmeps0.13.71
protocol = git
repo_url = https://github.com/ESCOMP/CMEPS.git
local_path = components/cmeps
required = True

[cdeps]
tag = cdeps0.12.41
tag = cdeps0.12.63
protocol = git
repo_url = https://github.com/ESCOMP/CDEPS.git
local_path = components/cdeps
externals = Externals_CDEPS.cfg
required = True

[cpl7]
tag = cpl7.0.12
tag = cpl7.0.14
protocol = git
repo_url = https://github.com/ESCOMP/CESM_CPL7andDataComps
local_path = components/cpl7
required = True

[share]
tag = share1.0.10
tag = share1.0.12
protocol = git
repo_url = https://github.com/ESCOMP/CESM_share
local_path = share
Expand All @@ -72,19 +118,12 @@ local_path = libraries/mct
required = True

[parallelio]
tag = pio2_5_6
tag = pio2_5_7
protocol = git
repo_url = https://github.com/NCAR/ParallelIO
local_path = libraries/parallelio
required = True

[mosart]
local_path = components/mosart
protocol = git
repo_url = https://github.com/ESCOMP/MOSART
tag = mosart1_0_38
required = True

[mizuRoute]
local_path = components/mizuRoute
protocol = git
Expand All @@ -93,47 +132,8 @@ hash = 34723c2
required = True

[ccs_config]
tag = ccs_config_cesm0.0.15
tag = ccs_config_cesm0.0.38
protocol = git
repo_url = https://github.com/ESMCI/ccs_config_cesm.git
local_path = ccs_config
required = True

[pop]
tag = pop2_cesm2_1_rel_n01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags
local_path = components/pop
externals = Externals_POP.cfg
required = False

[blom]
tag = v1.1.0
protocol = git
repo_url = https://github.com/NorESMhub/BLOM
local_path = components/blom
required = True

[rtm]
local_path = components/rtm
protocol = git
repo_url = https://github.com/ESCOMP/RTM
tag = rtm1_0_73
required = True

[ww3]
tag = ww3_cesm2_1_rel_01
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/ww3/release_tags
local_path = components/ww3
required = False

[doc-builder]
local_path = doc/doc-builder
protocol = git
repo_url = https://github.com/ESMCI/doc-builder
tag = v1.0.5
required = False

[externals_description]
schema_version = 1.0.0
18 changes: 9 additions & 9 deletions doc/configurations/cmip6_compsets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ CMIP6 DECK Compsets

For a detailed overview of case names, experiment setup, restart files etc. please see:

- NorESM2-MM: https://noresmhub.github.io/noresm-exp/noresm2_deck/noresm2_mm_deck.html
- NorESM2-LM: https://noresmhub.github.io/noresm-exp/noresm2_deck/noresm2_lm_deck.html
- NorESM2-MM: https://noresmhub.github.io/noresm-exp/content/noresm2_deck/noresm2_mm_deck.html
- NorESM2-LM: https://noresmhub.github.io/noresm-exp/content/noresm2_deck/noresm2_lm_deck.html

CMIP6 Scenario compsets (only frc2 compsets):
^^^^^
Expand All @@ -70,13 +70,13 @@ CMIP6 Scenario compsets (only frc2 compsets):
- **ssp370** : NSSP370frc2
- **ssp585** : NSSP585frc2

An overview of NorESM2 CMIP6 SSP experiments details, case names, restart files can be found here: https://noresmhub.github.io/noresm-exp/NSSPs/noresm2_mm_nssp.html
An overview of NorESM2 CMIP6 SSP experiments details, case names, restart files can be found here: https://noresmhub.github.io/noresm-exp/content/NSSPs/noresm2_mm_nssp.html

CMIP6 AMIP and fixed SST compsets
^^^^^
- **amip** : NFHISTnorpddmsbc

Detailed information on NorESM2-LM AMIP simulation can be accessed here: https://noresmhub.github.io/noresm-exp/noresm2_deck/noresm2_lm_amip.html
Detailed information on NorESM2-LM AMIP simulation can be accessed here: https://noresmhub.github.io/noresm-exp/content/noresm2_deck/noresm2_lm_amip.html

Useful compsets for calculating aerosol ERF:

Expand Down Expand Up @@ -177,8 +177,8 @@ and the long name for ``N1850frc2`` is ::

Overview of piControl case names, detailed setup (machine settings, node settings etc.), raw output and restart files:

- NorESM2-LM: https://noresmhub.github.io/noresm-exp/noresm2_deck/noresm2_lm_piC.html
- NorESM2-MM: https://noresmhub.github.io/noresm-exp/noresm2_deck/noresm2_mm_piC.html
- NorESM2-LM: https://noresmhub.github.io/noresm-exp/content/noresm2_deck/noresm2_lm_piC.html
- NorESM2-MM: https://noresmhub.github.io/noresm-exp/content/noresm2_deck/noresm2_mm_piC.html

Historical
^^^^^^
Expand Down Expand Up @@ -250,8 +250,8 @@ and for ``NHISTfrc2`` is ::

Overview of historical case names, members, detailed setup (machine settings, node settings etc.), raw output and restart files:

- NorESM2-LM: https://noresmhub.github.io/noresm-exp/noresm2_hist/noresm2_lm_hist.html
- NorESM2-MM: https://noresmhub.github.io/noresm-exp/noresm2_hist/noresm2_hist.html
- NorESM2-LM: https://noresmhub.github.io/noresm-exp/content/noresm2_hist/noresm2_lm_hist.html
- NorESM2-MM: https://noresmhub.github.io/noresm-exp/content/noresm2_hist/noresm2_hist.html

SSP5-8.5
^^^^^
Expand Down Expand Up @@ -325,5 +325,5 @@ and for ``NSSP585frc2`` is ::

Overview of scenario experiment case names, members, detailed setup (machine settings, node settings etc.), raw output and restart files:

- NorESM2-LM and NorESM2-MM: https://noresmhub.github.io/noresm-exp/NSSPs/noresm2_mm_nssp.html
- NorESM2-LM and NorESM2-MM: https://noresmhub.github.io/noresm-exp/content/NSSPs/noresm2_mm_nssp.html

2 changes: 1 addition & 1 deletion doc/configurations/configurations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Running NorESM2
:maxdepth: 2
:numbered:

newbie-guide.rst
newbie_guide.rst
experiments.rst
experiment_environment.rst
cmip6_compsets.rst
Expand Down
3 changes: 2 additions & 1 deletion doc/configurations/experiment_environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,9 @@ Note that BLOM uses a different syntax than the rest. In user_nl_blom::

set BDMC2 = .15
set NIWGF = .5
set SRF_ANO3 = 0, 2, 2

you need to include **set** before the name of the variable and it does not matter what namelist group the variable belong.
you need to include **set** before the name of the variable and it does not matter what namelist group the variable belong. Input entries in user_nl_blom are case-insensitive (for model developers: variable names defined in the BLOM ``buildnml`` file should be capitalized to allow replacement values from user_nl_blom).


Input data
Expand Down
12 changes: 12 additions & 0 deletions doc/configurations/experiments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ For an overview of common compsets used for NorESM2 CMIP6 experiments, please se

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

Emission-driven compsets
''''''''''''''''''''''''
NorESM2 can be run in emission-driven mode for interactive carbon-cycle studies. Currently, this configuration is only supported for the LM-resolution. In order to run NorESM2-LM in emission-driven mode, the biogeochemical physics ``[_BGC]%pys`` is set to ``%BPRPDMS`` (instead of ``%BDRDDMS``)

There exists some predefined-emission driven compsets which usually ends with **esm** :

* **N1850esm**: Emission driven coupled configuration for NorESM for pre-industrial (1850) conditions
* **NHISTesm**: Emission driven historical configuration from 1850 to year 2014
* **NSSP585esm**: Emission driven SSP5-8.5 scenario configuration from 2015 to year 2100
* **NSSP534esm**: Emission driven SSP5-3.4 scenario configuration from 2015 to year 2100

With the exception of preindustrial control, running in CO2 emission-driven mode requires time-varying spatial CO2 emissions boundary condition files.

Creating your own compset
'''''''''''''''''''''''''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Newbies guide
This guide provides basic instructions on how set up and run a standard NorESM case by executing 4 steps:

- create a new case (the **create_newcase** script)
- configure case (the **case_setup** script)
- build case (the **case_build** script)
- submit case (the **case_submit** script).
- configure case (the **case.setup** script)
- build case (the **case.build** script)
- submit case (the **case.submit** script).

It is assumed that you have sucsessfully downloaded the model (see :ref:`download_code`), which means you have a copy of the model on your computer in a folder with a name of your choice. For simplicity we call this folder ``<noresm-base>`` in this guide.

Expand All @@ -24,7 +24,7 @@ The **create_newcase** script is an executable python script located in:
The script for creating a new case takes several command line arguments as input to know how to configure your case.
Some of the most important arguments are as follows:

- ``--case`` defines a casename of your choice and creates a folder by that name. The argument respects absolute and relative paths (e.g. ``--case ../../cases/<casename>``).
- ``--case`` defines a casename of your choice and creates a folder by that name. The argument respects absolute and relative paths (e.g. ``--case ~/NorESM/cases/<casename>``). It is good parctice to make a case folder named ``cases`` where your NorESM cases are stored, e.g. ``mkdir NorESM/cases/`` in your home directory

- ``--mach`` defines the machine you will run the model on. The model NorESM2 has been configured to be run on a set of different machines (see list at :ref:`platforms`). If you are running the model on a machine not listed you will need to configure the model beyond this newbie guide.

Expand All @@ -41,32 +41,32 @@ To investigate the full list of arguments, enter the *<noresm_base>/cime/scripts
To create a new case, enter the scripts directory and run the **create_newcase** scripts:
::
cd <noresm_base>/cime/scripts/
./create_newcase --case ../../cases/$CASENAME --mach $MACHINE --res f19_tn14 --compset $COMPSET
./create_newcase --case <casepath>/<casename> --mach <machine> --res f19_tn14 --compset <compset>

You have now created the case folder *<noresm_base>/cases/$CASENAME*! Go to the case folder to start configuring your experiment.
You have now created the case folder *<casepath>/<casename>*! Go to the case folder to start configuring your experiment.

More advanced examples
++++++++++++++++++++++
The following example creates the case *test1910_1* on the machine Fram:
The following example creates the case *N1850_f19_tn14_test01* on the machine Fram:
::

./create_newcase --case ../../cases/test1910_1 --compset N1850 --res f19_tn14 --machine fram --project snic2019-1-2 --user-mods-dir cmip6_noresm_DECK
./create_newcase --case ~/NorESM/cases/N1850_f19_tn14_test01 --compset N1850 --res f19_tn14 --machine fram --project snic2019-1-2 --user-mods-dir cmip6_noresm_DECK

Here we use the *N1850* compset, which configures the case as a 1850 pre-industrial control simulation. The argument ``--project`` should correspond to the id of the project used in the batch system accounting on Fram. The argument ``--user-mods-dir`` provides the path to a folder containing files that will further configure your case (like user namelists, shell scripts with xmlchange commands or SourceMods). The default location for this folder is under *<noresm_base>/cime_config/usermods_dirs/*.
Here we store the case with the casename *N1850_f19_tn14_test01* in a subdirectory ``NorESM/cases/`` in the home directory on fram. We use the *N1850* compset, which configures the case as a 1850 pre-industrial control simulation. The argument ``--project`` should correspond to the id of the project used in the batch system accounting on Fram. The argument ``--user-mods-dir`` provides the path to a folder containing files that will further configure your case (like user namelists, shell scripts with xmlchange commands or SourceMods). The default location for this folder is under *<noresm_base>/cime_config/usermods_dirs/*.

The following example creates a case (also called *test1910_1*), but on the machine Tetralith:
The following example creates a case (also called *N1850_f19_tn14_test01*), but on the machine Tetralith:
::

./create_newcase --case ../../cases/test1910_1 --walltime 24:00:00 --compset N1850 --res f19_tn14 --machine tetralith --project snic2019-1-2 --output-root /proj/bolinc/users/${USER}/NorESM2/noresm2_out
./create_newcase --case ~/NorESM/cases/N1850_f19_tn14_test01 --walltime 24:00:00 --compset N1850 --res f19_tn14 --machine tetralith --project snic2019-1-2 --output-root /proj/bolinc/users/${USER}/NorESM2/noresm2_out

Note that here we use the argument ``--output-root``, which is only required if the *noresm_run_dir* (the running directory of the mode) differs from default running directory *<path_to_run_dir>/noresm/*.

Configure the case
---------------------
The case folder *<noresm_base>/cases/$CASENAME/* is where you configure your case by changing enviroment files (such as the *<noresm_base>/cases/$CASENAME/env_run.xml* file; see :ref:`experiment_environments`), changing the user namelists for the different model components (files named ``user_nl_$COMP`` where $COMP is a model component such as ``cam``), or even add your own code changes to ``SourceMods/src.$COMP/``. But for now we stick to the standard out-of-the-box set up and configure the case as follows:
The case folder *<casepath>/<casename>/* is where you configure your case by changing enviroment files (such as the *<casepath>/<casename>/env_run.xml* file; see :ref:`experiment_environments`), changing the user namelists for the different model components (files named ``user_nl_<component>`` where <component> is a model component such as ``cam``), or even add your own code changes to ``SourceMods/src.<component>/``. But for now we stick to the standard out-of-the-box set up and configure the case as follows:
::

cd <noresm_base>/cases/$CASENAME
cd <casepath>/<casename>
./case.setup


Expand Down
Loading