Re: making a plot with only the label bar for Google Earth

From: Ryan Pavlick <ryan.pavlick_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 24 2012 - 04:13:51 MDT

rK,

Glad that you like it.

I haven't tried it yet but NCL 6.10-beta has a new color model,

http://ncl.ucar.edu/Applications/rgbacolor.shtml

which includes an alpha channel for transparency. I would try setting the
alpha channel to 0 in resource mpFillColors. Maybe one of the NCL
developers at NCAR has a better idea.

If you can get NCL to produce the figure as you want it, I'll do whatever
modifications are necessary (if any) to kml.ncl to get it working in GE.

Cheers,
Ryan

On Mon, Sep 24, 2012 at 11:46 AM, rK Aditya <aditya.rk@gmail.com> wrote:

> Thank Ryan! Very nice work and I have tried it.
>
> Taking example from the ROMS output, I made KML figure based on your
> libraries. But I am wondering how to make land mask becoming transparent so
> that it can show continents figure from GE. (I attached KMZ file).
>
> In Grads we can use "set display color white" to make background to
> transparent so we can get PNG file with transparent background and nicely
> attached in GE. But I don't know how to set it in NCL. I tried several
> resources "cn" and "mp" but I could not find the solutions.
>
> If anyone knows?
>
> Cheers,
> -r/K-
>
>
>
>
>
>
>
> On Mon, Sep 24, 2012 at 5:03 AM, Dennis Shea <shea@ucar.edu> wrote:
>
>> Very nice! Please keep ncl-talk@ucar.edu updated as you proress.
>> D
>>
>> On 9/23/12 5:00 AM, Ryan Pavlick wrote:
>> > Emanuele,
>> >
>> > You may be interested in a library that I'm developing for working with
>> > KML files in NCL.
>> >
>> > http://rpavlick.github.com/kmlncl
>> >
>> > Regarding cropping the label bar and map, have a look at this example
>> > script:
>> >
>> > http://rpavlick.github.com/kmlncl/examples/#ex_05
>> >
>> > Cheers,
>> > Ryan
>> >
>> > On Wed, Sep 12, 2012 at 5:29 PM, Emanuele Lombardi
>> > <emanuele.lombardi@enea.it <mailto:emanuele.lombardi@enea.it>> wrote:
>> >
>> >
>> > Dear NCL-ers,
>> >
>> > I'm asking for your help since I want to place my NCL plots on
>> Google
>> > Earth and then I need two images: one with the only the contoured
>> data
>> > on the map and one the with only its labelbar.
>> > While I've been able to produce the first image in a worstation, I'm
>> > not able to plot in another workstation only the labelbar of the
>> > previously plotted map.
>> >
>> > Can you, please, help me ?
>> >
>> > Thanks from Italy,
>> > Emanuele Lombardi
>> >
>> >
>> > _______________________________________________
>> > ncl-talk mailing list
>> > List instructions, subscriber options, unsubscribe:
>> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> >
>> >
>> >
>> >
>> > --
>> > ------------------------------------------
>> > Dr. Ryan Pavlick
>> > Biospheric Theory and Modelling Group
>> > Max Planck Institute for Biogeochemistry
>> >
>> > phone: +49.36.41.57.6223
>> > web: http://gaia.mpg.de <http://gaia.mpg.de/>
>> > ------------------------------------------
>> >
>> >
>> > _______________________________________________
>> > ncl-talk mailing list
>> > List instructions, subscriber options, unsubscribe:
>> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> >
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>

-- 
------------------------------------------
Dr. Ryan Pavlick
Biospheric Theory and Modelling Group
Max Planck Institute for Biogeochemistry
phone: +49.36.41.57.6223
web: http://gaia.mpg.de
------------------------------------------

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 24 04:14:41 2012

This archive was generated by hypermail 2.1.8 : Wed Sep 26 2012 - 13:56:04 MDT