Skip to content
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

when I am testing the Advanced Sounding code,there are a bug when skew.shade_cin() #1338

Closed
fangzuliang opened this issue Mar 18, 2020 · 2 comments
Labels
Area: Plots Pertains to producing plots Status: Not A Bug Describes behavior that is working as expected

Comments

@fangzuliang
Copy link

Try to include:

# Your code here
 
  • Problem description: this should explain why the current behavior is a problem and why the expected output is a better solution.
  • Expected output
  • Which platform (Linux, Windows, Mac, etc.)
  • Versions. Include the output of:
    • python --version
    • `python -c 'import metpy; print(metpy.version)'

image

The solution is change skew.shade_cin(p, T, prof, Td) as skew.shade_cin(p, T, prof)

@fangzuliang fangzuliang added the Type: Bug Something is not working like it should label Mar 18, 2020
@dopplershift
Copy link
Member

This isn't so much a bug as it is that the docs currently reflect MetPy 1.0.0rc1, but you're likely running 0.12. MetPy 1.0 adds the ability to optionally include dewpoint in those shading calculations (added in #1139). MetPy 1.0 final release will hopefully be available within the next month and alleviate this confusion.

@dopplershift
Copy link
Member

Thanks for the report!

@dopplershift dopplershift added Area: Plots Pertains to producing plots Status: Not A Bug Describes behavior that is working as expected and removed Type: Bug Something is not working like it should labels Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Plots Pertains to producing plots Status: Not A Bug Describes behavior that is working as expected
Projects
None yet
Development

No branches or pull requests

2 participants