[gradsusr] Fwd: Sub: mask file for US land/Ocean

Adv advita6 at gmail.com
Fri Jan 30 21:09:03 EST 2015


---------- Forwarded message ----------
From: Adv <advita6 at gmail.com>
Date: Wed, Jan 28, 2015 at 4:13 PM
Subject: Sub: mask file for US land/Ocean
To: GrADS Users Forum <gradsusr at gradsusr.org>


Hi,
I would like to do the same calculation shown below, only over US land
region. Could someone help me with mask file ? or else explain me how to
use basemap shape file to mask the ocean. Is that possible to do?
An example of taking an area average of data only over land, given a mask
grid:

ave(aave(maskout(p,mask.3(t=1)),x=1,x=72,y=1,y=46),t=1,t=30)
say result

Thanks,
Adv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150130/31d093f6/attachment.html 


More information about the gradsusr mailing list