Title: RIP
1RIP
- A tool to create plots from WRF model output
2RIP(Read, Interpolate, Plot)
- Developed over many years by Mark Stoelinga of
the University of Washington - Not a gui-driven visualization tool. To use rip,
you edit a configuration file and run the rip
executable, then view the static images created
by rip - Allows user fine control over nearly all aspects
of the plot easy to make publication-quality
graphics (once you get a feel for the arcane
commands) - Not so great as a quick-look tool
3RIP capabilities include
- Cross-sections on various types of
quasi-horizontal surfaces - model sigma, pressure, height, isentropic, etc.
- Vertical cross-sections along arbitrary lines
- Vertical profiles and skew-T diagrams
- Contours, vectors, barbs, color-fill, maps,
labels, etc., and almost any combination thereof - Difference fields between two model jobs
4For the colloquium case studies
- Input datasets for RIP have been created for you
- i.e., you can skip the ripdp step
- Sub-sampled and windowed for easier plotting on
the classroom machines - Selected forecast hours to keep disk usage under
control - Sample configuration files have been created for
you - to give you a starting point for creating your
own configuration files - Plot files of many useful fields have been
created for you - lots of images are available for you to peruse
before you even run RIP - Images on the full model grid, not sub-sampled or
windowed - Images at hourly time interval
5To use RIP
- 1) Prepare the data
- Largely done for you
- 2) Prepare the instruction file
- This is the hard part. We offer some samples to
get you started - 3) Run the program
- 4) View the results
- idt command
6userin title"RIP_example2" idotitle1,titlecol
or'def.foreground', ptimes18,24,30,
ptimeunits'h',tacc120,timezone-7,iusdaylightrul
e1, iinittime1,ifcsttime1,ivalidtime1,ineares
th0, flmin.09, frmax.92, fbmin.10,
ftmax.85, ntextq0,ntextcd0,fcoffset0.0,idotse
r0, idescriptive1,icgmsplit0,maxfld10,itrajca
lc0,imakev5d0 end
---
------------------- Plot Specification Table
---------------------
Vertical cross sections feldthe ptypvc
vcorz vwin0,5 crsa25,20 crsb120,180
cint1.0 felduuu,vvv,www ptypvv feldtic
ptypvb
feldthe
ptypvc vcorz vwin0,5 crsa25,20
crsb120,180 cint2.0 felduuu,vvv ptypvw
vcmx-1 feldtic ptypvb
Color Fill (smooth) feldwsp ptyphc
vcors levs1fb cmthfill cint0.5
cosq0,white,5,yellow,10,green,15,blue,20,red fel
dmap ptyphb oudssolid feldtic
ptyphb
title and ptimes may be the only things you
change in the namelist section
feldltsomethinggt ptypltsomethinggt will begin
almost every line
separates one frame from the next
7 Color Fill
(discontinuous thresholds) feldwsp ptyphc
cmthfill cosq0,white,5,white,5,yellow,10,yellow
,10,green, gt 15,green,15,blue,20,blue,20,red fel
dmap ptyphb oudssolid feldtic
ptyphb
Difference
fields between sensitivity studies feldtmc
ptyphc vcors levs1fb diffmyj/myj
cmthfill cint0.25 cbeg-8 gt cosq-8,cyan,-4,
blue,-0.5,white,0.5,white,4,red,8,green feldmap
ptyphb oudssolid feldtic ptyphb
Wind vectors felduuu,vvv
ptyphv vcorp levs850, 700,500 intv8
vcmx10 feldmap ptyphb oudssolid feldtic
ptyphb
Wind
barbs felduuu,vvv ptyphv vcorz levs1.5
intv10 vcmx-1 fulb10kts feldmap ptyphb
oudssolid feldtic ptyphb
gt at the end of a line is a continuation
mark vcor specifies vertical coordinate to
use levs specifies levels to plot
8 Skew-T
diagrams feldtic ptypsb sloc39.31lat,-94.72
lon hodo sndg feldtmc ptypsc linw2
colrred feldtdp ptypsc linw2
colrblue felduuu,vvv ptypsv hodo
sndg
Vertical
profiles of other variables feldwww ptyppc
sloc39.31lat,-94.72lon
Lines, boxes, bullets, annotations feldlin
e ptyphb crsa120,10 crsb39.31lat,-94.72lon
colrred linw3 feldbullet ptyphb
crsaKMCI colrblue linw3 feldbox ptyphb
crsa120,40 crsb160,80 colrdark.green
linw3 feldbullet ptyphb crsa100,180
titlPut_your_label_here feldmap ptyphb
oudssolid feldtic ptyphb
Windowing felduuu,vvv ptyphv
vcors levs1fb intv1 vcmx-1 fulb10kts
gt xwin120,160 ywin40,80 feldmap ptyphb
oudssolid feldtic ptyphb
Coordinates may be specified in terms of lat/lon,
grid x/y, and station ID Semicolons
separate keyword settings Commas
separate multiple values for a single keyword
setting Whitespace is ignored, but blank lines
are a no-no anywhere in a line comments out
the line
9RIP suggestions
- Bookmark the online documentation and refer to it
often - Beware of commas and semicolons, and avoid blank
lines - Dont plot too much at once
- It can take a long time, and you just end up
waiting - Dont spend too much time getting a plot to look
just right - Some keyword settings are remembered from frame
to frame. Some are forgotten.