Grads commands Flashcards

1
Q

d tmp2m

A

visuallize the tmp2m parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

d tmp2m -273.15

A

Visualizes the tmp2m parameter. This code is found from the command (q file) (-273.15 to change from K to C) this draws contours by default.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

set gxout shaded

A

shows it shaded instead of contours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

c

A

clear the screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

set lat 22.5 26.5

A

set the latitude

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

set lon 52 56.5

A

set longitude

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

set mpdset hires

A

set the map in high resolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

draw title temp CHART

A

give the map a title

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cbar

A

set legend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

set cint 2

A

change the interval to 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

d ugrd10m;vgrd10m

A

draw temperature vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

d skip(ugrd10m,4);(vgrd10m)

A

draw wind vectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

set gxout barb

A

change wind to barb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

set cthink 6

A

make the barbs look thicker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

q dims

A

gives information about the dimentions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

d pressfc/100

A

show isobars

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

d smth9(pressfc/100)

A

make isobars smoother

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

set ccolor 1

A

change color of isobars to 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

reset

A

start over the map

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

set lev 1000 10

A

set levels from 1000 to 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

printim (filename) (options)

A

print map

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

options in

printim (filename) (options)

A
  1. png
  2. . gif
  3. jpg
  4. black (use black background)
  5. white (use white background)
  6. . xNNN (horizontal size in NNN pixels)
  7. yNNN (vertical size in NNN pixels)
  8. –t NN (color number NN is transparent)
  9. –b bgImage (Image file bgImage included in the background of the output)
  10. xNNN (horizontal size in NNN pixels)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

grads -lbc temp.gs

A

execute tmp.gs script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

!ftp tgftp.nws.noaa.gov

A

enter the website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
\>!ftp tgftp.nws.noaa.gov Name: Password:
name: annonymous password: @
26
set clevs 12 13 14 15 16 17 18 19 20
set levels for pallets
27
set ccols
set colors for pallets
28
set rgb 16 R G B
set a new color
29
how to take data from USB
df -h 1- Anything in linux is called a devise it is found is /dev/ (cd /dev/) 2- sdc is the flash drive (mkdir /sample) (mount /dev/sdc1 /sample) (cd sample) you will find all the data
30
how to eject USB
umount /sample
31
mag(u,v)
calculate wind speed
32
D sqrt(ugrd10m\* ugrd10m+ vgrd10m\* vgrd10m)
another way of finding the wind speed
33
d hcurl(ugrd10m,vgrd10m)
calculate vorticity
34
D (tmp2m-273.15)\*9/5+32
change from C to F
35
in the script ga-\> set lon 54 ga-\> set lev 1000 10 ga-\> d tmpprs-273.15 x-bar is the
latitude not longitude
36
ga-\> set t 6 ga-\> set lat 24.5 ga-\> set lon 54.5 ga-\> set lev 1000 10 ga-\> d rhprs ga-\> d tmpprs-273.15 the out put is
skew T diagram
37
temperature and humidity skew t diagram is done to
know the stability of the atmosphere
38
ga-\> set lat 24.5 ga-\> set lon 54.5 ga-\> set lev 1000 ga-\> set t 1 24 ga-\> d tmp2m-273.15 is done to find
meteograms (time series)
39
how to find the magnitude of wind for the meteogram (time series)
d mag(ugrd10m,vgrd10m)\*1.99
40
ga-\> set lat 24.5 ga-\> set lon 54.5 ga-\> set t 1 24 ga-\> set lev 1000 10 ga-\> set gxout shaded ga-\> set cmin 40 ga-\> d rhprs ga-\> set gxout barb ga-\> d ugrdprs\*1.99;vgrdprs\*1.99 ga-\> set gxout contour ga-\> d hgtprs ga-\> cbarn this is done to find
time height diagram
41
d tmp2m(t=12)-tmp2m(t=1)
accumulated fluxes
42
d ave(tmp2m-273.15,t=1,t=12)
temperature averages
43
For file in \*.png ; do Convert $file $(basename $file .png).gif Done Ls –rtl Convert –loop -1 delay 25 \*.gif toto.gif Display toto.gif
animated gif
44
commmand line options program grads [-lbpC] [-c 'command']
* -c 'command': execute 'command' when starting GRADs * -b: run grads in batch mode. No graphics output window is opened * -l: run grads in landscape mode. The orientation question is not asked. * -p: run grads in portrait mode. The orientation question is not asked. * -C: enable automatic setting of century for years \<100
45
help:
gives a summery list of operations
46
set grads on | off
enable/disable display of the GRADs logo
47
set display grey | greyscale
set the mode to greyscale
48
set display color
shading and contouring is done with rainbow colors. Default.
49
set grame on
plot a rectangleframe arounf clipped region
50
set grame off
plot no frame
51
set grame circle
plot a rectangle frame for lat-lon projection. plots a circular fram for a polar plot at the outermost latitude. Whole hemisphere plot only.
52
set background ic
set background color to color or color index ic
53
display expression d expression
display data via the graphic output window; the simplest expression is a variable abbreviation
54
open filename
open descriptor file
55
close file#
close the last descriptor file opened
56
set dfile number
change to discriptor file number for current file
57
define var=expr
change new variable, which then can be used in subsequent expressions
58
undefine var
free the resources used by the defined variable
59
modify varname
define variable, which is climatological. varname is the defined grid.
60
modify varname time types are:
seasonal: monthly or multi-monthly means diurinal: over some time period less than a day
61
q config
list GRADs configuration information
62
q files
list open files
63
q file n
gives info on prticular file
64
q define
list currently defined variables
65
q dims
gives current dimention environment
66
q gxinfo
gives graphics environment info
67
q shades
gives colors and levels of shaded contours
68
q pos
waits for mouse click, return the position
69
q time
gives info about tume setting
70
q fwrite
print name of fwrite output file
71
q string s
gives the width of string s
72
set imprun script
automatically executes scriot before every display command
73
run file-name
load and run a GRADs script (with parameters)
74
c events
clear event buffer
75
c graphics
clear graphics, not widgets
76
c hbuff
clear display buffer, when in double buffer mode
77
set x val1 val2
set x values or fix it to one value
78
set y val1 val2
set y values or fix it to one value
79
set z val1 val2
set z values or fix it to one value
80
set gxout errbar
error bar
81
set gxout fgrid
set specific value grib fill plot
82
set gxout findstn
find closest station to x,y point
83
set gxout line
line graph
84
set gxout linefill
color fill between two lines
85
set gxout model
plot station model
86