Hello! I have been trying to automate a stoplight chart decision matrix for our weather analysis that is provided to assist in the launch of rockets into the upper atmosphere/space. The weather company uses radiosondes attached to weather balloons to fly real high and return atmospheric conditions in the form of large files. See below for refined snippet of this file (it is just a snippet, the real file ingested is over 6-20k rows with many more columns). I'm trying to save time for our meteorological team by automating a few things we are currently hand-jamming. The less time we spend trying to scroll through all this data and understand it, the more time we can spend observing and mitigating the impacts to launch operations. There are two separate issues that I look to solve.
1.) We have a rule here for what we call "thick cloud" rule - in short it helps us prevent against a phenomena called triggered lightning, which could strike the craft at launch. All of the lore aside, What I would like this document to do is return a range of values. This range would ideally be returned in Geopotential height (E), but It would look at RH (D). The criteria for this thick cloud is any chunk of moisture/cloud that is over %80 Relative humidity, and in a layer thicker than 4,500ft - but between or extending beyond -0°C and -20°C. Ideally, the formula would look for areas of RH (D) greater than 80%, and see if they lie at all within -0°C and -20°C, and if they do, return the tops and the bottoms in Geopotential height (E). lets say for simplicity sake there was 90% RH between 100ft and 5,000ft and some of this or all of it lied between -0°C and -20°C. The formula or script would see all of this and return something as simple as "4,900". This is a rather complex issue for me that I have struggled to find a solution to. I was guessing it would have something to do with embedded lookups, or maybe a VBA function but I don't know where to start as my knowledge of complex functions is limited.
2.) The second is what I would think would have a much simpler solution. I would just need this second formula or script to lookup any values above 80% RH (D) and return the top and bottom of that range in Geopotential Height to try to understand how thick clouds cloud be. So If 80% RH started at 3,000ft in Geopotential height, and went all the way to 4,800 feet, where it would then go back below 80% RH, I would want this formula to report in a cell "3000 - 4800". I'm familiar with index and match, but I can't seem to get them to find an array of numbers. Another side issue with this is, sometimes in the atmosphere the RH wavers between 79-80 for a few feet, sometimes only 100 ft thick.. Is there any way to basically have the formula a bit "smarter" in this regard? could we have it just overlook that small gap of when the RH would go below 79 for maybe a set value of lets just say 100ft? In an attempts to clarify, lets say we had 80%RH from 3000 - 4800 Geopotential height again, but this time it dipped below 80% RH to 78RH for 90ft, and then came back up to over 80% at 4890ft all the way to 5,500ft. Would there be a way to just have it omit that small chunk of lower RH and return "3000 - 5500"?
Thank you for your time, and in advance for any help that could be provided towards this.
Data.PNG
Bookmarks