Git Product home page Git Product logo

Comments (9)

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

sars

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

@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.
sars_purple

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

Another purple...
sars_purple2

from sharppy.

wblumberg avatar wblumberg commented on July 19, 2024

Here's a list of similar colors to the ones used in SHARP:

#6666CC (visually looks the most similar)
#666699
#333366

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

Using #6666CC...

(side note: that was one heck of a good analogue there...)
sars_purple3

from sharppy.

wblumberg avatar wblumberg commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

I like this one the most too.

All that's left until this can be closed:

  1. Hodograph
  2. Prevent it from disappearing when switching out parcels
  3. 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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

Closing this sucker.

from sharppy.

Related Issues (20)

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.