[gradsusr] Help Grads

Angelo Teixeira Lemos angelolemos at gmail.com
Fri Apr 9 14:18:19 EDT 2010


Thank you for all the help, but I don't know to do it.
I have all the polygon files into the correct folder. I make all the things
correctely, but only appear the stream lines e coast line, not the continent
and ocean filled.
If anyone has free time, help me.

I just want plot the u (uvel) e v (vvel) wind components with the continent
and ocean filled with any color, e.g., green and blue.

I attached my files.

Thanks.

2010/4/9 Matias Mendez <matias at atmosfera.unam.mx>

> Hi,
>
> Jennifer is right, basemap works with mres map.  I'm sending a script to
> use basemap with M (medium resolution) option for displaying global
> streamlines. You can see result in the graphic.
>
> I hope this helps you.  Good luck.
>
> Best regards,
> Matias
>
>
> Jennifer Adams escribió:
>
>> Basemap.gs should work with 'mres' maps -- if it is not working for you,
>> it is because of your particular installation of the script and the ascii
>> files. Make sure the path to the polygon files in the basemap.gs script
>> is correct. If it still doesn't work, try it interactively and see what the
>> error message is. --Jennifer
>>
>> On Apr 9, 2010, at 12:44 PM, Angelo Teixeira Lemos wrote:
>>
>>  It dont worked.
>>> So, is it impossible fill the continent and ocean like Matias did in
>>> graphics out US and Canada?
>>>
>>> 2010/4/9 Jennifer Adams <jma at cola.iges.org <mailto:jma at cola.iges.org>>
>>>
>>>    The high-res polygons for basemap.gs <http://basemap.gs> do not
>>>
>>>    cover the globe -- just around the US and Canada. Switch to "M"
>>>    instead and it should work. --Jennifer
>>>
>>>
>>>
>>>    On Apr 9, 2010, at 12:31 PM, Angelo Teixeira Lemos wrote:
>>>
>>>     this is exactly what I want, but is not working.
>>>>    I typed:
>>>>
>>>>    > open ll20gfsa2010031500+2010031500.ctl
>>>>    > query file
>>>>    > set gxout stream
>>>>    > d uvel;vvel;mag(uvel,vvel)
>>>>    > cbar.gs <http://cbar.gs>
>>>>
>>>>    > set rgb 20 170 255 170
>>>>    > set rgb 30 170 219 255
>>>>    > basemap L 20 1 H
>>>>    > basemap O 30 1 H
>>>>
>>>>    The result is attached:
>>>>
>>>>    I don't know where is the problem. The files opoly.asc and
>>>>    lpoly.asc are in the same folder.
>>>>
>>>>
>>>>
>>>>    2010/4/9 <matias at atmosfera.unam.mx
>>>>    <mailto:matias at atmosfera.unam.mx>>
>>>>
>>>>        Hi again,
>>>>
>>>>        basemap.gs <http://basemap.gs> can mask out land (L) or
>>>>
>>>>        ocean (O). I'm sending a sample
>>>>        graphic output using this script to mask land and ocean. I used:
>>>>
>>>>        'set rgb 20 170 255 170'
>>>>        'set rgb 30 170 219 255'
>>>>        'basemap L 20 1 H'
>>>>        'basemap O 30 1 H'
>>>>
>>>>        You can only mask out land using option L.
>>>>
>>>>        Regards,
>>>>        Matias
>>>>
>>>>
>>>>
>>>>        Thanks Matias,
>>>>
>>>>        The script basemap.gs <http://basemap.gs> only work with the
>>>>
>>>>        coast line, I guess, changing it
>>>>        color and thickness.
>>>>        I want fill the continent with, e.g., black color.
>>>>        This I don't know to do.
>>>>
>>>>        _______________________________________________
>>>>        gradsusr mailing list
>>>>        gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>>
>>>>        http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>>
>>>>
>>>>    --     +++++++++++++++++++++++++++++++++
>>>>    M.Sc. Angelo Teixeira Lemos
>>>>    Universidade Federal do Espírito Santo
>>>>    Departamento de Oceanografia
>>>>    LabPosseidon - Pesquisa e Simulação Sobre a Dinâmica dos Oceanos
>>>>    Av. Fernando Ferrari, 475 - Campus Goiabeiras - Vitória.
>>>>    +++++++++++++++++++++++++++++++++
>>>>
>>>>    <figure.png>_______________________________________________
>>>>
>>>>    gradsusr mailing list
>>>>    gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>>
>>>>    http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>
>>>    --
>>>    Jennifer M. Adams
>>>    IGES/COLA
>>>    4041 Powder Mill Road, Suite 302
>>>    Calverton, MD 20705
>>>    jma at cola.iges.org <mailto:jma at cola.iges.org>
>>>
>>>
>>>
>>>
>>>    _______________________________________________
>>>    gradsusr mailing list
>>>    gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>
>>>    http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>>
>>>
>>> --
>>> +++++++++++++++++++++++++++++++++
>>> M.Sc. Angelo Teixeira Lemos
>>> Universidade Federal do Espírito Santo
>>> Departamento de Oceanografia
>>> LabPosseidon - Pesquisa e Simulação Sobre a Dinâmica dos Oceanos
>>> Av. Fernando Ferrari, 475 - Campus Goiabeiras - Vitória.
>>> +++++++++++++++++++++++++++++++++
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>>
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>
>> --
>> Jennifer M. Adams
>> IGES/COLA
>> 4041 Powder Mill Road, Suite 302
>> Calverton, MD 20705
>> jma at cola.iges.org <mailto:jma at cola.iges.org>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> 'reinit'
> 'open uwnd.mon.mean.1948-2007.ctl'
> 'open vwnd.mon.mean.1948-2007.ctl'
>
> 'set display color white'
> 'c'
>
> 'set mpdset mres'
> 'set map 1 1 4'
> 'set ylopts 1 4 0.16'
> 'set xlopts 1 4 0.16'
> 'set xlint 30'
> 'set ylint 30'
> 'set grid off'
> 'set grads off'
> 'set cmin 1000'
> 'd uwnd'
>
> 'set rgb 20 170 255 170'
> 'set rgb 30 170 219 255'
> 'basemap.gs L 20 1 M'
> 'basemap.gs O 30 1 M'
> 'set map 1 1 3'
> 'draw map'
> 'set gxout stream'
> 'set ccolor 2'
> 'set cthick 6'
> 'd ave(uwnd.1,t=7,t=720,12);ave(vwnd.2,t=7,t=720,12)'
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
+++++++++++++++++++++++++++++++++
M.Sc. Angelo Teixeira Lemos
Universidade Federal do Espírito Santo
Departamento de Oceanografia
LabPosseidon - Pesquisa e Simulação Sobre a Dinâmica dos Oceanos
Av. Fernando Ferrari, 475 - Campus Goiabeiras - Vitória.
+++++++++++++++++++++++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100409/ffbd14cc/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ll20gfsa2010031500+2010031500.ctl
Type: application/octet-stream
Size: 689 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100409/ffbd14cc/attachment-0009.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ll20gfsa2010031500+2010031500.gmp
Type: application/octet-stream
Size: 1057 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100409/ffbd14cc/attachment-0010.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ll20gfsa2010031500+2010031500.grb
Type: application/octet-stream
Size: 395736 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100409/ffbd14cc/attachment-0011.obj 


More information about the gradsusr mailing list