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
Q

>!ftp tgftp.nws.noaa.gov
Name:
Password:

A

name: annonymous
password: @

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

set clevs 12 13 14 15 16 17 18 19 20

A

set levels for pallets

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

set ccols

A

set colors for pallets

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

set rgb 16 R G B

A

set a new color

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

how to take data from USB

A

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

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

how to eject USB

A

umount /sample

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

mag(u,v)

A

calculate wind speed

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

D sqrt(ugrd10m* ugrd10m+ vgrd10m* vgrd10m)

A

another way of finding the wind speed

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

d hcurl(ugrd10m,vgrd10m)

A

calculate vorticity

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

D (tmp2m-273.15)*9/5+32

A

change from C to F

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

in the script

ga-> set lon 54
ga-> set lev 1000 10
ga-> d tmpprs-273.15

x-bar is the

A

latitude not longitude

36
Q

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

A

skew T diagram

37
Q

temperature and humidity skew t diagram is done to

A

know the stability of the atmosphere

38
Q

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

A

meteograms (time series)

39
Q

how to find the magnitude of wind for the meteogram (time series)

A

d mag(ugrd10m,vgrd10m)*1.99

40
Q

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

A

time height diagram

41
Q

d tmp2m(t=12)-tmp2m(t=1)

A

accumulated fluxes

42
Q

d ave(tmp2m-273.15,t=1,t=12)

A

temperature averages

43
Q

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

A

animated gif

44
Q

commmand line options
program grads [-lbpC] [-c ‘command’]

A
  • -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
Q

help:

A

gives a summery list of operations

46
Q

set grads on | off

A

enable/disable display of the GRADs logo

47
Q

set display <option>&gt;</option>

grey | greyscale

A

set the mode to greyscale

48
Q

set display <option>&gt;</option>

color <black></black>

A

shading and contouring is done with rainbow colors. Default.

49
Q

set grame <option></option>

on

A

plot a rectangleframe arounf clipped region

50
Q

set grame <option></option>

off

A

plot no frame

51
Q

set grame <option></option>

circle

A

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
Q

set background ic

A

set background color to color or color index ic

53
Q

display expression
d expression

A

display data via the graphic output window; the simplest expression is a variable abbreviation

54
Q

open filename

A

open descriptor file

55
Q

close file#

A

close the last descriptor file opened

56
Q

set dfile number

A

change to discriptor file number for current file

57
Q

define var=expr

A

change new variable, which then can be used in subsequent expressions

58
Q

undefine var

A

free the resources used by the defined variable

59
Q

modify varname <time></time>

A

define variable, which is climatological. varname is the defined grid.

60
Q

modify varname <time></time>

time types are:

A

seasonal: monthly or multi-monthly means
diurinal: over some time period less than a day

61
Q

q config

A

list GRADs configuration information

62
Q

q files

A

list open files

63
Q

q file n

A

gives info on prticular file

64
Q

q define

A

list currently defined variables

65
Q

q dims

A

gives current dimention environment

66
Q

q gxinfo

A

gives graphics environment info

67
Q

q shades

A

gives colors and levels of shaded contours

68
Q

q pos

A

waits for mouse click, return the position

69
Q

q time

A

gives info about tume setting

70
Q

q fwrite

A

print name of fwrite output file

71
Q

q string s

A

gives the width of string s

72
Q

set imprun script

A

automatically executes scriot before every display command

73
Q

run file-name <params></params>

A

load and run a GRADs script (with parameters)

74
Q

c events

A

clear event buffer

75
Q

c graphics

A

clear graphics, not widgets

76
Q

c hbuff

A

clear display buffer, when in double buffer mode

77
Q

set x val1 val2

A

set x values or fix it to one value

78
Q

set y val1 val2

A

set y values or fix it to one value

79
Q

set z val1 val2

A

set z values or fix it to one value

80
Q

set gxout errbar

A

error bar

81
Q

set gxout fgrid

A

set specific value grib fill plot

82
Q

set gxout findstn

A

find closest station to x,y point

83
Q

set gxout line

A

line graph

84
Q

set gxout linefill

A

color fill between two lines

85
Q

set gxout model

A

plot station model

86
Q
A