visclaw icon indicating copy to clipboard operation
visclaw copied to clipboard

Google Earth : KML files should not show up in PlotIndex or animations

Open donnaaboise opened this issue 9 years ago • 3 comments

I looked into how to skip KML files when creating the PlotIndex, latex output or animations, but it wasn't completely obvious where to insert something like

if plotfigure.use_for_kml:
   pass

donnaaboise avatar May 24 '15 13:05 donnaaboise

Maybe temporarily (or always) set the plotfigure.show to False?

mandli avatar May 24 '15 14:05 mandli

I tried this, and the figure is skipped entirely - no PNG files are printed. How the plotfigure.show supposed to work?

donnaaboise avatar May 24 '15 15:05 donnaaboise

That's the correct behavior but maybe that's implemented to far out to be useful for the KML plots. Perhaps adding logic at that point and checking if use_for_kml is True would still trigger making plots but keeps track of which figure numbers are to be used?

mandli avatar May 24 '15 15:05 mandli