Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
noresm:modeldiagnostics [2018-08-15 08:27:40] yanchun.he@nersc.no |
noresm:modeldiagnostics [2020-12-22 12:44:09] yanchun.he@nersc.no [NorESM Diagnostic Packages] |
||
---|---|---|---|
Line 8: | Line 8: | ||
via the web: | via the web: | ||
- | http:// | + | http:// |
via the filesystem on nird here: | via the filesystem on nird here: | ||
- | / | + | / |
+ | **NB: The following wiki page for the NorESM diagnostic tools is moved!!** | ||
+ | |||
+ | Last updated: 12-Dec-2020. | ||
+ | |||
+ | Please go to the following NorESM documentation page for the latest description: | ||
+ | |||
+ | https:// | ||
+ | ---- | ||
Line 20: | Line 28: | ||
------------------------------------------------- | ------------------------------------------------- | ||
Program: | Program: | ||
- | / | + | / |
- | Version: | + | Version: |
------------------------------------------------- | ------------------------------------------------- | ||
Short description: | Short description: | ||
A wrapper script for NorESM diagnostic packages. | A wrapper script for NorESM diagnostic packages. | ||
- | + | ||
Basic usage: | Basic usage: | ||
diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] # Run model-obs diagnostics | diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] # Run model-obs diagnostics | ||
diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] -c2 [cntl case name] -s2 [cntl case start yr] -e2 [cntl case end yr] # Run model1-model2 diagnostics | diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] -c2 [cntl case name] -s2 [cntl case start yr] -e2 [cntl case end yr] # Run model1-model2 diagnostics | ||
- | nohup / | + | nohup / |
- | + | ||
Command-line options: | Command-line options: | ||
-m, --model=MODEL | -m, --model=MODEL | ||
Line 37: | Line 45: | ||
clm : land package (LMWG) | clm : land package (LMWG) | ||
cice : sea-ice package | cice : sea-ice package | ||
- | | + | |
hamocc : biogeochemistry package | hamocc : biogeochemistry package | ||
all : configure all available packages. | all : configure all available packages. | ||
Line 51: | Line 59: | ||
Default is --input-dir=/ | Default is --input-dir=/ | ||
-o, --output-dir=DIR | -o, --output-dir=DIR | ||
- | Default is --output-dir=/ | + | Default is --output-dir=/ |
-p, --passive-mode | -p, --passive-mode | ||
-t, --type=TYPE | -t, --type=TYPE | ||
Default is to run both. Note that the time series are computed over the entire simulation. | Default is to run both. Note that the time series are computed over the entire simulation. | ||
-w, --web-dir=DIR | -w, --web-dir=DIR | ||
- | Default is --web-dir=/ | + | Default is --web-dir=/ |
--no-atm | --no-atm | ||
- | + | ||
Examples: | Examples: | ||
diag_run -m all -c N1850_f19_tn11_exp1 -s 21 -e 50 # model-obs diagnostics of case=N1850_f19_tn11_exp1 (climatology between yrs 21 and 50) for all model components. | diag_run -m all -c N1850_f19_tn11_exp1 -s 21 -e 50 # model-obs diagnostics of case=N1850_f19_tn11_exp1 (climatology between yrs 21 and 50) for all model components. | ||
diag_run -m cam -c N1850_f19_tn11_exp1 -s 21 -e 50 -w / | diag_run -m cam -c N1850_f19_tn11_exp1 -s 21 -e 50 -w / | ||
- | diag_run -m micom -c N1850_f19_tn11_exp1 -t time_series # model-obs time-series diagnostics in MICOM for all years represented in the model output directory (/ | + | diag_run -m blom -c N1850_f19_tn11_exp1 -t time_series # model-obs time-series diagnostics in BLOM for all years represented in the model output directory (/ |
diag_run -m cice -c N1850_f19_tn11_exp1 -s 21 -e 50 -p # configure (but do not run) model-obs diagnostics for CICE. | diag_run -m cice -c N1850_f19_tn11_exp1 -s 21 -e 50 -p # configure (but do not run) model-obs diagnostics for CICE. | ||
diag_run -m clm -c N1850_f19_tn11_exp1 -s 21 -e 50 -i / | diag_run -m clm -c N1850_f19_tn11_exp1 -s 21 -e 50 -i / | ||
- | diag_run -m micom -c N1850_f19_tn11_exp1 -s 21 -e 50 -t climo # model-obs climatology diagnostics (no time series) for MICOM: | + | diag_run -m blom -c N1850_f19_tn11_exp1 -s 21 -e 50 -t climo # model-obs climatology diagnostics (no time series) for BLOM: |
diag_run -m cam -o /my/dir # install CAM diagnostics in /my/dir with minimal configuration. | diag_run -m cam -o /my/dir # install CAM diagnostics in /my/dir with minimal configuration. | ||
- | diag_run -m micom,hamocc -c N1850OC_f19_tn11_exp1 -s 21 -e 50 # model-obs diagnostics for MICOM and HAMOCC. | + | diag_run -m blom,hamocc -c N1850OC_f19_tn11_exp1 -s 21 -e 50 # model-obs diagnostics for BLOM and HAMOCC. |
diag_run -m clm -c N1850_f19_tn11_clmexp1 -s 71 -e 100 --no-atm # model-obs time-series diagnostics for an offline (uncoupled) CLM simulation. | diag_run -m clm -c N1850_f19_tn11_clmexp1 -s 71 -e 100 --no-atm # model-obs time-series diagnostics for an offline (uncoupled) CLM simulation. | ||
diag_run -m hamocc -c N1850OC_f19_tn11_exp1 -s 31 -e 100 -t time_series # model-obs time-series diagnostics in HAMOCC between yrs 31 and 100. | diag_run -m hamocc -c N1850OC_f19_tn11_exp1 -s 31 -e 100 -t time_series # model-obs time-series diagnostics in HAMOCC between yrs 31 and 100. | ||
+ | |||
+ | *** NOTE: '-m micom' should be used for the ocean component of NorESM version 1 *** | ||
</ | </ | ||
A comprehensive technical summary of diag_run (pdf): {{ : | A comprehensive technical summary of diag_run (pdf): {{ : | ||
Line 76: | Line 86: | ||
=== Recent updates === | === Recent updates === | ||
- | * 29.08.10. Update to v5.1: update NCO/NCL versions to support efficient process of compressed netcdf-4 files. | + | |
+ | * 08.08.19. Update to v6.0: add support to TS-derived mlts, global averages: tempga, | ||
+ | | ||
* 29.06.18. Update to v5.0: new fields to HAMOCC and MICOM diagnostics; | * 29.06.18. Update to v5.0: new fields to HAMOCC and MICOM diagnostics; | ||
* 20.04.18. Update to v4.3: added new fields to HAMOCC diagnostics. | * 20.04.18. Update to v4.3: added new fields to HAMOCC diagnostics. | ||
Line 92: | Line 104: | ||
# Min Hour Day Month Weekday Command(s) | # Min Hour Day Month Weekday Command(s) | ||
# | # | ||
- | 50 09 23 11 * . $HOME/ | + | 50 09 23 11 * . $HOME/ |
- | / | + | / |
</ | </ | ||
Line 100: | Line 112: | ||
It is useful to add diag_run as an alias in $HOME/ | It is useful to add diag_run as an alias in $HOME/ | ||
< | < | ||
- | alias diag_run='/ | + | alias diag_run='/ |
</ | </ | ||
Line 106: | Line 118: | ||
=== NorESM diagnostics on GitHub === | === NorESM diagnostics on GitHub === | ||
The NorESM diagnostics packages and diag_run are included in the Git version control repository: | The NorESM diagnostics packages and diag_run are included in the Git version control repository: | ||
- | [[https:// | + | [[https:// |
====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ||
Line 320: | Line 332: | ||
If you run into problems, please raise an issue in the repository or contact [[mailto: | If you run into problems, please raise an issue in the repository or contact [[mailto: | ||
- |