[gradsusr] Maximum with levels

Raghavendra Ashrit raghu at ncmrwf.gov.in
Fri Jul 15 01:33:49 EDT 2022


you can use 'set gxout stat' and pick the maximum value using sublin and
subwrd commands
> Dear Users,
> I am having problem in finding maximum at a grid point in the vertical
> column.
>
> I have a data set with levels as 10.1 10.2 10.3 ..... 15.0
>
> I would like to use max function to find the maximum at a grid point in
> the
> vertical column, something like
>
> max(expr,lev=10.1,lev=15.0)
>
> my script:
> open ifile.ctl
> set t 1
> set x 1
> set y 1
> d max(expr,lev=10.1,lev=15.0)
>
> The above gives Syntax Error:  Invalid dimension expression
>
> I appreciate for any kind of help or suggestion in this regard.
> --
> Kind Regards,
> Mano
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>


-- 
**************************************************************
Dr. Raghavendra Ashrit            डॉ।राघवेंद्र आश्रीत
Scientist-F,                      वैज्ञानिक-एफ
National Centre for Medium Range  राष्ट्रीय मध्यम अवधि मौसम
Weather Forecasting (NCMRWF),     पूर्वानुमान केन्द्र (रा॰म॰अ॰मौ॰पू॰के॰)
Ministry of Earth Sciences,       पृथ्वी विज्ञान मंत्रालय,
Government of India               भारत सरकार
A-50, Sector 62, NOIDA -201309    ए-५०, सैक्टर-६२,नोएडा -२०१३०९
(Uttar Pradesh), India            (उत्तर प्रदेश), भारत
**************************************************************



More information about the gradsusr mailing list