[gradsusr] Help Grads

Matias Mendez matias at atmosfera.unam.mx
Fri Apr 9 13:20:09 EDT 2010


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
>   
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plot_basemap2.gs
Url: http://gradsusr.org/pipermail/gradsusr/attachments/20100409/6b940b36/attachment-0003.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_basemap2.png
Type: image/png
Size: 389381 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20100409/6b940b36/attachment-0003.png 


More information about the gradsusr mailing list