Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
noresm:modeldiagnostics [2017-11-23 20:15:53] johan.liakka@nersc.no [NorESM Diagnostic Packages] |
noresm:modeldiagnostics [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Model Diagnostic Tools====== | ====== Model Diagnostic Tools====== | ||
| - | This page links to tools used for NorESM model evaluation. | + | This page links to tools used for the NorESM model evaluation. |
| ===== NorESM Diagnostic Packages ===== | ===== NorESM Diagnostic Packages ===== | ||
| - | The diagnostics packages are currently available on NIRD. Each package can be run/ | ||
| - | < | + | **NB: The wiki page for the NorESM diagnostic |
| - | ------------------------------------------------- | + | |
| - | Program: | + | |
| - | / | + | |
| - | Version: 171123 | + | |
| - | ------------------------------------------------- | + | |
| - | Short description: | + | |
| - | diag_run is used to configure and run the NorESM diagnostic | + | |
| - | + | ||
| - | 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 | + | |
| - | all : configure all available packages (currently cam, clm and cice; micom and pop are still in development). | + | |
| - | -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 | + | |
| - | -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=/ | + | |
| - | + | ||
| - | Examples: | + | |
| - | diag_run -m all -c N1850_f19_tn11_exp1 -s 21 -e 50 # model-obs diagnostics of N1850_f19_tn11_exp1 for all (available) components. | + | |
| - | diag_run -m cam -c N1850_f19_tn11_exp1 -s 21 -e 50 -w / | + | |
| - | 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 -t climo # model-obs climatology diagnostics (no time series) for CLM: | + | |
| - | diag_run -m cam -o /my/dir # install CAM diagnostics in /my/dir with minimal configuration. | + | |
| - | </ | + | |
| - | Report any problems, comments or suggestions to Johan Liakka: [[mailto: | + | |
| - | + | ||
| - | + | ||
| - | ===== MICOM Diagnostic Package ===== | + | |
| - | + | ||
| - | (NEW 2015.04.23) | + | |
| - | First version of MICOM diagnostic package is available on grunch/ | + | |
| - | + | ||
| - | ===== SVN Repository for NorESM Diagnostic Packages | + | |
| - | + | ||
| - | (NEW 2015.04.23) | + | |
| - | The NorESM Diagnostic Packages can be downloaded via svn using the command: | + | Last updated: 12-Dec-2020. |
| - | svn export svn:// | + | |
| + | Please go to the following NorESM documentation page for the latest description: | ||
| + | https:// | ||
| + | ---- | ||
| - | A web-viewer is available at [[https:// | ||
| ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ||
| Line 246: | Line 189: | ||
| http:// | http:// | ||
| + | ====== Post analysis and workup of CAM diagnostics output tables ====== | ||
| + | |||
| + | A tool for post analysis of (multiple) CAM diagnostics ASCII tables can be found in | ||
| + | the following repository: | ||
| + | |||
| + | GitHub https:// | ||
| + | |||
| + | To get started, please follow the instructions in repository README (displayed in repository). Currently, the main | ||
| + | analysis tool is a jupyter IPython notebook called | ||
| + | |||
| + | // | ||
| + | |||
| + | which includes more detailed instructions about setup and options. | ||
| + | |||
| + | Use the notebook | ||
| + | |||
| + | https:// | ||
| + | |||
| + | to download local copies of result tables using a list of URL's. | ||
| + | |||
| + | |||
| + | **Short summary: | ||
| + | The notebook reads multiple diagnostics files (runs) into one long table and creates heatmap plots | ||
| + | of //Bias, RMSE and RMSE relative error// for a subset of variables (rows -> y-axis of heatmap) | ||
| + | vs. the individual runs (columns -> xaxis). | ||
| + | |||
| + | **NOTE:** In the current version, you need to download all tables that you are interested in as csv or | ||
| + | ascii into one directory, that is specified in the header of the notebook. | ||
| + | |||
| + | Variable groups can be defined in this config file: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | **NOTE:** If you add groups to this file in your local copy of the repository, please consider sending | ||
| + | the updated to [[mailto: | ||
| + | remains up to date. | ||
| + | |||
| + | **Troubleshooting** | ||
| + | If you run into problems, please raise an issue in the repository or contact [[mailto: | ||