[ncl-talk] Script producing two png files, I only want one of them?

Srishti Dasarathy srdasara at ucsd.edu
Mon Feb 18 15:15:26 MST 2019


Wrong attachment in the earlier message, apologies. Reattached...

On Mon, Feb 18, 2019 at 2:14 PM Srishti Dasarathy <srdasara at ucsd.edu> wrote:

> Hi Rick,
>
> Thanks for the help. I commented out the frame(wks) in line 239, but now
> the image (attached) is being produced... Any advice?
>
> Thanks,
> Srishti
>
> On Mon, Feb 18, 2019 at 1:29 PM Rick Brownrigg <brownrig at ucar.edu> wrote:
>
>> Hi,
>>
>> It looks like around line 239 of your script, right after generating the
>> first of the two plots that make up the panel plot, there is a call to
>> "frame(wks)" which would cause the first plot to get generated. It
>> subsequently gets drawn again with the second plot in the call to
>> gsn_panel(). Take e pair, there is a call to "frame(wks)" which would cause
>> the first plot to get generated. out the frame() call.
>>
>> HTH...
>> Rick
>>
>> On Mon, Feb 18, 2019 at 2:07 PM Srishti Dasarathy <srdasara at ucsd.edu>
>> wrote:
>>
>>> Dear NCL-talk,
>>>
>>> Hope that this email finds you all well. I've attached a script that
>>> plots the total backscatter coefficient from hdf files, and it works well!
>>> However, it produces two png plots for each hdf file -- one is solely
>>> backscatter, whereas the second is backscatter plus a map of the satellite
>>> track. I only want the second png file, and I'm not sure why two png files
>>> are being produced. Any help would be appreciated, I'm sure this is
>>> something in the script that I am simply overlooking!
>>>
>>> Thank you,
>>> Srishti
>>>
>>> --
>>> Srishti Dasarathy
>>> Graduate Student
>>> Integrative Oceanography Division
>>> Scripps Institution of Oceanography
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>
>
> --
> Srishti Dasarathy
> Graduate Student
> Integrative Oceanography Division
> Scripps Institution of Oceanography
>


-- 
Srishti Dasarathy
Graduate Student
Integrative Oceanography Division
Scripps Institution of Oceanography
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190218/1c4a4ee2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CALIPSO_TBC_532nm.2007-01-31T19-31-15ZD.png
Type: image/png
Size: 134172 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190218/1c4a4ee2/attachment-0001.png>


More information about the ncl-talk mailing list