[gradsusr] time height croosection of thetae

madhu latha madhulatha11 at gmail.com
Sat Mar 30 04:58:27 EDT 2013


hi

i have done in this way

'reinit'
'open d03_2010-08-01_00:00:00.ctl'
'set grid off'
'set grads off'
'set display color white'
'set lat 12'
'set lon 77'
'set t 1 145'
'set lev 950 250'
'set gxout line'
Rv = 461.5
Rd = 287.05
Cp = 1005
lv = 2.5e6
*'d t'
'define t=tc+273.14'
'define e1=6.11*exp((2.5e6/461.5)*((1/273)-(1/'t')))'
'define e = 'rh'*'e1'/100'
'define mr=0.622*'e'/('lev'-'e')'
'define eqt='t'+(2.5e6*('mr')/1005))'
'define thee ='eqt'*pow(1000/'lev',287.05/1005)'
'set gxout shaded'
''d thee'
'run cbar.gs'


ERROR

for this error is as follows
Config: v2.0.a9 little-endian readline printim grib2 netcdf hdf4-sds hdf5
opendap-grids geotiff shapefile
Issue 'q config' command for more detailed configuration information
GX Package Initialization: Size = 11 8.5
Running in Batch mode
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer  grid coordinates
    Variable = tc  Dimension = 2
  Error ocurred at column 1
DEFINE error:  Invalid expression.
Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer  grid coordinates
    Variable = qvapor  Dimension = 2
  Error ocurred at column 1
DEFINE error:  Invalid expression.
Syntax Error:  Invalid Operand
  't' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression.
Syntax Error:  Invalid Operand
  'eqt' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression.
Syntax Error:  Invalid Operand
  'thee' not a variable or function name
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = thee
Syntax Error:  Invalid Operand
  'thee' not a variable or function name
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = thee
Cannot plot color bar: No shading information
No hardcopy metafile open
GX package terminated


   Before i have usd the same script for some other file, it is working
now i dont understand what is the problem.


Thank you.





On Sat, Mar 30, 2013 at 1:11 PM, pradeep arora <pkarora66 at gmail.com> wrote:

> Pl send entire script and error message.
> On 30 Mar 2013 13:10, "madhu latha" <madhulatha11 at gmail.com> wrote:
>
>> Hi thanq
>>
>> First itself i have done in the same way
>> i have used formaula tocaculte thetae after setting the environment
>>
>> but it is showing the error core dumped
>>
>>
>>
>> On Sat, Mar 30, 2013 at 1:01 PM, pradeep arora <pkarora66 at gmail.com>wrote:
>>
>>> You may select as:
>>> 'Set t 1 24' (if total time steps are 24)
>>> 'Set Lev 1000 100'
>>> 'Set lat xx.xx'
>>> 'Set lon yy.yy'
>>> 'd thetae'
>>>
>>> This would generate cross section. Thetae should be available from all
>>> name list. Otherwise u can calculate by putting formula.
>>> On 30 Mar 2013 12:53, "madhu latha" <madhulatha11 at gmail.com> wrote:
>>>
>>>> Dear all
>>>>
>>>>   I want to calculate time pressure crossesction of thetae for a
>>>> particular gridpoint.
>>>> From wrf model output theta is available how to calculate thetae from
>>>> this
>>>> and then how to do it for time pressure croosection
>>>> any help is appreciated.
>>>>
>>>>
>>>> thank you
>>>>
>>>> --
>>>> *Regards
>>>> *
>>>> *Madhu
>>>> *
>>>>  **
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> *With Regards
>> Madhu Latha Akkisetti
>> SRF
>> NARL <http://www.narl.gov.in>
>> Department of space
>> Gadanki*
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
*With Regards
Madhu Latha Akkisetti
SRF
NARL <http://www.narl.gov.in>
Department of space
Gadanki*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130330/52b635da/attachment-0003.html 


More information about the gradsusr mailing list