Gradsusr Moist Con Transp
Gradsusr Moist Con Transp
GrADS
sushant puranik sushantpuranik at gmail.com
Fri Jul 23 01:34:01 EDT 2010
Previous message: [gradsusr] how to use vint function in GrADS
Next message: [gradsusr] how to use vint function in GrADS
1000
Q = (1/g) ∫ (V q)dp.
400
'define ps=1000'
'define a=vint(ps,vwnd*shum,400)'
'd a/9.81'
with this command i am able to make a plot.
Thanking you
Sushant
> Hi,
>
> please try
>
> 'define ps=1000'
> 'd vint(ps,vwnd*shum,400)'
>
> best wishes,
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> YING, Ming
> Shanghai Typhoon Institute of China Meteorological Administration
> 166 Puxi Road, Xuhui District, Shanghai, 200030
> PR China
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
>
>
> 2010/7/23 sushant puranik <sushantpuranik at gmail.com>:
> > Hi
> > I am trying to find vertical integral in GrADS using "vint" command.
For
> > that purpose i opened vwnd and specific humidity file as first and
second
> > respectively. The q file command for both the variable are as
> >
> > ga-> q file
> > File 1 : mean daily NMC reanalysis (2008)
> > Descriptor: /home/Sushant/Desktop/10may08v.nc
> > Binary: /home/Sushant/Desktop/10may08v.nc
> > Type = Gridded
> > Xsize = 29 Ysize = 25 Zsize = 8 Tsize = 1
> > Number of Variables = 1
> > vwnd 8 -999 mean Daily V wind
> >
> > ga-> q file 2
> > File 2 : mean daily NMC reanalysis (2008)
> > Descriptor: /home/Sushant/Desktop/10may08q.nc
> > Binary: /home/Sushant/Desktop/10may08q.nc
> > Type = Gridded
> > Xsize = 29 Ysize = 25 Zsize = 8 Tsize = 1
> > Number of Variables = 1
> > shum 8 -999 mean Daily specific humidity
> >
> > after this i used
> >
> > ga-> d vint(1000,vwnd*shum.2,400)
> > gxstart=0, gxstop=29, gystart=0, gystop=25.
> > gzstart=0, gzstop=1, gtstart=0, gtstop=1.
> > gxstart=0, gxstop=29, gystart=0, gystop=25.
> > gzstart=0, gzstop=1, gtstart=0, gtstop=1.
> > Error from VINT: Incompatible grids.
> > Contouring: -0 to 2.4e+36 interval 3e+35
> > Segmentation fault
> >
> > after showing this message, the grads window gets closed.
> >
> > Can anyone has solution for this perticular problem.
> >
> > Thanks in advance
> >
> >
> > --
> > Sushant
> >
[gradsusr] Vertical Integrated Moisture
Transport (VIMT)
Eric Altshuler ela at cola.iges.org
Mon May 12 17:47:29 EDT 2014
Previous message: [gradsusr] Vertical Integrated Moisture Transport
(VIMT)
Next message: [gradsusr] I need shapefile of Congo basin
Hi Muhammad,
I think there are two issues here, but the problem might not be caused by
either of them. First, you close file 1 after defining a variable. I don't
think this is a good idea, since it leaves grads without a default file and
the subsequent behavior of grads might be strange or incorrect (I ran into
something like this in the past). Similarly, if there are several files
open, the current default file should not be closed, for the same reason
(e.g. if you have 'set dfile 2', don't close file 2 until you've set the
default file to something other than 2). In your script, you should leave
file 1 open and use 2,3,4 to refer to the files you open later.
'define zon=vint(surfpres,shum.2*uwnd.3,500)'
'define mer=vint(surfpres,shum.2*vwnd.4,500)'
Best regards,
Eric L. Altshuler
Research Scientist
Center for Ocean-Land-Atmosphere Studies
253 Research Hall, Mail Stop 6C5
George Mason University
4400 University Drive
Fairfax, VA 22030 USA
Hi all,
'sdfopen shum-daily.nc'
'sdfopen uwnd-daily.nc'
'sdfopen vwnd-daily.nc'
Script runs successfully showing VIMT, but the magnitude of vector appears
(4e+06) in the vector scale bar.
I guess, this magnitude is not right. The value should lie around 20 or 40
(kg/m/sec).
I'll be very thankful if anyone could help me to sort out the issue
mentioned above.
Regards
Muhammad Latif
PhD Scholar
Department of Meteorology
CIIT, Islamabad
Set the graphics output to vector ('set gxout vector'), then 'd zon;mer'
(note the semicolon instead of a comma).
Jeff Duda
> Hello,
>
> This is not directly about GrADS but since most of address similar
> problems, I guess someone on this forum will be able to answer my
question.
>
> I understand that to calculate moisture transport, given zonal,
meridional
> winds and specific humidity, can simply do:
>
> 'define zon=uwnd.1*shum.3'
> 'define mer=vwnd.2*shum.3'
> 'd zon,mer'
>
> But, I want to plot vectors indicating field of net moisture flux (all
arrows converging/diverging) instead of just transport.
>
> Thanks for any ideas.
>
> Hyacinth
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Iowa State University
Meteorology Graduate Student
www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
-------------- next part --------------
[gradsusr] moisture flux
ugo okoro uknac23 at yahoo.com
Thu Jan 3 10:10:22 EST 2013
Previous message: [gradsusr] Built-in functions
Next message: [gradsusr] Error in using skew.gs
Dear jennifer,
'sdfopen file-pressure.nc'
'sdfopen file-zonal-wind.nc'
'sdfopen file-meridional-wind.nc'
'define QiJAN=ave(vint(prmsl.1(z=1)/100,shum.1*uwnd.2,200),t=((t=181)+
(t=241)+(t=289)+(t=349))'
'define QjJAN=ave(vint(prmsl.1(z=1)/100,shum.1*vwnd.3,200),t=((t=181)+
(t=241)+(t=289)+(t=349))'
'set gxout vector'
'd QiJAN;QjJAN' but i dont get some details from the script-
1. is msl the pressure data?
2. is shum the specific humidity?
3. will my time be the problem with the script?
Thanks in anticipation.
ugo okoro
cmsr, iap-cas,
beijing