EdGCM Quick Start Guide v3.2
EdGCM Quick Start Guide v3.2
http://edgcm.columbia.edu
Version 3.2
EdGCM and EVA are copyright
© 2003-2009 by Columbia University.
All rights reserved.
*****
*****
*****
Acknowledgments iv
Introduction to EdGCM 1
1. System Requirements 1
EdGCM Tutorial 9
2. Analyzing Output 13
Panoply
Robert Schmunk
In bringing users into direct contact with complex computer models such
as a Global Climate Model (GCM), EdGCM exposes the strengths and
weaknesses of computer models in a way that scientific papers and news-
paper articles frequently obscure. The danger in creating a point-and-click
interface for a GCM is that users might be tempted to treat the model as
a black box, and then we would not be achieving our overarching goal:
to encourage more people to learn about and use global climate
models. EdGCM allows people to become familiar with both the scientific
process and the tools of the trade that are an integral component of state-
of-the-art climate research and climate change forecasting. We hope that
courses employing EdGCM will encourage more students to pursue Earth
science careers, and that the experience will allow them to participate in
climate research at an earlier stage in their education. However, we also
hope that all who use EdGCM in any fashion will become better informed
about climate change issues that affect everyone on the planet. If EdGCM
helps to demystify this complex but crucial subject matter, then it is ful-
filling a key objective.
Happy Modeling!
1. System Requirements
• Mac OS X 10.3.9 or higher, including Mac OS X 10.5 (Leopard);
Windows 2000/XP/Vista (XP Pro or Vista Home Premium editions
recommended)
• Any Mac with an Intel processor, or a G3 or better PowerPC CPU;
any PC with an Intel or AMD processor running at 300 MHz or faster
• 1 GB of free disk space (for installation only; simulation results may
require an additional 4-5 GB)
• 512 MB RAM minimum recommended
• Internet connection is helpful but not required
1. Download the latest disk image (e.g., EdGCM.dmg) from the EdGCM
web site. When the license agreement appears, click “Agree” to continue
mounting the disk image on your desktop (Figure 1).
2. Once the disk image is mounted (Figure 2), simply drag the EdGCM
folder to the desktop, or to any other desired location where you (or other
users) will have write access. Launch EdGCM by double-clicking on the
shortcut inside the EdGCM folder.
Figure 2. Installation
of EdGCM on a Mac
is a simple drag-and-
drop process.
1. Download the latest installer (e.g., EdGCM.exe) from the EdGCM web site
to your desktop, and double-click on the file name to begin the installation
process. When the license agreement appears, click “Agree” to continue
the installation process. Please note that you may need an administrator’s
password to complete the installation; if you do, you will need to ask your
IT administrator for assistance.
2. The default installation location for EdGCM is your desktop (Figure 3).
You may choose another location, but you (or other users) must have write
access for that directory (e.g., C:/>Program Files won’t work).
3. Select the components of the EdGCM package that you wish to install
(Figure 4). We recommend that you leave all choices checked since QuickTime
and Java are required to use EdGCM. The QuickTime installer will only
run if you do not already have QuickTime installed. The Java installer will
replace any existing copy of Java with the latest version from Sun.
All output files produced by the Windows version of EdGCM are compat-
ible for use with the Mac version.
1.When you launch EdGCM for the first time, a dialog box will appear,
asking you to register (Figure 5). If you have already purchased your copy
of EdGCM, type in the license key exactly as given in your confirmation
email, and click on the “Enter” button to complete your registration.
2. If you wish to use EdGCM in demo mode, leave the license field blank
and click on the “Demo” button. You will then have 30 days to try out the
software; the demo is fully functional during that time. While running in
demo mode, the registration box will appear each time you launch EdGCM,
reminding you of the number of days remaining in your free trial.
3. If you have been using EdGCM in demo mode and decide to make a
purchase, leave the license field blank and click on the “Purchase” button.
You will be directed first to the EdGCM web site to provide some basic
user information, and then to the EdGCM online store (hosted by Kagi) to
complete your credit card or PayPal purchase. Once you have received your
license key, follow step 1 above to complete registration.
Figure 5.
Table of simulated model years per day. The speed at which the GISS GCM runs on a desktop
computer scales closely with CPU speed. However, changes to the microchip architecture,
L2 cache levels, and compilation optimizations may also have a significant impact.
*Per processor.
Figure 6. For Macs, the Energy Saver settings (within System Preferences) should be set
such that the computer never sleeps.
For PCs, the appropriate power settings are set through the Control Panel,
which is accessible from the Start Menu. In the Control Panel, double-click
on “Performance and Maintenance” and then select “Power Options” to
bring up a dialog box to display Power Option Properties (Figure 7). Select
the Power Schemes tab, and from the drop down menu select the “Always
On” option. As with Macs, allowing the monitor to go to sleep will not affect
the running of the GCM.
Under both Mac OS X and Windows 2000/XP/Vista you may run additional
applications, such as Microsoft Word or Excel, while the GCM is running.
You may even start more than one simulation at a time, although the
simulations will then have to share processor time. On single-processor
systems any additional applications will slow the GCM dramatically, but
will not harm the simulation in any way. On dual-processor computers
the impact on the speed of the run will be minimal unless you run many
applications at once.
Finally, you can quit the EdGCM 4D interface once a simulation is running,
because the GCM runs as a separate application in the background.
However, you will need to restart the EdGCM 4D interface to analyze the
output once the run has finished.
• We recommend that you NOT leave the GCM running on a Windows laptop
unattended. We have found that some Pentium laptops have difficulty
dissipating heat and may shutdown (hibernate) without warning causing
the climate model to crash. This does not appear to harm the laptop, but it
can corrupt GCM output files.
• EdGCM will work as described on MacOS X using the default HFS+ disk
format. We do not recommend using EdGCM on UFS or case sensitive HFS
formatted disks as some bugs may appear.
The comments section in the General info section of the Setup Simulation
window provides the simulation description. This scenario was designed to
induce global warming by increasing carbon dioxide in the atmosphere at
the linear increasing rate of 0.3 ppm for the first 70 years of the experiment,
followed by an exponential increase rate of 0.75% per year over a 130-year
interval, starting with the observed value of 295.5 ppm in 1900.
The scenario included is locked, which means that none of the parameters
can be changed (note the small lock icon in the upper right corner of the
Setup Simulations window, below the banner). In order to create a copy of
this scenario that can be modified, click the Duplicate button under “Setup
Simulation” in the Toolbar. You have now created a copy of the simulation
(Global_Warming_1_copy in the run list) that can be modified to your
specifications.
Figure 3. The Forcings section allows basic manipulation of the GCM boundary conditions.
The Power tools and Developer tools sections are intended for advanced
users, and should not be modified without special direction.
NOTE: For the purposes of this tutorial, we have already run the simulation
and provided you with the output files. Do NOT begin a new simulation
run, otherwise you will overwrite the tutorial’s data files.
If you are later running your own simulation, you need to take the following
steps to get the experiment under way:
4. At this point, the GCM must be restarted. Click on the “play” button
at the bottom of the Fortran window in step 5, or at the top of the toolbar
again, in order to restart the simulation.
Since Fortran runs independently of EdGCM 4D, the interface can be closed
down until the run is finished and you are ready to analyze the results.
2. Analyzing Output
After the simulation has been completed, re-launch EdGCM 4D. Now
select “Analyze Output” (cmd + 4 for Macs, ctrl + 4 for Windows) from the
menu at the top of the screen. A window titled Analyze Output will appear
(Figure 7).
The Analyze Output window is used to process four types of data: Maps,
Zonal Averages, Time Series, and Vertical Slices. Each of these data types
is represented as a tab in the center of the window; clicking on the tab
brings you to that given data type and the list of variables available for
that type. The fifth tab in this window, called Diagnostic Tables, generates
tables of data like those used by NASA scientists to review their results.
On the left side of the Analyze Output window, the years run for a given
simulation are displayed twice so that you may select the starting and
ending dates for the interval you want to analyze. On the right side, a list
of data files will appear as you process the results of the simulation.
NOTE: The first time you execute any of the Analyze Output functions that
involves launching a Fortran program, you may receive a warning from
your system asking if you want to run the program. Always say “Yes” to these
particular warnings to ensure that EdGCM continues to function smoothly.
Maps
To generate maps displaying annual, seasonal or monthly averages, click
on the Maps tab (Figure 8), and then select the first and last year of the
time interval over which you would like the results averaged. Typically
the last five to ten years of the run are selected for averaging, a practice
which helps reduce the amount of noise in the data, so these options are
available as buttons just below the list of years. For this tutorial, click on
the “Last 5” button, so that the last five years of the run are highlighted on
the list. Then click on the “Average” button in the lower left corner of the
window to run the Fortan program that averages the years selected. When
the averaging program is finished, a range of years will appear under the
Averages section in the lower left portion of the window. Select the range
you want to work with to continue your analysis.
Next, select the variables which you would like to map in the center portion
of the window, then click once on the “Extract” button located at the bottom
center of the window. Another Fortran window will appear briefly while
the data for the maps are being extracted, and then a file will appear in
the upper right portion of the window. To view the map diagnostics, either
select the file name and click the “View” button on the lower right, or else
double-click on the file name itself; both actions will launch EdGCM’s
visualization application, EVA.
14 EdGCM Guide v.3.2
Figure 8. The Maps
tab in the Analyze
Output window,
highlighting (in
yellow) the file of
extracted variables
that can be viewed
in map form (up-
per right). The
icon next to the file
name represents
the netCDF format,
a popular cross-
platform format for
spatial data.
Time Series
To generate a time series that can be plotted linearly, click on the Time
Series tab (Figure 9), and click on the “Time Series” button in the lower left
corner of the window. This will launch another Fortran program, which may
take a few minutes to run. Note that all the years available for processing
are selected in the Year list by default; if you wish to view only a subsection
of years, you can select them later in EVA or Excel.
Figure 9. The
Time Series tab
in the Analyze
Output window,
showing the list
of files gener-
ated by post-
processing. These
files are given
in Excel format
for easy plotting
with either EVA
or Excel.
For many users, map variables and time series data are sufficient for a
great deal of analysis in a classroom setting. For advanced users, there are
additional variables and data formats accessible in the other tabs of the
Analyze Output window:
Vertical Slices
To generate vertical slices displaying spatial data along pole-to-pole
transects, click on the Vertical Slices tab (Figure 10). If you have already
averaged the last 5 years for any tab other than Time Series, you will
already have a range of years available in the lower left portion of the
window, and need not run the averaging program again; otherwise, follow
the steps for averaging years described for the Maps tab above.
Next, select the variables you would like to extract in the center portion of
the window, and click on the “Extract” button below the variables list, and
a file of the extracted variables will appear in the upper right corner of the
window. To view these variables, either select the file name and click the
“View” button on the lower right, or else double-click on the file name itself;
both actions will launch EdGCM’s visualization application, EVA.
Diagnostic Tables
To generate tables of data showing annual, seasonal or monthly averages,
click on the Diagnostic Tables tab (Figure 12). If you have already averaged
the last 5 years for any tab other than Time Series, you will already have a
range of years available in the lower left portion of the window, and need not
run the averaging program again; otherwise, follow the steps for averaging
years described for the Maps tab above.
Since the purpose of this tab is to create tables of standard set of diagnostic
variables averaged over particular time periods of interest, the center
portion of this tab lists options for those time periods. Typical averages
selected are the January and July monthly averages (for warm/cold climate
EdGCM Guide v.3.2
17
Figure 12. The Diagnostic Tables tab in the Analyze Output window, showing the list of
files generated by post-processing. The icons next to the file names indicate the format of
the file: Excel, HTML, and SuSpect (the latter for Macs only).
contrasts); seasonal averages; and annual averages. Select the time periods
you want to review, and click on the “Extract” button at the bottom center
of the window. A list of the processed data files for each time period will
appear on the right side of the window (Figure 12).
Windows users may choose to view Diagnostic Tables using Microsoft Ex-
cel® or, by choosing the files ending in .html, using a web browser. These
are very large tables containing information on nearly all the climate vari-
ables produced by the GCM, and the html view is perhaps the most ef-
ficient way to scan the information because there are links to the specific
table for each variable at the top of these files (Figure 13). Mac users have
the additional option of viewing the data tables with another prorgram we
provide called SuSpect (Figure 14). SuSpect allows users to sychronize the
viewing of multiple files for quicker comparison of the results from more
than one simulation.
Figure 14. Mac users can employ SuSpect to view their data.
1. Return to EdGCM, and select “eJournal” from the Window menu at the
top. The eJournal toolbar and window will appear (Figure 15).
Figure 15. The eJournal setup window and its associated toolbar.
2. Note that the eJournal window is divided into sections. Each section of
the eJournal (up to a maximum of 20 sections) can be used for either text
descriptions or figures. To convert between one type of section to the other,
simply click on the button to the left of the section (clicking on a photo
button sets up the section for figures; clicking on a text button sets up the
section for text).
3. Three additional figures may be added to a given section (for a total of
four figures) by clicking the “+” button at the lower right corner of the figure
These files can then be published to a school web site or to the student’s
own web space for public access. A copy may also be added to the school’s
eJournal library, a searchable offline database for the reports.