Comments (9)
Currently working on this interactivity.
Something to think about is how we store the SARS data. Right now, I am just going to push all of the sounding files into a folder structure and do it that way. However, we may want to consider something like an NPZ file with a dictionary as a better way of storing this sort of database data. I'm open to suggestions.
from sharppy.
Alright!
Rudimentary SARS interactivity has been implemented! You should be able to click on a supercell/hail analogue, and it will display it with the current profile. Currently, there is no combined display for the wind barbs/hodograph yet, but that should be relatively easy to fix in the near future (i.e. sometime this week).
Another feature to be added is swapping out profiles between the foreground and background.
Currently, there are only two bugs that I know of, and they are not directly related to code that I added. If a selected profile does not display, the terminal prompt has given 2 different reasons. One, the io qc tools don't like the data and say it's malformed. Since these are SPC files, I doubt they are malformed, and this should be checked. The other time it breaks is when it can't read a certain file properly, and I have not investigated why just yet, but these tend to be files with pre-2000 dates.
from sharppy.
@wblumberg had suggested a more contrasting color, which I agree with, so I've made a demo of what it would look like if we used the purple color SPC uses when displaying two profiles at once. I'd say this is a lot better. The challenge is that this is using the same framework as the SREF drawing, and SREF probably shouldn't be purple too. Some re-writing and structuring of the SkewT widget will be needed to properly handle this.
from sharppy.
from sharppy.
Here's a list of similar colors to the ones used in SHARP:
#6666CC (visually looks the most similar)
#666699
#333366
from sharppy.
Using #6666CC...
(side note: that was one heck of a good analogue there...)
from sharppy.
Haha. Nice! I think that color is my favorite of them all. It pops out, but not too much.
Edit: Stupid Flux was making the first color seem grey. Now I'm not so sure.
from sharppy.
I like this one the most too.
All that's left until this can be closed:
- Hodograph
- Prevent it from disappearing when switching out parcels
- Keep making sure it doesn't crash
Once that's done, I will close this thread.
Things to work on in future:
Profile "swapping"
IO problems regarding SARS files
from sharppy.
Closing this sucker.
from sharppy.
Related Issues (20)
- Error could not figure out format custom sounding HOT 2
- [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
- [BUG] QTFont Error results in crashed SHARPpy GUI HOT 4
- 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
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.