[gradsusr] Maskout land

lpasmanoranjan lpasmanoranjan at gmail.com
Sun Aug 16 02:53:03 EDT 2020


Yes, it worked. Thank you very much.

On Sat, Aug 15, 2020 at 23:08 Pavel Kishcha <pavel at cyclone.tau.ac.il> wrote:

> 'define ocean = maskout(t2,0.01-mask.2)'
>
> 'd aave(ocean,lon=40,lon=90,lat=-15,lat=15)'
>
> On Sat, Aug 15, 2020 at 3:56 PM lpasmanoranjan <lpasmanoranjan at gmail.com>
> wrote:
>
>> Dear Users,
>> I have a temperature data. I would like to compute the area averaged
>> temperature over the Ocean only. So I need to maskout the land areas. Is
>> there any command to maskout the ocean directly.
>>
>> I have a land mask control file. I thought to do it by subtracting the
>> land values from the original data. But the following script showing all
>> zero values.
>>
>> 'open t2.ctl'
>> 'open landmask.ctl'
>> ‘define land=maskout(t2, mask.2-0.01)’
>> ‘define total=t2’
>> 'd aave(total-land,lon=40,lon=90,lat=-15,lat=15)'
>>
>> It could work if I would have an ocean mask control file.
>>
>> Any suggestions or script is highly appreciated?
>>
>> Thank you.
>>
>>
>>
>> --
>> Kind Regards,
>> Mano
>>
>
>>
>> _______________________________________________
>>
>>
>> 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
>
> --
Kind Regards,
Mano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200816/79d16f9c/attachment.html>


More information about the gradsusr mailing list