Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
noresm:modeldiagnostics [2018-08-20 18:02:38] yanchun.he@nersc.no |
noresm:modeldiagnostics [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== NorESM Diagnostic Packages ===== | ===== NorESM Diagnostic Packages ===== | ||
- | Output from the latest NCAR diagnostic pages can be found on nird here: | ||
- | via the web: | + | **NB: The wiki page for the NorESM diagnostic tools is moved!!** |
- | http:// | + | |
- | via the filesystem on nird here: | + | Last updated: 12-Dec-2020. |
- | / | + | |
+ | Please go to the following NorESM documentation page for the latest description: | ||
+ | https:// | ||
+ | ---- | ||
- | The diagnostics packages are currently available on NIRD. Each package can be run/ | ||
- | < | ||
- | ------------------------------------------------- | ||
- | Program: | ||
- | / | ||
- | Version: 5.1 | ||
- | ------------------------------------------------- | ||
- | Short description: | ||
- | A wrapper script for NorESM diagnostic packages. | ||
- | |||
- | 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] -c2 [cntl case name] -s2 [cntl case start yr] -e2 [cntl case end yr] # Run model1-model2 diagnostics | ||
- | nohup / | ||
- | |||
- | Command-line options: | ||
- | -m, --model=MODEL | ||
- | Valid arguments: | ||
- | cam : atmospheric package (AMWG) | ||
- | clm : land package (LMWG) | ||
- | cice : sea-ice package | ||
- | micom : ocean package | ||
- | hamocc : biogeochemistry package | ||
- | all : configure all available packages. | ||
- | -c, -c1, --case=CASE1, | ||
- | -s, -s1, --start_yr=SYR1, | ||
- | -e, -e1, --end_yr=EYR1, | ||
- | -c2, --case2=CASE2 | ||
- | -s2, --start_yr2=SYR2 | ||
- | -e2, --end_yr2=EYR2 | ||
- | -i, -i1, --input-dir=DIR, | ||
- | Default is --input-dir=/ | ||
- | -i2, --input-dir2=DIR | ||
- | Default is --input-dir=/ | ||
- | -o, --output-dir=DIR | ||
- | Default is --output-dir=/ | ||
- | -p, --passive-mode | ||
- | -t, --type=TYPE | ||
- | Default is to run both. Note that the time series are computed over the entire simulation. | ||
- | -w, --web-dir=DIR | ||
- | Default is --web-dir=/ | ||
- | --no-atm | ||
- | |||
- | 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 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 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 micom -c N1850_f19_tn11_exp1 -s 21 -e 50 -t climo # model-obs climatology diagnostics (no time series) for MICOM: | ||
- | diag_run -m cam -o /my/dir # install CAM diagnostics in /my/dir with minimal configuration. | ||
- | diag_run -m micom, | ||
- | 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. | ||
- | </ | ||
- | A comprehensive technical summary of diag_run (pdf): {{ : | ||
- | |||
- | Report any problems, comments or suggestions to Yanchun He: [[mailto: | ||
- | |||
- | === Recent updates === | ||
- | * 29.08.10. Update to v5.1: update NCO/NCL versions to support efficient process of compressed netcdf-4 files. | ||
- | * 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. | ||
- | * 19.04.18. Update to v4.2: included ability to do time-series diagnostics between two user-specified years. | ||
- | * 18.04.18. Update to v4.1: improved climatology and time-series calculations in CLM, and introduction of the --no-atm option to enable diagnostics for offline CLM simulations. | ||
- | * 09.04.18. Update to v4.0: included the HAMOCC diagnostics package. | ||
- | * 23.02.18. Update to v3.1: added monthly MLD, seasonal SST/SSS and annual meridional heat/ | ||
- | * 17.01.18. Update to v3.0: the first version of MICOM diagnostics has been included. | ||
- | * 28.11.17. Update to v2.0: included a set of time series plots in CAM diagnostics, | ||
- | |||
- | ===Using diag_run with cron=== | ||
- | If you want to use diag_run with crontab, you first need to load $HOME/ | ||
- | < | ||
- | # | ||
- | # Min Hour Day Month Weekday Command(s) | ||
- | # | ||
- | 50 09 23 11 * . $HOME/ | ||
- | / | ||
- | </ | ||
- | |||
- | |||
- | === Other tips === | ||
- | It is useful to add diag_run as an alias in $HOME/ | ||
- | < | ||
- | alias diag_run='/ | ||
- | </ | ||
- | |||
- | |||
- | === NorESM diagnostics on GitHub === | ||
- | The NorESM diagnostics packages and diag_run are included in the Git version control repository: | ||
- | [[https:// | ||
====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ||
Line 320: | Line 229: | ||
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: | ||
- |