Climate Analysis Branch
Help
In order to help ensure that this web analysis page remains available, we would greatly appreciate feedback on its use, particularily in the clasroom, for presentations or for research. Mail to Cathy Smith at (cathy.smith@noaa.gov).

Help
Background Information
Related Plot/Analysis
 

How to create your own time series for use on the PSD composites web page

Change! FTP instructions have changed slightly.

You can use your own monthly value timeseries in the composites web page. The file format is as follows (the old format with no years in the first line will no longer work).

  iyearstart  iyearend
iyearstart  xm1 xm2 xm3 xm4 xm5 xm6 xm7 xm8 xm9 xm10 xm11 xm12
.
.
.
iyearend    xm1 xm2 xm3 xm4 xm5 xm6 xm7 xm8 xm9 xm10 xm11 xm12
xmiss

The first row contains the starting and ending years. The starting year should be 1948 or after. The ending year can be anything up through the current year. The next set of rows is yearstart through yearend in which the first column of each row contains an integer year and the next 12 columns contain the 12 monthly values for that year. They should be separated by spaces! You must have a missing value at the end of the file followed by a return (even if there is no missing data). You also must have lines for all the years. Choose a missing value not in the range of your timeseries. Using 0 is generally not a good idea. If you don't have 12 monthly values, you can "fool" the code by putting the value for the month you do have and fake values for the rest. If you have seasonal values, put the same value in for each month of the season. You can even fool the code further by leading or lagging your time series. Be sure you have values for all columns and rows even if you don't plan on using them.

The time series can be used by specifying the FULL path in the box after "custom" (you must check custom). You must use a full (not relative) pathname.

Once you have the file, you can do one of two things. You can put the file in a publicly accessible area on your computer. This area could be anonymous ftp or a http address. The ftp address cannot be one that requires a password. Then specify the file with the following

http://www.yoururl/yourfilename or ftp://filename.
The file can be in plain text or html. You must have returns at the end of each line if it is in html. To see example, go to http://www.cdc.noaa.gov/people/cathy.smith/pna.data. Using your own computer has the advantage that you can make changes easily, update files, use names others use and you don't have to worry about ftp protocols. Also, eventually that will be the only way you will be able to do it as security concerns may force us to stop people from putting files into our anonymous ftp directory.

Or, you can (currently) anonymous ftp to:

ftp.cdc.noaa.gov
cd Public/incoming/timeseries
put yourfile
Note the change in pathname to include "incoming". This was a PSD security related change.
. Make your filename unique. For example, something of the format initials.date.description would be good. For example, cas.033199.tempeof1. Then, when typing in the pathname, use the filename /Public/incomping/timeseries/yourfilename (the exact spelling of this is important. Use the / in front of Public and use a capital P.) The code won't work if you haven't formatted your data correctly so if you get no plot, look at the example timeseries carefully (FORTRAN is very unforgiving). Try some test correlations first where you have a pretty good idea of the results before doing more esoteric calculations (e.g. if you have a temperature index file, correlate with temperature and plot the region where the temperature is from).

FTP Problems: If you run into any problems, see FTP common problems and solutions

The index files may be purged periodically so you may need to re-FTP the data.
Click here for sample timeseries.