Code Monkey home page Code Monkey logo

tephi's People

Contributors

bjlittle avatar dependabot[bot] avatar dpeterk avatar esadek-mo avatar esc24 avatar jamesp avatar lbdreyer avatar pelson avatar pre-commit-ci[bot] avatar qulogic avatar rhattersley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tephi's Issues

No module named isopleths

Installing tephi is successful . However, when I use it in a module it gives me an error . No module named isopleths . When I try to install isopleths using pip it gives me an error "No matching distribution found for isopleths".

Anchor is defined in the wrong order

The Tephigram class docstring states that the anchor should be defined in [(bottom-left-pressure, bottom-left-temp), (top-right-pressure, top-right-temp)]:

tephi/tephi/__init__.py

Lines 600 to 604 in 1a3e4b8

* anchor:
A sequence of two pressure, temperature pairs specifying the extent
of the tephigram plot in terms of the bottom left hand corner and
the top right hand corner. Pressure data points must be in units of
mb or hPa, and temperature data points must be in units of degC.

tephi/tephi/__init__.py

Lines 807 to 809 in 1a3e4b8

"Invalid anchor, expecting [(bottom-left-pressure, "
"bottom-left-temperature), (top-right-pressure, "
"top-right-temperature)]"

But actually the values are used to specify the bottom-right and top-left corners:

image

legend zorder

Tephigram profile lines currently plot over the legend, require to fix the zorder here.

Also, give fuller controls to the user, as they cannot customise the legend in any way.

Minimum wet adiabats

tephi is not honouring the minimum temperature for plotting wet adiabats - this is a problem for users wanting to plot wet adiabats <0.

This is most likely the case for isobars too i.e. for honouring the minimum pressure.

module 'tephi' has no attribute 'Tephigram'`

With this line of code I get

tpg = tephi.Tephigram()

Traceback (most recent call last): File "tephi.py", line 9, in <module> import tephi File "/home/winash12/soundings/tephi.py", line 28, in <module> tpg = tephi.Tephigram() AttributeError: module 'tephi' has no attribute 'Tephigram'

move from unittest to pytest

The testing infrastructure already uses unittest under pytest.

Drop the use of unittest and fully migrate the testing framework to pytest

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.