Drought Working Group SSTs

Overview

Teaching: 0 min
Exercises: 0 min
Questions
  • Setting up the SSTs

Objectives

The SSTs

The SSTs for each experiment are located on COLA in: /glade/scratch/kpegion/droughtwg/

The SST anomalies for the Pacific are located in: Pacific_SST.nc

The SST anomalies for the Atlantic are located in: N_atl_SST.nc

The climatological SSTs are located in: monthly_climatology_sst_ice.nc

Let’s read in and make a plot of these data. Launch Jupyter (or your preferred Python environment):

An example notebook is located here in: `~kpegion/clim670/droughtwg/droughwgexps.ipynb’. You should copy it to your home directory or any special subdirectory you use for saving class related files:

$ cd
$ cp ~kpegion/clim670/droughtwg/droughwgexps.ipynb .

To launch the Jupyter notebook on the NCAR computers, first login to casper.ucar.edu.

ssh -Y -l username casper.ucar.edu

This is the NCAR data analysis cluster. We use the cheyenne supercomputer to run the model. We use the casper analysis cluster to do data analysis on model output or to do data analysis to prepare data for our model experiments.

Next, we need to load python and activate the python environment:

$ module load python/3.6.8
$ ncar_pylib

Finally, we start Jupyter and follow the instructions on the screen:

$ start-jupyter

Once you start Jupyter you will see the information that tells you to Run the following command on your desktop or laptop: and

The Jupyter web interface will ask you for this token:, followed by a long token of characters.
This token is your Jupyter login information and you should not share it as it could allow others to access your files.

You can now open the Jupyter notebook using the file browser in Jupyter.

We will walk through this notebook to look at our data and then to prepare them for use in the CESM.

  1. Look at our Drought WG Data
  2. Look at the CESM SST Data
  3. Make our Drought WG Data look like CESM SST Data
    • Full SST fields (anomalies + climatology)
    • Same grid
    • Same times
    • No missing values
    • Same units
  4. Make a new SST file for CESM to use

  5. Replace the right variable with our new SST data.

We can use ncview to take a quick look at our data file and confirm that it looks reasonable.

$ module load ncview
$ ncview /glade/scratch/kpegion/input/dwg_pacpos.nc

Key Points