Results 1 to 7 of 7
  1. #1
    RainMan is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Aug 2017
    Posts
    3

    Help with Weather Station Data

    Hi, I'm hoping I can find some help on here. I don't really know much about Access, queries, etc. I've been tasked with managing several personal weather stations in my area for my job. Every month I go out and download the data from each weather station to my laptop.



    The data from the weather station software exports as a .txt file, which I import into excel. Then I make some adjustments to the spreadsheet and upload it into an Access Database.

    If you look at the picture below, noting the date and time, the weather station takes a reading every 15 minutes. My data goes back to almost two years ago.

    The station records a ton of different weather variables - what is shown in my picture below is about 1/4 of the entire spreadsheet. Is there a way to quickly compile the data taken every 15 minutes into a daily total? daily average? etc.? Keyword = quickly!

    I would like to be able to produce tables and graphs that can show daily, weekly, monthly, and annual totals and/or averages. Would it be easier to accomplish these things in Excel?

    Any help is appreciated!
    -Dan

    Click image for larger version. 

Name:	datacapture.JPG 
Views:	14 
Size:	156.4 KB 
ID:	30126

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    This is the perfect setup for Access - the only problem is that Access has a 2gb limit and with your amount of data that will be used up quickly. You can use SQL Server which would be the best way to go, or else create different Access back-ends to store the data, maybe separated by year.

    You would have a few tables, e.g. weather stations, departments, and readings. Then a simple macro or VBA function to import the textfile and add the data to a table(s). Then you would have a number of queries to display the data in any format you desire - yes, at the click of a button! This can be easily done once the decisions have been made, and we can help along the way.

  3. #3
    RainMan is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Aug 2017
    Posts
    3
    I appreciate the reply! I may be wrong, but I might be at the step where I'm ready to create queries to display the data that I want. Each weather station has its own Table which displays all of the variables it collects.

    Can you walk me through the basic steps for something simple, like finding total daily rainfall amounts for the month of January for an individual weather station? Once I figure out how to use queries, I think I can play around with it enough to figure it out - I've never used Access for anything other than importing data to an existing database.


  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    First you must make decisions and create the database structure, before jumping in to displaying the data. What tables are you going to have, what will they look like, what will they contain? You can make this an actual Access database or you can make it a glorified Excel spreadsheet.

    There are lots of youtube videos and other links where you can learn how to do queries. Come back here with specific questions.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    What exactly do you do with the data? Who else uses it?

    Could you please provide a little more detail re the following:

    managing several personal weather stations in my area for my job
    How many? Locations? Job type??
    Need for historical data?
    Every 15 minutes seems quite frequent -- there must be some rationale for that.

    Since you seem to be new to database and Access, I recommend you review some youtube videos regarding Intro to Database and Intro to Access, and work through some tutorials.
    Here is a link that may be helpful. It is a longer thread --- a dialog where the OP was trying to design a database using trial and error.

    Good luck with your project.
    Last edited by orange; 08-29-2017 at 03:34 PM. Reason: missing words??

  6. #6
    RainMan is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Aug 2017
    Posts
    3
    I work for the Stormwater Regulatory Dept for my local County Govt. We use the data to monitor rainfall throughout the county, which in turn helps us focus our efforts for drainage issues and doing inspections of commercial and residential job sites. We use it but we don't rely on it. This database is more for being able to go back and look at rain events, generate monthly rainfall reports, etc. We currently have 5 stations that I download data from.

    The database and tables already exist. There are several tables - each one is dedicated to an individual weather station and all the data that I download out in the field. I bring it back to the office and append the data to its respective table.

    If you go back to my OP, the picture shows an example of one of my tables. I want to be able to go back to a particular weather station, choose a specific month, and be able to produce information from it. Lets say, specifically, I want to be able to look at the daily rainfall amounts for the month of April at the Gotham City weather station. Since it records data every 15 minutes, how do I tell Access to look at all of the rainfall data collected throughout that day and give me a sum? How would I tell Access to give me a sum for each individual day for a particular month? How would I ask it to give me monthly totals? etc. At this point, I'm not concerned with creating relationships between the different tables (different weather stations). I'd like to figure out how to manipulate the data on just one individual table for now.

    I watched some youtube videos. The things that get me jammed up when I was trying to create queries were the 15 minute intervals in the data and also the "Date/Time" column - date and time are not seperated.

    Click image for larger version. 

Name:	Davis.png 
Views:	10 
Size:	58.0 KB 
ID:	30148

  7. #7
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,740
    Could you upload a db with one of your tables with a couple of months' worth of data here?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Gas Station Inventory Database
    By wolfgoesusa in forum Database Design
    Replies: 4
    Last Post: 05-11-2017, 01:15 PM
  2. Weather API
    By Burnrose in forum Programming
    Replies: 10
    Last Post: 01-11-2015, 10:32 PM
  3. Weather Database Ideas
    By bigroo in forum Database Design
    Replies: 4
    Last Post: 01-19-2012, 09:43 AM
  4. Weather Information
    By chadshowalter in forum Import/Export Data
    Replies: 0
    Last Post: 02-23-2011, 03:40 PM
  5. Weather by Zip Code
    By graviz in forum Programming
    Replies: 0
    Last Post: 10-26-2009, 01:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums