[gradsusr] how to get average of a country

Muhammad Yunus Ahmad Mazuki ukm.yunus at gmail.com
Tue Apr 9 03:34:23 EDT 2013


I think you can get polygon shape from Surfer website.


On Tue, Apr 9, 2013 at 3:10 PM, Yaqiang Wang <yaqiang.wang at gmail.com> wrote:

> You can make GrADS maskout data easily using MeteoInfo software which is
> freely available at http://www.meteothinker.com/ .
>
> 1. Run MeteoInfo and load 'country1.shp' shape file as a polygon layer
> (step_1.png).
>
> 2. Zoom the map to Kenya. Press 'Select Features' tool and select Kenya.
> The selected feature will be viewed as yellow color (step_2.png).
>
> 3. Press 'Tools -> Output Map Data' menu, and set 'Map Layer' as
> 'country1.shp' and 'Output Format' as 'GrADS Maskout File'. The selected
> feature of Kenya is setting in 'Output Shapes' area automaticly
> (step_3.png).
>
> 4. Press 'Output' button and give the output GrADS maskout file name, and
> then set the output grid in appeared dialog. Click 'OK' button to finish
> the process (step_4.png). You should set the grid as same as your data.
>
> In the result maskout data, the values of the grid points inside Kenya
> were set as 1 and the others were set as -1 (result.png). You may also need
> to change the 'TDEF'  in maskout ctl file as same as your data. Of course,
> the maskout data of any region can be created with this method if the
> polygon shape file is available.
>
>
>
> On Tue, Apr 9, 2013 at 2:31 PM, Kishore Ragi <kishoreragi at gmail.com>wrote:
>
>> Dear Dr. Wang,
>>
>> Thank you for the info ...  I have gone through some googling but,I can't
>> understand how to do it. Could you please refer some material or give some
>> example code.
>>
>> For example I want everage of a variable in Kenyan region, which is
>> inside 34, 42, -5, 5
>>
>> Looking forward to getting help..
>>
>> Thank you..
>>
>> Regards,
>>
>> Kishore
>>
>>
>> On Tue, Apr 9, 2013 at 11:36 AM, Yaqiang Wang <yaqiang.wang at gmail.com>wrote:
>>
>>> Using maskout function. A maskout grid data of the country is needed to
>>> do it.
>>>
>>>
>>> On Tue, Apr 9, 2013 at 12:29 PM, Kishore Ragi <kishoreragi at gmail.com>wrote:
>>>
>>>> Dear grads users,
>>>>
>>>> Is it possible to take average of a variable within the political
>>>> boundary of a country?
>>>>
>>>> Please let me know if it is possible...
>>>>
>>>> Thank you ...
>>>>
>>>> Regards,
>>>>
>>>> Kishore
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>>
>>> --
>>> *************************************************
>>> Dr. Yaqiang Wang
>>> Chinese Academy of Meteorological Sciences (CAMS)
>>> 46, Zhong-Guan-Cun South Avenue
>>> Beijing, 100081
>>> China
>>>
>>> yaqiang.wang at gmail.com
>>>
>>> http://www.meteothinker.com
>>> **************************************************
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> *************************************************
> Dr. Yaqiang Wang
> Chinese Academy of Meteorological Sciences (CAMS)
> 46, Zhong-Guan-Cun South Avenue
> Beijing, 100081
> China
>
> yaqiang.wang at gmail.com
>
> http://www.meteothinker.com
> **************************************************
>
> _______________________________________________
> 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/20130409/7519243a/attachment-0003.html 


More information about the gradsusr mailing list