Git Product home page Git Product logo

clawpack-4.x's Introduction

PyPI Downloads conda-forge

Please see the documentation for Clawpack at http://www.clawpack.org.

If you are cloning this repository, the following pages may be of particular interest:

clawpack-4.x's People

Contributors

mandli avatar rjleveque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clawpack-4.x's Issues

pcolormesh

Switching from pcolor to pcolormesh doesn't always show gridlines as desired, e.g. in apps/tsunami/chile2010 where lines should only be shown on land.

Perhaps make pcolormesh a separate plot type, or test as is done in the visclaw version.

"io" name collision wth python 2.7.5

Somewhere between python2.7-minimal 2.7.3 (used in the virtual machine) and 2.7.5 (in debian unstable) /usr/lib/python2.7/tempfile.py, which is imported in $CLAW/python/pyclaw/util.py, started importing the python "io" builtin. This causes execution of $CLAW/python/pyclaw/runclaw.py from the unix shell to fail (see output below) as it appears to incorrectly resolve "io" as $CLAW/python/pyclaw/io/init.py.

Two alternative fixes:

  1. move runclaw.py (and any other "executables") out of the pyclaw module directory so that the only way to import pyclaw.io is "import pyclaw.io", thus avoiding the namespace collision.
  2. in runclaw.py (and other "executables") remove $CLAW/python/pyclaw from the path before importing pyclaw.

$ (cd $CLAW/apps/advection/1d/example1;make output)
python /home/kevmitch/projects/clawpack-4.x/python/pyclaw/runclaw.py xclaw _output True False
Traceback (most recent call last):
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/runclaw.py", line 77, in
runclaw(*args)
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/runclaw.py", line 33, in runclaw
from pyclaw.controller import Controller
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/init.py", line 24, in
from pyclaw.controller import Controller
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/controller.py", line 35, in
from solution import Solution
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/solution.py", line 24, in
import io
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/io/init.py", line 12, in
from ascii import read_ascii,write_ascii
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/io/ascii.py", line 22, in
from pyclaw.util import read_data_line
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/util.py", line 27, in
import tempfile
File "/usr/lib/python2.7/tempfile.py", line 32, in
import io as _io
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/io/init.py", line 12, in
from ascii import read_ascii,write_ascii
File "/home/kevmitch/projects/clawpack-4.x/python/pyclaw/io/ascii.py", line 22, in
from pyclaw.util import read_data_line
ImportError: cannot import name read_data_line
make: *** [output] Error 1

setplot.py path check error

I put a note on the commit that Randy did improving the call_seplot commit. Currently the scripts that specified setplot from the command line would often not have the .py extension. The current code breaks this and says (rightfully so) that the module does not exist. We should at the very least add the extension for the file exists check if it is not there.

ipython 0.11 support

We need to change our ipython profile for ipyclaw to adhere to the new ipython version 0.11. This includes probably putting our config files in the user directed IPYTHON_DIR rather than directing it to clawpack's directory as this is non-standard.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.