clawpack / visclaw

Clawpack visualization tools
http://www.clawpack.org
BSD 3-Clause "New" or "Revised" License
29 stars 48 forks source link

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

Open donnaaboise opened 9 years ago

donnaaboise commented 9 years ago

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
mandli commented 9 years ago

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

donnaaboise commented 9 years ago

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

mandli commented 9 years ago

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?