Comments (4)
I am also experiencing this same issue with a fresh install in a new conda environment. Also running Windows 11, and I'm also getting the error message about updating the v1.4.0 although I have already installed that version. Can't open any soundings from any source and it immediately crashes the program. Thought I was going crazy!
from sharppy.
Hi Ian and Joey, sorry about the issues! Looks like you aren't the only ones, something in Qt isn't behaving nicely with bold fonts. The good news, is that it's an easy fix. The bad news, is that for right now, it requires a manual fix.
If you go to line 277 of sharppy/viz/winter.py
, you should see this:
def drawPrecipType(self, qp):
big = QtGui.QFont('Helvetica', round(self.hgt * self.font_ratio) + 5, bold=True)
Remove the bold=True
argument such that it looks like this:
def drawPrecipType(self, qp):
big = QtGui.QFont('Helvetica', round(self.hgt * self.font_ratio) + 5)
Not exactly elegant until we can push the fix to the master branch, but it should work. In your case Ian, the file is located at C:\Users\IanCornejo\anaconda3\envs\sharppy\viz\winter.py
from sharppy.
Yeah, agreed, this fixed the issue when I reproduced the error in a Windows 11 WM. I'm working on pushing the changes. In the meantime you can use Kelton's fix. You can also turn off the 'newer version of SHARPpy is available.' by commenting out ln 1208-1219 in python setup.py install in runsharp/full_gui.py.
from sharppy.
Thank you both. Adding onto Kelton's response and for future viewers of this thread, you also need to remove "bold = False" in line 288 of winter.py.
From:
small = QtGui.QFont('Helvetica', round(self.hgt * self.font_ratio) -1 , bold = False)
To:
small = QtGui.QFont('Helvetica', round(self.hgt * self.font_ratio) -1)
I'm not sure if this is a related bug or if I should open up a new thread, but when I open up a skew-T on the GUI via anaconda prompt, it's really low resolution making it hard to read some of the text. When I open it on my Ubuntu WSL, it's high resolution but the font is blown up. Not sure if it's due to the configuration of my computer for the anaconda prompt method, the configuration of my VcXsrv when I use my ubuntu WSL, or something within SHARPpy. Here are the same soundings but through different methods.
Let me know if I should start a new thread for this issue. I appreciate all the help.
from sharppy.
Related Issues (20)
- [FEATURE] ACARS Soundings
- [BUG] name 'PYQT6' is not defined HOT 13
- Hodograph Issue HOT 1
- [BUG] app wont even run it either gives me a failed to execute warning or it prompts me a update message and crashed
- Convective Profile = NoneType HOT 3
- [BUG] Documentation issue - Interpreting GUI HOT 3
- CAPE Method Calculation Error
- upa files from weather.cod.edu/digatmos/upa/ HOT 4
- [BUG] SHARPpy Unable to Display Soundings on Ubuntu 18.04 - Crash in _getOutletWithProfile HOT 3
- [BUG] When selecting sounding source, GUI crashes, returning "QThread: Destroyed while thread is still running"
- [BUG]
- Errors in the Large Hail Parameter (LHP) calculation
- [BUG] mixed-layer parcel in parcelx and DefineParcel
- Question about mixed-layer parcel properties
- Hawaii Observed Soundings Missing HOT 4
- boolean index did not match indexed array HOT 6
- [BUG] SHARPpy plot crashes HOT 5
- [BUG] pip install fails on recent versions of Python HOT 3
- [BUG] Cannot Generate Profiles HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharppy.