<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Alan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Just an FYI that we have filed a ticket on this, NCL-2458.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 2:35 PM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Everyone loves bug reports on a friday afternoon right?</div><div><br></div><div><div><br></div><div>New workstations influence the size of existing workstations, meaning that vpWidthF = 1, does not correspond to the correct workstation anymore. </div></div><div><br></div><div>example code:</div><div><br></div><div><div><font face="Menlo">wks_type = "png"</font></div><div><font face="Menlo">wks_type@wkWidth = 1000.</font></div><div><font face="Menlo">wks_type@wkHeight =1000.</font></div><div><font face="Menlo">wks = gsn_open_wks(wks_type,"multi_size_test")</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">mpres = True</font></div><div><font face="Menlo">mpres@gsnDraw= False</font></div><div><font face="Menlo">mpres@gsnFrame = False</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">map = gsn_csm_map(wks, mpres)</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">draw(map)</font></div><div><font face="Menlo">frame(wks)</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">;;; create new fake workstation, not attached to existing ones through </font></div><div><font face="Menlo">fake_wks = create "fake" imageWorkstationClass noparent</font></div><div><font face="Menlo">end create</font></div><div><br></div><div><font face="Menlo">draw(map)</font></div><div><font face="Menlo">frame(wks)</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">fake_wks = create "fake" imageWorkstationClass noparent</font></div><div><font face="Menlo">"wkWidth":2000</font></div><div><font face="Menlo">"wkHeight":2000</font></div><div><font face="Menlo">end create</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">draw(map)</font></div><div><font face="Menlo">frame(wks)</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">fake_wks = create "fake" imageWorkstationClass noparent</font></div><div><font face="Menlo">"wkWidth":1000</font></div><div><font face="Menlo">"wkHeight":1000</font></div><div><font face="Menlo">end create</font></div><div><font face="Menlo"><br></font></div><div><font face="Menlo">draw(map)</font></div><div><font face="Menlo">frame(wks)</font></div><div><font face="Menlo"><br></font></div><div><br></div></div><div><div><br></div><div>I’m using create for my fake wks as gsn_open_wks() attaches new workstations to the same app_id or something and thus deleting the fake_wks also breaks the old one. Can’t find the ncl-talk archive now, that solved that dilemma yesterday. </div><div><br></div><div><div>From the attached images, you can see the png remains the same size, but the map inside of the workstation changes. The vpWidthF and vpHeightF will remain constant though. </div><div>For my purposes the workaround is to make sure that any fake workstations I create are the same size as real ones, but it’d be nice if workstations were independent. </div></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Alan. </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><img height="240" width="240" src="cid:13C6102A-416A-41CA-97DD-20D547ED4C36@eas.albany.edu"><img height="240" width="240" src="cid:DB84EA7B-0D6A-403D-95C8-53A5DE4F6524@eas.albany.edu"><img height="240" width="240" src="cid:C44680FD-6BBC-4153-B6AE-D0E70B2F44BA@eas.albany.edu"><img height="240" width="240" src="cid:33D2677D-6A5F-4FBD-BAE9-49CD844069F6@eas.albany.edu"></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>