noresm:modeldiagnostics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
noresm:modeldiagnostics [2019-08-08 20:49:54]
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://ns2345k.web.sigma2.no/noresm_diagnostics/+http://ns2345k.web.sigma2.no/diagnostics/noresm/
  
 via the filesystem on nird here: via the filesystem on nird here:
-/projects/NS2345K/www/noresm_diagnostics/+/projects/NS2345K/www/diagnostics/noresm
  
 +**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://noresm-docs.readthedocs.io/en/latest/diagnostics/diagnostics.html
 +----
  
  
Line 20: Line 28:
 ------------------------------------------------- -------------------------------------------------
 Program: Program:
-/projects/NS2345K/noresm_diagnostics/bin/diag_run +/projects/NS2345K/diagnostics/noresm/bin/diag_run 
-Version: 6.0+Version: 2.1
 ------------------------------------------------- -------------------------------------------------
 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 /projects/NS2345K/noresm_diagnostics/bin/diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] &> out & # Run model-obs diagnostics in the background with nohup +nohup /projects/NS2345K/diagnostics/noresm/bin/diag_run -m [model] -c [test case name] -s [test case start yr] -e [test case end yr] &> out & # Run model-obs diagnostics in the background with nohup 
- +
 Command-line options: Command-line options:
 -m, --model=MODEL                             Specify the diagnostics package (REQUIRED). -m, --model=MODEL                             Specify the diagnostics package (REQUIRED).
Line 37: Line 45:
                                                 clm    : land package (LMWG)                                                 clm    : land package (LMWG)
                                                 cice   : sea-ice package                                                 cice   : sea-ice package
-                                                micom  : ocean package+                                                blom   : ocean 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=/projects/NS2345K/noresm/cases                                               Default is --input-dir=/projects/NS2345K/noresm/cases
 -o, --output-dir=DIR                          Specify the directory where the package(s) the climatology and time-series files should be stored (OPTIONAL). -o, --output-dir=DIR                          Specify the directory where the package(s) the climatology and time-series files should be stored (OPTIONAL).
-                                              Default is --output-dir=/projects/NS2345K/noresm_diagnostics/out/$USER+                                              Default is --output-dir=/projects/NS2345K/diagnostics/noresm/out/yanchun
 -p, --passive-mode                            Run the script in passive mode: the diagnostic script will be configured but not executed (OPTIONAL). -p, --passive-mode                            Run the script in passive mode: the diagnostic script will be configured but not executed (OPTIONAL).
 -t, --type=TYPE                               Specify climatology or time series diagnostics (OPTIONAL): valid options are --type=climo and --type=time_series. -t, --type=TYPE                               Specify climatology or time series diagnostics (OPTIONAL): valid options are --type=climo and --type=time_series.
                                               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                             Specify the directory where the html should be published (OPTIONAL). -w, --web-dir=DIR                             Specify the directory where the html should be published (OPTIONAL).
-                                              Default is --web-dir=/projects/NS2345K/www/noresm_diagnostics+                                              Default is --web-dir=/projects/NS2345K/www/diagnostics/noresm/yanchun
 --no-atm                                      Run CLM diagnostics without CAM data. Must be used for offline CLM simulations. --no-atm                                      Run CLM diagnostics without CAM data. Must be used for offline CLM simulations.
- +
 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 /path/to/my/html # model-obs diagnostics in CAM, publish the html in /path/to/my/html. diag_run -m cam -c N1850_f19_tn11_exp1 -s 21 -e 50 -w /path/to/my/html # model-obs diagnostics in CAM, publish the html in /path/to/my/html.
-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 (/projects/NS2345K/noresm/cases/N1850_f19_tn11_exp1/ocn/hist/).+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 (/projects/NS2345K/noresm/cases/N1850_f19_tn11_exp1/ocn/hist/).
 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 /input/directory1 -c2 N1850_f19_tn11_exp2 -s2 21 -e2 50 -i2 /input/directory2 # model1-model2 diagnostics for CLM with user-specified history file directories diag_run -m clm -c N1850_f19_tn11_exp1 -s 21 -e 50 -i /input/directory1 -c2 N1850_f19_tn11_exp2 -s2 21 -e2 50 -i2 /input/directory2 # model1-model2 diagnostics for CLM with user-specified history file directories
-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 ***
 </file> </file>
 A comprehensive technical summary of diag_run (pdf): {{ :noresm:diag_run_documentation.pdf |}} A comprehensive technical summary of diag_run (pdf): {{ :noresm:diag_run_documentation.pdf |}}
Line 102: Line 112:
 It is useful to add diag_run as an alias in $HOME/.bashrc, so that you do not need to write out the whole path every time you run it: It is useful to add diag_run as an alias in $HOME/.bashrc, so that you do not need to write out the whole path every time you run it:
 <file> <file>
-alias diag_run='/projects/NS2345K/noresm_diagnostics/bin/diag_run'+alias diag_run='/projects/NS2345K/diagnostics/noresm/bin/diag_run'
 </file> </file>
  
Line 108: 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://github.com/johiak/NoresmDiagnostics]]+[[https://github.com/NordicESMhub/noresmdiagnostics]]
 ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ======
  
  • noresm/modeldiagnostics.txt
  • Last modified: 2022-05-31 09:29:32
  • (external edit)