Grads commands Flashcards
d tmp2m
visuallize the tmp2m parameters
d tmp2m -273.15
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.
set gxout shaded
shows it shaded instead of contours
c
clear the screen
set lat 22.5 26.5
set the latitude
set lon 52 56.5
set longitude
set mpdset hires
set the map in high resolution
draw title temp CHART
give the map a title
cbar
set legend
set cint 2
change the interval to 2
d ugrd10m;vgrd10m
draw temperature vectors
d skip(ugrd10m,4);(vgrd10m)
draw wind vectors
set gxout barb
change wind to barb
set cthink 6
make the barbs look thicker
q dims
gives information about the dimentions
d pressfc/100
show isobars
d smth9(pressfc/100)
make isobars smoother
set ccolor 1
change color of isobars to 1
reset
start over the map
set lev 1000 10
set levels from 1000 to 10
printim (filename) (options)
print map
options in
printim (filename) (options)
- png
- . gif
- jpg
- black (use black background)
- white (use white background)
- . xNNN (horizontal size in NNN pixels)
- yNNN (vertical size in NNN pixels)
- –t NN (color number NN is transparent)
- –b bgImage (Image file bgImage included in the background of the output)
- xNNN (horizontal size in NNN pixels)
grads -lbc temp.gs
execute tmp.gs script
!ftp tgftp.nws.noaa.gov
enter the website