Giter Site home page Giter Site logo

alistaireverett / pyplume Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 405 KB

A python package for calculating a numerical solution to the plume equations, designed primarily for buoyant plumes of subglacial discharge at ocean-terminating glaciers.

License: GNU General Public License v3.0

Python 100.00%

pyplume's People

Contributors

alistaireverett avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mstiegl soroushr

pyplume's Issues

Running pyplume with different coefficients

Make it easier to run with different values of the coefficients stored in const.py. This could be useful for example to run with different values of the entrainment coefficient. The values can be changed in const.py, but it would be better if this could be done outside changes to the files in the package.

Velocity components should match convention

Currently, velocities throughout the code use the symbol u. However, the majority of velocities are vertical, and therefore convention would require the components to be u, v, w for x, y, z directions respectively.

This should be updated for clarity and to avoid confusion if horizontal velocities are used anywhere in the code in future.

Add different plume equations

For example, allow cylindrical plumes, jenkins-style uniformly distributed plumes etc. This could be done by passing an extra argument to calc_plume() selecting which plume model to use.

Plume dict to class object

Rather than using a dict for plume results, probably better to make a class like for ambient. Maybe see if it also makes sense to build ambient into the same class or keep it separate.

Testing should be expanded

unit_tests are currently a little limited, and there are lots of situations which might not be caught here. Think of some nice tests which could catch some of these. Maybe use the analytical example as a test with a minimum RMSE requirement or similar.

Add simple plotting function

Would be useful to have a simple plotting function which could be used to plot plume results.

Either implement as plume.plot() if plume becomes a class or pyplume.plot(plume) if plume remains a dict.

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.