Closed jimurl closed 5 years ago
On weather log form, at bottom, each region: remove precip and wind fields, add precip station ( and wind station ; or one dropdown with different combos ) drop downs; add five more fields: SWE, Snow depth, wind avg, gust, wind dir. these five get auto-populated based on the selection from precip station. See several posts down for details on how this combines with /weather page maps (popups with recent data ).
drop 'northern areas' and 'southern areas' text areas; instead, this data is populated from the 5 precip and wind fields above, for each of the regions; using weather station names + data as entered by forecaster ( not Wx station auto pop ).
'Avalanche activity' field- also drop this. It will be populated from avalanche occurance log, see next post.
Only fields left at the top of this page are 'wind speed' and 'wind dir' ( all regions summary , still entered by forecaster); and Notes.
Aval occurrence log - new node type, avalanche_occurrence, with fields: location, type, trigger, D size, R size, Layers, prob type, C/B/K, etc.... Info from here will populate resources -> accidents -> incidents page.
Also populates 'Avalanche activity' on the Wx and Avalanche Log page. promote 'Date Created' to prominent location and use that for 'date of avalanche' - no need for addition date field here. Multiple nodes of this type per day are allowed; repeat multiple av_occurances on 'Wx and avalanche log', for previous 24 hours ( whoa, gets tricky there, I think ). ( is this how it is dealt with, when forecasters learn about a av occurrence several days later, just update the weather log for that day, right? ).
Perhaps display this ( as a static field ) on the related 'Wx log' page during node creation.
Couple of clarification questions:
1) Can we get rid of the old fields that have to do with the weather log? For example, some of these are from our original system on the old d6 website, those fields were on the advisory node form.
Many of them also are on the Weather log form that you guys filled out last year. Most of those fields won't be used, they'll be hidden, but I'd like to get rid of them altogether, if that's OK.
2) Do you guys want to track temp in the weather log?
We ( you all ) will need to figure out weather stations combos that you will see in all seven dropdowns for 'weather station'. For example 'Brackett + Bridger ridge'. I'm assuming there would be just two weather stations for each option, but there could be more.
IN the dropdown, I append the date/ time of the most recent measurement that we have stored locally on the server. This data is refreshed for a particular station every time someone visits that weather station page . The map with the popups represents the same ( possibly out of date ) data.
FYI, the numbers above are bogus hyperlinks.
placenames becomes a subselect of 'region' - some clientside jquery
two different dropdowns, for precip and wind.
link on form page to the weather map- popup.
use 24 hour difference for precip- will need to be stored in table string.
tabbing on chrome
Avalanche log entry: We may want to reorder things in the dropdowns, but I can figure out later what are 'most frequent' for each field. Fields (optional) that need to be added: Elevation, Aspect, width(?), avg-max crown depth(?)
The first entry I made (in July) shows up on the incidents page, but the incidents box is not checked.
Is there a way to enter a new Location that then gets added to the list?
Can we add a photo(s) with the avalanche incidents that would populate on the photos page? The photo caption could be from the 'notes' or a few of the most relevent fields (or all the fields). Or, link to photos from the photos page by selection, similar to the advisory or other pages that host photos? Maybe a thumbnail would populate in the last column of the incidents log.
Where info from this database is accessed and publicly viewed: First, the weather and avalanche log; the short description gets listed under avalanche activity column for that date in the weather log. Maybe these descriptions are hyperlinked to the full avalanche description/photos. Second, in the incidents log, if incidents is clicked, then the short description and location (maybe photos) are listed. Third, a new page that shows all the avalanche activity log entries, basically in a database style table. Maybe this isn't public to start, but I don't see any reason not. I will want a way to query this data. Even if it is just an easy download to .csv to start (same for the weather data).
...Probably should have the map to click on as well/a field to enter coordinates.
avy incidents node fields: SWAG fields from SWAG include properties 3.6.6.2, 3.6.6.3, 3.6.7.1, and 3.6.7.2
For weather log:
Currently, many SNOTELs are not autopopulating and show old dates... old dates might be a caching issue, but autopopulate still not happening on all.
Column widths: I know you said these are auto, but they look great on the current site and messy on the test site. Is it possible to make them look like the current website? So the SWE/depth values and their station stay on the same line (unless maybe it is a really long station name), and make Avalanche Activity wide and notes narrow. They format cleanly on desktop and phone on the current site, and it looks really good, but on the test site it is messy.
Change'Avalanche Incidents' header to 'Avalanche Activity' in weather log.
Add semi-colon between avalanche events in wx log.
On drop downs in entry, not all station show a date next to them (some of Big Sky's, Flanders, Taylor Fork, Lulu...). Will they eventually?
Wind direction on my last entry(s) (sept 12) didn't show up on all regional pages. I think the ones that I only entered a number on. That might be alright. We just have to enter letters, or letter - number, right?
Will we lose the old weather log when we make the new stuff live? Can we save it, or at least get me a .pdf of last years? It was such a winter to remember...
Avalanche events entry/log:
On weather log entry: Is there a way to have "N/A" for wind speed/direction on the regional pages? Maybe if enter -99 or something, it populates the regional page with N/A for 24 hour wind. Sometimes there just isn't wind data for all regions, like early season.
Yes, you can enter N/A into the wind direction box, and leave the other two blank. On the regional advisory pages, this will just put N/A in the '24 hour wind and snowfall' box.
For the speeds: I tweaked this as well. If you leave them blank, the dash is now not shown. And you can put in only a 'Wind speed' value and skip 'wind gust' if you like. If you enter a wind gust, but no wind speed ( which doesn't make sense ) , then nothing will show up on the regional page.
This project is complete!
Data is displayed on the 'Weather and avalanche log' page; and also the regional conditions pages ( precip & wind history for 3 days ).