AMWG Diagnostics Package | Where to find the Code

If you have a NCAR, NERSC or NCSS account

If you have a account on the following machines, we recommend that you use local versions of the code (instead of downloading your own version of the code from the repository). This avoids having multiple copies of the diagnostic package and datasets on the same machine. It also ensures that you are always using the latest version of the diagnostic package.

To run the diagnostics, download the top level c-shell script  diag140804.csh Read the instructions in the file and make any needed changes in the user modify section (see an example of the  user modify section). Be sure to set 'setenv DIAG_HOME...' in the script (see instructions below). Once you have modified the file, make it executable and then run it. 

CGD account holders

Users with accounts on CGD machines (mineral, hurricane, salina, calgary, etc) can run the diagnostics by downloading the top level c-shell script diag140804.csh  or by copying it from the directory: /project/amp/amwg/amwg_diagnostics.

Set the variable DIAG_HOME in  diag140804.csh to:
   setenv DIAG_HOME /project/amp/amwg/amwg_diagnostics

Set ncl/ncar graphics options appropriate to the system in your .tcshrc/.cshrc etc.
   setenv NCARG_ROOT /contrib/ncarg
   setenv PATH $NCARG_ROOT/bin:$PATH

NCAR supercomputer account holders

Users with accounts on the data analysis cluster nodes (geyser or caldera) can run the diagnostics by downloading the top level c-shell script diag140804.csh or by copying it from /glade/p/cesm/amwg/amwg_diagnostics

Set the variable DIAG_HOME in diag140804.csh to:
   setenv DIAG_HOME /glade/p/cesm/amwg/amwg_diagnostics

Set ncl/ncar graphics options appropriate to the system in your .tcshrc/.cshrc etc.
   module load ncl 
   module load nco

You don't have an account on these machines

Other users can get the code and datasets from the release code repository. A short registration is required to access the repository. After registering, you will receive an email containing a user name and password that is necessary to gain access to the repository. Once approval is granted for access to the release repository, users may freely download the diagnostic packages. For more details on utilizing the release repository, please see the section on Downloading CCSM in the User's Guide.

  • To export the diagnostic package from the repository, use:
    svn export https://svn-ccsm-release.cgd.ucar.edu/model_diagnostics/atm/cam/amwg_diag_20140804/
  • To download the observational datasets from the repository, use:
    svn export https://svn-ccsm-release.cgd.ucar.edu/model_diagnostics/atm/cam/obs_data_20140804/
  • To download the model datasets from the repository, use:
    svn export https://svn-ccsm-release.cgd.ucar.edu/model_diagnostics/atm/cam/cam35_data/
  • To download the mapping files from the repository, use:
    svn export https://svn-ccsm-release.cgd.ucar.edu/model_diagnostics/atm/cam/map_files_20140804/

To run diagnostics package, you must have NCL, and the netcdf operators (NCO) already installed on their computer system. You will also need the utility "convert" to convert the postscript plots to an image format suitable for the webpages (png,gif,jpg). Convert is part of the ImageMagick package.

Please let me know if you download and install the package so I can keep you informed about future updates.