[gradsusr] Calculating mean/max/min values within the boundaries an imported shapefile.

Kevin Levey klevey at customweather.com
Fri Feb 2 16:48:32 EST 2018


Hi

Many thanks. I will give it a try.


Regards,

Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)
Vice President of Operations
CustomWeather, Inc.
San Francisco, California, USA

"Taking the World by Storm!"

http://www.customweather.com
http://www.myforecast.com
http://www.1stweather.com

cell: 415-794-0411
work: 415-777-3566
email: klevey at customweather.com

> On Feb 1, 2018, at 4:31 PM, yaqiang.wang at gmail.com wrote:
> 
> One solution is to create a maskout file using shape file. Here is a reference webpage: http://www.meteothinker.com/examples/meteoinfomap/grads_maskout.html <http://www.meteothinker.com/examples/meteoinfomap/grads_maskout.html> . 
> 
> Regards
> Yaqiang
> *************************************************
> Dr. Yaqiang Wang
> Chinese Academy of Meteorological Sciences (CAMS)
> 46, Zhong-Guan-Cun South Avenue
> Beijing, 100081
> China
>              
> yaqiang.wang at gmail.com <mailto:yaqiang.wang at gmail.com>
> 
> http://www.meteothinker.com <http://www.meteothinker.com/>
> https://www.researchgate.net/profile/Yaqiang_Wang5 <https://www.researchgate.net/profile/Yaqiang_Wang5>
> **************************************************
>  
> From: Kevin Levey <mailto:klevey at customweather.com>
> Date: 2018-02-02 03:16
> To: GrADS Users Forum <mailto:gradsusr at gradsusr.org>
> Subject: [gradsusr] Calculating mean/max/min values within the boundaries an imported shapefile.
> THUE 01FEB18: 1115PST
>  
> All,
>  
> I've been a GRADS user for over 20 years and nothing stumps me more than the maskout functions. I really do go through the user groups and see how people have resolved their issues thanks to the many contributing users (and thanks to you all).
>  
> So, here is my problem that I've been at for the last few days.
>  
> I need to calculate the mean of any of my defined variables WITHIN the boundaries of a particular shapefile that I have imported (e.g. like a province in Spain).
>  
> Anyone be willing to offer a few lines of code. Everything I’ve tried does not seem to give me the answer I should be getting.
>  
> Many thanks in advance.
>  
> Regards,
>  
> Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)
> Vice President of Operations
> CustomWeather, Inc.
> San Francisco, California, USA
>  
> "Taking the World by Storm!"
>  
> http://www.customweather.com <http://www.customweather.com/>
> http://www.myforecast.com <http://www.myforecast.com/>
> http://www.1stweather.com <http://www.1stweather.com/>
>  
> cell: 415-794-0411
> work: 415-777-3566
> email: klevey at customweather.com <mailto:klevey at customweather.com>
>  
>  
>  
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr <http://gradsusr.org/mailman/listinfo/gradsusr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180202/5f75a882/attachment.html>


More information about the gradsusr mailing list