[gradsusr] exporting output in shapefile format

Sourabh Shrivastava sourabh.vds at gmail.com
Thu Nov 27 05:57:19 EST 2014


You cannot plot shapefile for Wind Vector using grads. but you can
generate  Contour shapefiles for  for U wind and V winds separately.

On Thu, Nov 27, 2014 at 3:24 PM, Jayakrishnan P.R <prjayakrishnan at gmail.com>
wrote:

> I have not tried it but thinks that set gxout shp may work.*set gxout*
>
> set gxout *graphics_type*
>
> Where *graphics_type* can be one of the following:
>
>    bar        Bar chart (The library
>    <http://iges.org/grads/gadoc/library.html> contains an example script
>    <ftp://cola.gmu.edu/grads/scripts/box_and_whisker.gs> demonstrating
>    how to use gxout bar and errbar)
>    barb       Wind barbs
>    contour    Contour plot
>    shade2b    (2.0.0+) Shaded contour plot, new algorithm, polygons all
>    on sub-grid scale (slower to render)
>    shp        (2.0.a9+) Generates a shapefile; options specified by set
>    shp <http://iges.org/grads/gadoc/gradcomdsetshp.html>
>    stream     Wind streamlines
>    vector     Wind vector arrows
>
>
> Sincerely
> ***********************************************
> Jayakrishnan.P.R
> Project Scientist-C
> National Centre for Medium Range Weather Forecasting
> Earth System Science Organisation
> Ministry of Earth Sciences
> A-50, Sector 62, NOIDA -201 309, INDIA
> Mob: 09496026547
> Alternate Email: jkrishna at ncmrwf.gov.in
>
> ***********************************************
>
> On Thu, Nov 27, 2014 at 2:54 PM, Zaib-un- Nisa <zaib.envsc at gmail.com>
> wrote:
>
>> Hi there,
>> i want to save the output in shape file format, i am sharing the script
>> only, you ll see its wind data i am extracting its area averaged wind speed
>> n direction here.
>>
>> 'sdfopen d:/jra/dec2011/dec2011.nc'
>> 'set display color white'
>> 'c'
>> 'set lat 58 70'
>> 'set lon 24 35'
>> 'set z 7'
>> 'set timelab off'
>> 'set grads off'
>> 'set grid off'
>> 'set mpdset hires'
>> 'set gxout vector'
>> 'set t 72 92'
>> 'define u=ave(ugrd,t=72,t=92)'
>> 'define v=ave(vgrd,t=72,t=92)'
>> 'd u;v'
>>
>> how can i save the output in shapefile format so that i could create
>> beautiful maps in arcmap.
>>
>>
>> _______________________________________________
>> 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
>
>


-- 
SOURABH SHRIVASTAVA
Scientist-C
(BIMSTEC), NCMRWF
Ministry of Earth Sciences
A-50, Institutional Area, Sector-62,
NOIDA, UP, Pin: 201 307
---------------------------------------------------------
Mobile: +919555813179
emails: sourabh at ncmrwf.gov.in;
NCMRWF website: www.ncmrwf.gov.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141127/0031bc0b/attachment-0001.html 


More information about the gradsusr mailing list