TOVS Path-P IDL Tools Tutorial


Introduction  |   Getting Started  |   Tutorial1  2  3  4  |   Example:  1  2  3  4  |   Extended Help

Example 1: PPP_TOC and PPP_STATS

This Web page provides examples of how to use the following IDL routines for the TOVS Path-P data set:

TOVS Path-P PPP_TOC Example:

At the IDL prompt, navigate to the directory that contains the data using the following command:

IDL> cd,"/usr/me/TOVS/"

Call ppp_toc using the following command:

IDL> ppp_toc,sds_desc,dates

You should see output similar to the following:

% PPP_TOC: Searching for data files. This may take a moment...

======================> TOVS Data set Table of Contents <======================

DATASET_DIRECTORY :.//
NUMBER OF DAILY FILES FOUND : 10
BEGINNING_DATE (YYYYDOY) :1979193
ENDING_DATE (YYYYDOY) :1990009
% COMPILED MODULE: JULDAY.
THERE ARE MISSING DATES IN THIS SET OF FILES.

THE FOLLOWING 27 PARAMETERS ARE AVAILABLE IN EACH DAILY DATA FILE:
      TEMP-50       TEMP-70      TEMP-100
      TEMP-300      TEMP-400     TEMP-500
      TEMP-600      TEMP-700     TEMP-850
      TEMP-900      WVAPOR-300   WVAPOR-400
      WVAPOR-500    WVAPOR-700   WVAPOR-850
      SKTEMP        HIRS_CLDY    FCLD
      CLPRESS       CLTEMP       EMISS
      ISICE         SOLZEN       PRESS
      PBLSTRAT      CG           ALPHA

THE ANCILLARY FILE IS :TPP_N100_9999999_ANCIL.HDF
THE FOLLOWING 4 ANCILLARY PARAMETERS ARE AVAILABLE:
      LATITUDE      LONGITUDE      LANDMASK
      ELEVATION

Return to tutorial


TOVS Path-P PPP_STATS Example:

Try running PPP_STATS for the TOVS Path-P SDS called TEMP-50 for the first week of January 1990 using the following command:

IDL> ppp_stats,'temp-50',start_date=1990001,end_date=1990007

An alternative is to make up your own dates array using the following command:

IDL> ppp_stats,'temp-50',dates=1990001+indgen(7)

You can also subset the dates array returned from PPP_TOC in the previous example by using the following command:

IDL> ppp_stats, 'temp-50', dates=dates[0:6]

After using any of the above commands, you should see output that looks similar to the following:

==========================================================
===================Summary Statistics=====================
% Compiled module: STR_SEP.
SDS Name: TEMP-50
SDS Label: TEMP: temperatures [K] at pressure level 50
SDS Unit: K
SDS Fill Value: -99999
----------------------------------------------------------
yyyydoy Minimum Maximum Average Standard  %Used
                                Deviation
==========================================================
% Compiled module: MOMENT.
1990001 195.70  222.54  207.10  5.72      65.45
1990002 194.83  223.67  207.08  6.08      66.41
1990003 195.29  226.67  206.87  6.50      65.03
1990004 197.34  227.05  206.91  6.33      66.27
1990005 197.01  226.28  207.19  6.13      64.56
1990006 196.80  226.28  207.49  6.41      64.54
1990007 197.08  225.64  207.45  6.42      65.18
----------------------------------------------------------
        194.83  227.05  207.15  6.23      65.35
==========================================================

Return to tutorial