Plotting topography in a cross section

Davide Sacchetti davide.sacchetti at ARPAL.ORG
Fri Jul 7 06:09:58 EDT 2006


which kind of levels do TEMP belongs to? supposing they are pressure
levels you should convert topography from meters to pressure ... I
attacch an older mail on this subject:

if your plot has pressure as Y coord, I normally plot the surface
pressure [eg: sp=MSLP*exp(-9.81*oro/(287*(t2-0.0065/2*oro)))]
display your cross section var and after display the orography height
['d sp-100*lev' ]

hoping it helps ...
bye bye
Davide

On Fri, 2006-07-07 at 12:05 +0200, Paco Pastor wrote:
> Hi Grads users
>
> I'm facing a problem in plotting a cross section. I'd like to plot
> temperature in a vertical cross section and then overlay topography.
> Topography is one of the output variables of our meteorological model
> (no problem when plotting a x-y map). But when I try topo does not
> appear, these are the commands I'm using
>
> ga-> q file
> File 1 : RAMS Output
>    Descriptor: a-AS-2006-07-06-000000-g1.ctl
>    Binary: ./a-AS-2006-07-06-000000-g1.gra
>    Type = Gridded
>    Xsize = 109  Ysize = 57  Zsize = 23  Tsize = 24
>    Number of Variables = 6
>      tempc 23 99 - RAMS : temperature [C]
>      topo 1 99 - RAMS : topo [m]
>      rain 23 99 - RAMS : rain mix ratio [g/kg]
>      tke 23 99 - RAMS : turb kinetic energy [m2/s2]
>      u 23 99 - RAMS : grid relative u [m/s]
>      v 23 99 - RAMS : grid relative v [m/s]
> ga-> c
> ga-> set lat 37 42
> LAT set to 37 42
> ga-> set lon 0
> LON set to 0.0470475 0.0470475
> ga-> set z 1 22
> LEV set to 57.267 14249.7
> ga-> set gxout shaded tempc
> ga-> d tempc
> Contouring: -50 to 20 interval 10
> ga-> set cint 50
> cint = 50
> ga-> d topo
> Contouring: -0 to 1000 interval 50
>
> But if I just try to plot topo (without setting z coordinate) the cross
> section appears fine.
>
> Thanks in advance
>
> --
> ___________________________________________________________________________________________________
> Francisco Pastor
> Meteorology department
> Fundación CEAM
> paco at ceam.es
> http://www.ceam.es/ceamet
> http://www.ceam.es/
> Paterna, Valencia, Spain
> ___________________________________________________________________________________________________
> Usuario Linux registrado: 363952
> PGP Public Key: ADC634EC
>
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org   web: www.meteoliguria.it



More information about the gradsusr mailing list