Differences
This shows you the differences between two versions of the page.
noresm:modeldiagnostics [2015-12-17 10:52:12] michaels [MICOM Diagnostic Package (NEW 2015.04.23)] |
noresm:modeldiagnostics [2022-05-31 09:29:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Model Diagnostic Tools====== | ||
- | |||
- | ===== NorESM Diagnostic Packages ===== | ||
- | |||
- | Please, refer to GUIDE_ReadME_first and the ReadME files in each of the Model Components Diagnostic Tools (Packages) locations below for more details. | ||
- | |||
- | < | ||
- | Usage: nohup [your work directory path]/ | ||
- | |||
- | Purpose: Model solution validation, evaluation, and analysis | ||
- | | ||
- | |||
- | Description: | ||
- | based on the NCAR CESM diagnostics packages. | ||
- | | ||
- | |||
- | The packages are installed and stored in 4 locations; please use them on Cruncher or Grunch when possible: | ||
- | |||
- | On cruncher.uio.no/ | ||
- | |||
- | / | ||
- | |||
- | On grunch.bccs.uib.no/ | ||
- | |||
- | / | ||
- | |||
- | On vilje.hpc.ntnu.no in: | ||
- | |||
- | / | ||
- | |||
- | There are 6 diagnostic tools CAM_DIAG (ready for use), CICE_DIAG (ready for use), CLM_DIAG (in testing), | ||
- | POP_DIAG (in testing), MICOM_DIAG (in development) and CVDP_DIAG (the new NCAR Climate Package, in testing) | ||
- | |||
- | Currently only the CAM (AMWG) and the CICE packages are ported and ready to use. | ||
- | You will find for each of those c-shell macroscript *_template.csh.[machine] | ||
- | Copy it in your working directory, change the paths and file names in the user-defined part of it and run. | ||
- | |||
- | </ | ||
- | Report any problems or suggestions to Detelina Ivanova: [[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: | ||
- | svn export svn:// | ||
- | |||
- | |||
- | |||
- | A web-viewer is available at [[https:// | ||
- | |||
- | |||
- | ====== Aerosol and Chemistry, Clouds and Forcing Diagnostics ====== | ||
- | |||
- | |||
- | In both the default CAM5-aerosol packages (MAM3,MAM7) and the Oslo-aerosol packages, the budget terms can be taken out using a variable in the namelist : | ||
- | |||
- | ===Configuring a run with more aerosol diagnostics in (NorESM2) === | ||
- | |||
- | < | ||
- | & | ||
- | history_aerosol = .true. | ||
- | / | ||
- | </ | ||
- | |||
- | Two more diagnostics are useful: | ||
- | * Enable estimates multiple calls to radiation which are necessary for effective radiative forcing estimates | ||
- | * Enable diagnostics for AEROCOM | ||
- | |||
- | |||
- | To enable this, take the file cam/ | ||
- | |||
- | Change both preprocessor definitions to true | ||
- | |||
- | < | ||
- | #define AEROCOM | ||
- | #define AEROFFL | ||
- | </ | ||
- | |||
- | The AEROCOM-token turns on diagnostics needed for AEROCOM | ||
- | The AEROFFL-token tells the model to do additional radiation-diagnostics for aerosol indirect effect | ||
- | |||
- | ===== Tracer Budget terms ===== | ||
- | |||
- | ===Fields produced in monthly average files when running with budgets activated=== | ||
- | |||
- | Running with budgets activated will produce the following terms in the monthly output files: | ||
- | |||
- | ^ Output variable name ^ Meaning | ||
- | | SF{Tracer} | ||
- | | GS_{Tracer} | ||
- | | AQ_{Tracer} | ||
- | | {Tracer}_Mixnuc1 | ||
- | | {Tracer}_DDF | ||
- | | {Tracer}_SFWET | ||
- | | {Tracer}_condtend | ||
- | | {Tracer}_coagTend | ||
- | | DF_{Tracer} | ||
- | | WD_A_{Tracer} | ||
- | | {Tracer}_CLXF | ||
- | | {Tracer}_clcoagTend | ||
- | |||
- | Note: Since 3D-emissions and and gas washout rates are included in the term GS_{Tracer} in the mozart chemistry solver, the individual terms can be found like this (example for SO2): | ||
- | < | ||
- | ncap2 -O -s GS_ONLY_SO2=GS_SO2-WD_A_SO2-SO2_CLXF infile.nc outfile.nc | ||
- | </ | ||
- | |||
- | More info on SO2 budgets (see / | ||
- | |||
- | GS_SO2 contains the SO2 budget terms for all that goes on in the chemistry-routine, | ||
- | 1) Gas phase chemistry, 2) Wet deposition, and 3) 3D-emissions.\\ | ||
- | Gas phase chemistry is both production from DMS (GS_DMS) and loss through OH (GL_OH) \\ | ||
- | For calculations of net loss, e.g. used to calculate SO2 life-times, we're interested in the \\ | ||
- | loss through OH from the chemistry-term (GL_OH).\\ | ||
- | GS_SO2 = GL_OH + SO2_CLXF - WD_A_SO2 - GS_DMS*64/ | ||
- | or \\ | ||
- | GL_OH = GS_SO2 - SO2_CLXF + WD_A_SO2 + GS_DMS*64/ | ||
- | |||
- | Estimating chemical loss w.r.t. S (instead of SO2 or DMS), for comparison with CAM4-Oslo numbers:\\ | ||
- | net chemial loss gas phase = (GS_SO2/ | ||
- | net chemical loss = net chemial loss gas phase + AQ_SO2/ | ||
- | |||
- | Finally, total net loss (used to calculate life-time = -load/(net loss), where load = cb_SO2/ | ||
- | net loss = \\ | ||
- | - WD_A_SO2/ | ||
- | - DF_SO2/ | ||
- | + AQ_SO2/ | ||
- | + (GS_SO2 - SO2_CLXF + WD_A_SO2)/ | ||
- | |||
- | ===Looking at the aerosol budgets (CAM-Oslo only) === | ||
- | |||
- | * Go to the directory models/ | ||
- | * Change the filename to use in the file budgets.ncl (" | ||
- | * Run the script budgets.sh to create a pdf-file (output.pdf) | ||
- | |||
- | |||
- | ===== NCL Model Version Comparison package (Alf K) ====== | ||
- | |||
- | ===Making ncl plots of often used aerosol and cloud fields, including ERFs, for two model versions (CAM-Oslo only) === | ||
- | |||
- | * Make a local copy (on Linux) of the directory models/ | ||
- | * Assuming that you have produced output data from 4 simulations: | ||
- | * In ModIvsModII.csh (note: read the header info): | ||
- | * - edit model info for the first model (shown to the left in the plots): modelI = CAM4-Oslo or modelI = CAM5-Oslo ? | ||
- | * - provide paths and partial file names of the model data (PD and PI) for Model I (CAM4-Oslo or CAM5-Oslo) and Model II (must be CAM5-Oslo) | ||
- | * - choose desired plot format (plotf=ps, eps, pdf or png) | ||
- | * Run the script: ./ | ||
- | * Furthermore, | ||
- | * - download htm template files from ftp:// | ||
- | * - edit general model info (only) in ModIvsModII.htm, | ||
- | * - copy all png (plots) and htm files to the desired output (common) directory | ||
- | * - open ModIvsModII.htm in your browser: hyper-links to all other htm files, including plots, are found here | ||
- | * Example: ftp:// | ||
- | |||
- | |||
- | ===== Automatic AEROCOM analysis ===== | ||
- | |||
- | To prepare output so that it is processed automatically by the aerocom tools, use the script located at **models/ | ||
- | [[http:// | ||
- | |||
- | The script requires < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | of the form NorESM-CAM5_svn{RevisionNumber}_YYMMDD{initials}_Freetext. \\ | ||
- | Example: " | ||
- | Initials AG: Alf Grini, AK: Alf Kirkevåg, DO: Dirk Olivie... | ||
- | |||
- | The script creates files named like | ||
- | |||
- | “aerocom3_< | ||
- | |||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | |||
- | Note that VerticalCoordinateType is dependent on the variable!! It is not a question about " | ||
- | |||
- | The script copies files on norstore into | ||
- | **/ | ||
- | |||
- | ====== ESMval CIS JASMIN platform and tools ====== | ||
- | |||
- | ESMVALtool | ||
- | http:// | ||
- | |||
- | cis tools | ||
- | http:// | ||
- | |||
- | JASMIN | ||
- | http:// | ||
- | |||