Fwd: [ncl-talk] Fill Value color transparent

From: jbuzan <jrbuzan_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 19 2013 - 11:10:37 MST

failed to send, try again!

Begin forwarded message:

> From: jbuzan <jbuzan@purdue.edu>
> Subject: Re: Fill Value color transparent
> Date: November 19, 2013 1:09:30 PM EST
> To: Mary Haley <haley@ucar.edu>
> Cc: ncl-talk <ncl-talk@ucar.edu>
>
> The images are not true overlays. They are two separate pdf images; I just copy pasting them into my presentation.
> The ones completed in NCL5.1.2 automatically made all _FillValues transparent, where both NCL6.0.0 and 6.1.2 do not. I do not have access to NCL5.1.2 anymore, as the IT services have removed NCL5.1.2.
>
> My script is modularized to accept a variety of input files, which is too much information for NCL-Talk. What I can do is send a version that has just the plotting routines. I have added cnMissingValFillPattern= "Transparent", however, the results were the same with the background/_FillValue being white, not transparent.
>
> -Jonathan
>
>
>
>
>
> On Nov 19, 2013, at 12:00 PM, Mary Haley wrote:
>
>> Hi Jonthan,
>>
>> Without seeing your script, I'm not sure how you are doing the various overlays. By "NCL5" and "NCL6", I assume you mean NCL V5.1.2 and NCLV 6.1.2?
>>
>> You can certainly make the fill value areas transparent, but you have to be using a cnFillMode of "AreaFill" (the default) or "CellFill", b/c in V6.1.2 and earlier, "RasterFill" doesn't support transparency.
>>
>> See example 10 at:
>>
>> http://www.ncl.ucar.edu/Applications/mask.shtml#ex10
>>
>> In the next release of NCL, transparency will be supported with RasterFill.
>>
>> If you want me to look into the issue between NCL 5.x and 6.x, then a script and data would help.
>>
>> http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP
>>
>> Thanks,
>>
>> --Mary
>>
>>
>> On Nov 19, 2013, at 7:17 AM, jbuzan <jbuzan@purdue.edu> wrote:
>>
>>> Hello NCL–Talk,
>>>
>>> I am attempting to make spatial maps with the fill_value being transparent. I think something switched between NCL5 to NCL6, because I have not changed my plotting scripts. The goal is to overlay images close to each other for a presentation, however the white background in the NCL6 plots causes the data to be obscured. Is there a way to turn off the fillvalue/white background?
>>>
>>> Thanks,
>>>
>>> -Jonathan
>>>
>>>
>>> NCL5 plot
>>> <PastedGraphic-1.pdf>
>>> NCL6 plot
>>> <PastedGraphic-2.pdf>
>>> Example overlay obscuring data NCL6 plot.
>>> <Screen Shot 2013-11-19 at 9.15.01 AM.png>
>>> Example overlay not obscuring data, NCL5 plot
>>> <Screen Shot 2013-11-19 at 9.15.39 AM.png>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
Received on Tue Nov 19 11:10:47 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:39:30 MST