Ingrid Usage
Open the webpage Ingrid interface and paste the example scripts below to test the results.
You can also click the links below each example to view the results directly.

Data Selection

+ Select a continous time period

expert
SOURCES .NOAA .NCEP .EMC .CMB .GLOBAL .Reyn_SmithOIv1 .weekly .sst
T (17 Nov 1982) (29 Dec 2001) RANGE
link

+ Select a discontinous time period

expert
SOURCES .NOAA .NCDC .DAILY .GLOBALSOD IWMO 466960 VALUE .mean .temp
T (3-4 Sep 1995-1999) RANGE
link

expert
SOURCES .NOAA .NCDC .DAILY .GLOBALSOD IWMO 466960 VALUE .mean .temp
T (4 Jan 1999) (31 Dec 1999) RANGE
T 7 STEP
link

+ Select a single grid point

expert
SOURCES .NOAA .NCEP .EMC .CMB .GLOBAL .Reyn_SmithOIv1 .climatology .sst
Y (25N) VALUES
X (120E) VALUES
link

+ Select a region of grid points

expert
SOURCES .NOAA .NCEP .EMC .CMB .GLOBAL .Reyn_SmithOIv1 .climatology .sst
Y (10S) (10N) RANGE
X (70W) (20W) RANGE
or
Y (-10) (10) RANGE
X (-70) (-20) RANGE
link

+ Select stations

expert
SOURCES .NOAA .NCDC .DAILY .GLOBALSOD
IWMO 875740 875760 875850 VALUES
link

+ Select stations within a region

expert
SOURCES .NOAA .NCDC .DAILY .GLOBALSOD
lon 290 340 masknotrange SELECT
lat -10 10 masknotrange SELECT
link

+ Masks and Flags

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024. maskgt
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024. masklt
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024. flaggt
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024. flagle
link

Arithmetic

+ Addition: add

expert
2
3
add
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
5. add
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .sensible .heat_flux
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .latent .heat_flux
add
link

+ Subtraction: sub

expert
18.
2.
sub
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
273.15
sub
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .sensible .heat_flux
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .latent .heat_flux
sub
link

+ Multiplication: mul

expert
2.
3.
mul
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
5
mul
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .u
mul
link

+ Division: div

expert
18
2
div
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
5
div
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .taux
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .above_ground .u
div
link

+ Exponent and logs: mul, sqrt, eexp, ln, log, X Y exch ln mul eexp

expert
2
3
exch ln mul eexp
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
1000 P div
0.286 exch ln mul eexp
mul
link

Statistics

+ Average

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
[X Y]average
link

+ Monthly climatology

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
T (Jan 1949) (Dec 2001) RANGE
yearly-climatology
link

+ Anomaly

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
dup [T]average
sub
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
yearly-anomalies
link

+ Chunk average

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
T 3 boxAverage
link

+ Running average

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp
T 3 runningAverage
link

+ Root Mean Squared (RMS)

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
[T]rmsover
link

+ Root Mean Squared with mean removed (RMSA)

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
[T]rmsaover
link

+ Minimum or maximum

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp
273.15 sub
T 12 boxAverage
[X Y]maxover
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp
273.15 sub
[T] minover
link

+ Set minimum or maximum

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024 min
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
100. div
1024 max
link

+ Detrend

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp yearly-anomalies
[T]detrend-bfl
link

+ Smoothing

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .rhum
[X Y]1 SM121
link

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp
[T]16 SM121
link

Advanced Analysis

+ Standardize

expert
SOURCES .KAPLAN .Indices .NINO3 .avGOSTA
[T]standardize
link

+ Correlation

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .MSL .pressure
T (Jan 1949) (Dec 2001) RANGE
yearly-anomalies
SOURCES .Indices .nino .EXTENDED .NINO3
T (Jan 1949) (Dec 2001) RANGE
[T]correlate
link

+ EOFs

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .temp
Y 0 90 RANGE
T (Jan 1949) (Dec 2001) RANGE
yearly-anomalies
{Y cosd}[X Y][T]svd
link

+ Partial derivatives

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
a:
X partial
Y cosd div
X :a: .X REGRID
:a
110000. div
link: X partial

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
a:
Y partial
Y :a: .Y REGRID
:a
110000. div
link: Y partial

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
a:
T partial
T :a: .T REGRID
:a
30. div
86400. div
link: T partial

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
a:
P partial
P :a: .P REGRID
:a
100. div
link: P partial

+ Definite integral

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
P 10 1000 definite-integral
100. mul
link: P definite integral

Miscellaneous

+ Rename a grid

expert
SOURCES .NASA .GPCP .V2p2 .satellite-gauge .prcp
X /lon renameGRID
link

+ Change units

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .surface .pressure
100. div
/units (mb) def
link

+ Duplicate variable: dup

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Intrinsic .PressureLevel .temp
dup
link

+ Exchange stack order: exch

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .sensible .heat_flux
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .latent .heat_flux
exch
link

+ Nip variable: nip

expert
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .sensible .heat_flux
SOURCES .NOAA .NCEP-NCAR .CDAS-1 .MONTHLY .Diagnostic .surface .latent .heat_flux
nip
link