-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto detect file format, second attempt #222
Conversation
…ed when used with pyclaw@a9c9ae9d8
Also added getframe_list function to return a list of (frameno,t) for all frames found in the outdir
Looks good to me. I really like the listing! |
There is actually a |
* master: (43 commits) Merge and cleanup of geoplot.py cleaned out some old code fix old bug with some plotaxes code not properly indented, removed title() in plotgauge1 and moved xlabel() out of plotgauge1 change plotaxes.time_scale to multiplicative factor, consistent with kml_time_scale add plotaxes.time_label_kwargs parameter improve time axis on gauge plots More updating to formatting to get rid ofextraneous semi-colons, etc Strip ghost cells from binary data in both 2d and 3d Get rid of minor warnings Matlab complains about Check that dimensions agree Fix last warning Fix warnings; pre-allocate amrdata Supply default tol_lower and tol_upper Renderer is lower case 'opengl' Fix warnings in syntax and usage Add binary reader for amrclaw Minor formatting updates Minor formatting updates Fix bug in KML gauge visibility ...
File format is now specified in the So there is no need to try to auto-detect it. |
This requires clawpack/pyclaw#581.
The default
ClawPlotData.format
value is nowNone
, indicating that pyclaw should figure it out for itself.I added a function
ClawPlotData.getframe_time
that is now used inplotpages.py
to only grab the times, in place of the deprecatedOutputController
function.While I was at it, I also added a function
ClawPlotData.getframe_list
that returns a list of all theframenos
found inplotdata.outdir
and the corresponding time, and a function toIplotclaw
so that this can be easily invoked at the interactivePLOTCLAW>
prompt, with output like this:I've been meaning to do this for a long time!