Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafesj



User Name Thread Name Subject Posted
Jon Freeman DECLUTTER * Health/Home Ecologic-Innovation *2023 (1376* d) RE: DECLUTTER * Health/Home Ecologic-Innovation *2023 01 Aug 23


SRS, I don’t think I’d be functioning at all in your heat!

Thanks for the idea. It isn’t quite what I was thinking of but it was only a curiosity question from me.

As for my solution I mentioned, it took me a while to write but I thought that if I was to do all the 119 met office files was probably worth it (plus it gave me something to do). After doing a few input files (which took under 1 second each to process), I realised that would land me with with loads of csv files and database tables so. I revised my thinking so I'd just put all the met data into one table. It’s easy enough for me to extract what I want from there. Eg if I wanted all max temp data for UK region from 2000 on, I could use (I wouldn't type it every time I’d save this for reuse and modification or alternatively write it as a stored procedure so I'd just need to supply Dataset and Region names and year):

SELECT `year`, jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, `dec`
FROM Hot JOIN Dataset ON Dataset.DatasetID = Hot.DatasetID JOIN Region ON Region.RegionID = Hot.regionid
WHERE DatasetName = 'Max Temp' AND RegionName = 'UK'
AND `year` >= 2000

Using dbeaver, exporting a csv for a spreadsheet to open is only a couple of clicks away. dbeaver also exports html and I’ve put the output of that query here.

Mid posting, I decided to write a stored procedure so I'd now just need:
CALL selectdata("UK", "Max Temp", 2000, 2023)




Back to the Main Forum Page

By clicking on the User Name, you will requery the forum for that user. You will see everything that he or she has posted with that Mudcat name.

By clicking on the Thread Name, you will be sent to the Forum on that thread as if you selected it from the main Mudcat Forum page.
   * Click on the linked number with * to view the thread split into pages (click "d" for chronologically descending).

By clicking on the Subject, you will also go to the thread as if you selected it from the original Forum page, but also go directly to that particular message.

By clicking on the Date (Posted), you will dig out every message posted that day.

Try it all, you will see.