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

Adv advita6 at gmail.com
Wed Jan 28 17:13:13 EST 2015


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/20150128/0f53efbd/attachment.html 


More information about the gradsusr mailing list