[gradsusr] maskout
Ally Toure
allytoure at gmail.com
Mon Aug 15 12:32:39 EDT 2016
Hi Jeff,
I plotted the mask
and it look fine for me. attached is the .ctl and .gdat file
and there is the part of the code
* plot the domain-averaged swe at each time step.
'set x 1'
'set y 1'
'set t 1 303'
'set cmark 0'
This works
'd tloop(amean(100*swed,x=1,x=98,y=1,y=129))'
* something is wrong with this.
'd tloop(amean(maskout(100*swed,mask.3(t=1)),x=1,x=98,y=1,y=129))'
Thanks
Ally
On Mon, Aug 15, 2016 at 11:25 AM, Ally Toure <allytoure at gmail.com> wrote:
> Hi Jeff,
> I will do that. Thanks again for your help.
> Ally
>
> On Mon, Aug 15, 2016 at 11:12 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> That makes it sound like your mask is negative in the entire domain over
>> which you're trying to average. I would verify that the mask is what you
>> want it to be.
>>
>> Jeff
>>
>> On Mon, Aug 15, 2016 at 9:32 AM, Ally Toure <allytoure at gmail.com> wrote:
>>
>>> Hi Jeff,
>>> I get a message such as "Entire grid undefined"
>>> Thanks
>>> Ally
>>>
>>> On Mon, Aug 15, 2016 at 1:24 AM, Jeff Duda <jeffduda319 at gmail.com>
>>> wrote:
>>>
>>>> What are you actually seeing?
>>>>
>>>> On Sun, Aug 14, 2016 at 11:25 PM, Ally Toure <allytoure at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Jeff,
>>>>> thanks so much for you prompt reply
>>>>> I set up
>>>>> 'set t 1 303'
>>>>> 'd tloop(amean(maskout(100*swed,mask.3(t=1)),x=1,x=98,y=1,y=129))'
>>>>>
>>>>> it still does not work
>>>>> What else should I change?
>>>>> Thanks
>>>>>
>>>>> On Mon, Aug 15, 2016 at 12:02 AM, Jeff Duda <jeffduda319 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> You probably need to set your dimension environment to 1-D by fixing
>>>>>> lat/x and lon/y so that only t varies.
>>>>>>
>>>>>> Jeff Duda
>>>>>>
>>>>>> On Sun, Aug 14, 2016 at 10:52 PM, Ally Toure <allytoure at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Guys,
>>>>>>> I am trying to compute average of swed at points where the mask
>>>>>>> value are positive. I used the command below but it won't plot the line.
>>>>>>> Am I missing something? Your help would be greatly appreciated.
>>>>>>>
>>>>>>> * something is wrong with this.
>>>>>>> 'set t 1'
>>>>>>> 'd tloop(amean(maskout(100*swed,mask.3(t=1)),x=1,x=98,y=1,y=129))'
>>>>>>>
>>>>>>> Ally
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> gradsusr mailing list
>>>>>>> gradsusr at gradsusr.org
>>>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Jeff Duda
>>>>>> Post-doctoral research associate
>>>>>> University of Oklahoma School of Meteorology
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Jeff Duda
>>>> Post-doctoral research associate
>>>> University of Oklahoma School of Meteorology
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Post-doctoral research associate
>> University of Oklahoma School of Meteorology
>>
>> _______________________________________________
>> 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/20160815/e82c045a/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Siksik_shp_20m.ctl
Type: application/octet-stream
Size: 213 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20160815/e82c045a/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Siksik_shp_20m.gdat
Type: application/octet-stream
Size: 50568 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20160815/e82c045a/attachment-0003.obj
More information about the gradsusr
mailing list