[gradsusr] amax Function

Daniel Nairn dannairn at gmail.com
Tue Mar 10 10:51:38 EDT 2015


​Actually, I appear to have this working. With the following script I can
see the maximum value being returned now:

'define maxgust=amax(gust10m*2.23694,g)'
'd maxgust'
say result

The values look correct - I guess where I'm stuck is how would I go about
getting the results into a text string?



On 10 March 2015 at 14:22, Andrew Friedman <andfried at gmail.com> wrote:

> So there's no output in the command line of 'd maxgust' when lon and lat
> are set to a specific value?
>
> On Tue, Mar 10, 2015 at 1:01 PM, Daniel Nairn <dannairn at gmail.com> wrote:
>
>> Hi Andrew
>>
>> No, no difference with that either.
>> Thanks
>>
>> On 10 March 2015 at 10:58, Andrew Friedman <andfried at gmail.com> wrote:
>>
>>> Hi Daniel,
>>> Is there any change if you set specific values for the lat and lon
>>> dimensions (rather than a range)?
>>> Andrew
>>>
>>> On Mon, Mar 9, 2015 at 10:35 PM, Daniel Nairn <dannairn at gmail.com>
>>> wrote:
>>>
>>>> Hello
>>>>
>>>> I'm trying to use the amax function to display the maximum 10m wind
>>>> gust value in my domain - I would like to display the value as text on the
>>>> existing .png output for this script, alongside the shaded output. This is
>>>> what I have in my script, which completes without an error, but my variable
>>>> 'maxgust' does not seem to populate with anything.
>>>>
>>>> 'define maxgust=amax(gust10m,g)'
>>>>
>>>> Should this work or have I misinterpreted the amax function? I've also
>>>> tried specifying lat/long dimensions but no change.
>>>>
>>>> Thanks
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150310/db2474fb/attachment.html 


More information about the gradsusr mailing list