S
steve
Hello,
I was wondering if any of you could give me some hints and or guide me to
the right direction regarding the design of my database.
It's a relatively descent-sized project (for *my* programming standards...)
both on the size of the data and on the complexity of the queries.
Maybe because it's not a typical "employee db" or "accounting Dpt." where
you usually worry about the size since these are typical textbook examples
and the queries are standard.
(I think, anyways!)
Enough with the preamble, let me try and explain as much as I can.
Well there are 2 major "elements" :
(1) Meteorological data coming from approx. 20 stations, I'll elaborate ...
(2) Extracting data based on several parameters AND/OR doing elementary
statistics on them AND finally being able to save the data in different
formats (ASCII, Excel,...).
FOR (1)
The problem is that a **typical** station collects the following info:
date | time | .........24 columns (1/hr) of measurements for e.g. outside
temperature etc....... |
......
similar for other measurements e.g. wind direction, wind speed,
precipitation, etc. Around 10 different variables.
20 stations X 10 hourly measurements = 200 flat files
ON TOP OF THAT
similar measurements on other variables but on a *daily* basis, i.e. 1 value
for 24 hrs instead of 24. For example maximum daily temperature.
Therefore, let's say
20 stations X 5 daily measurements = 100 flat files
So a TOTAL of approx. 300 flat files containing the above info.
Some additional complexities involve the following:
- Not all stations come from the same body therefore their codes are
different (so we'll have to choose a different key ?)
(Obviously the flat files containing the data are different (different
sources) but i can transform that)
- Not all stations have all the variables (measurements) some have a few
others have only daily ones etc.
.... etc
FOR (2)
The user apart from the typical " give me the wind direction from station A
, B and C between 2000/03/06 till 2003/09/23 WHEN the AVERAGE temperature
exceeded 52 degrees" should also be able to get info like :
" print out the moving-average of wind direction from these stations on the
*summers* (june-july-august) only, for the period 1998-2003 "
etc. etc.
The extraction of data has to be as user friendly as possible within the
time constraints that i have.
Phewww!!!!
So I thought VB + Access. I can't go to SQL server, i have no access to it.
We need a relatively involved interface and I thought Access forms would not
be enough or at least it would be harder for me to hard-code a whole bunch
of conditions on radio buttons, grayed-out boxes, lists, etc. Do you agree
with my choice?
There are A LOT of details that complicate the project and I don't want to
list them here now, hopefully later on.
I need help with the design for now. I am still straggling with what tables
to make and what relationships to give them.
(BTW believe it or not dates are very important. I want to be able to stop
the user from choosing an invalid date e.g 31 June 2003, is this easy to do
, maybe in VB ?)
Any guidance and help would be GREATLY appreciated!
thanx in advance
I was wondering if any of you could give me some hints and or guide me to
the right direction regarding the design of my database.
It's a relatively descent-sized project (for *my* programming standards...)
both on the size of the data and on the complexity of the queries.
Maybe because it's not a typical "employee db" or "accounting Dpt." where
you usually worry about the size since these are typical textbook examples
and the queries are standard.
(I think, anyways!)
Enough with the preamble, let me try and explain as much as I can.
Well there are 2 major "elements" :
(1) Meteorological data coming from approx. 20 stations, I'll elaborate ...
(2) Extracting data based on several parameters AND/OR doing elementary
statistics on them AND finally being able to save the data in different
formats (ASCII, Excel,...).
FOR (1)
The problem is that a **typical** station collects the following info:
date | time | .........24 columns (1/hr) of measurements for e.g. outside
temperature etc....... |
......
similar for other measurements e.g. wind direction, wind speed,
precipitation, etc. Around 10 different variables.
20 stations X 10 hourly measurements = 200 flat files
ON TOP OF THAT
similar measurements on other variables but on a *daily* basis, i.e. 1 value
for 24 hrs instead of 24. For example maximum daily temperature.
Therefore, let's say
20 stations X 5 daily measurements = 100 flat files
So a TOTAL of approx. 300 flat files containing the above info.
Some additional complexities involve the following:
- Not all stations come from the same body therefore their codes are
different (so we'll have to choose a different key ?)
(Obviously the flat files containing the data are different (different
sources) but i can transform that)
- Not all stations have all the variables (measurements) some have a few
others have only daily ones etc.
.... etc
FOR (2)
The user apart from the typical " give me the wind direction from station A
, B and C between 2000/03/06 till 2003/09/23 WHEN the AVERAGE temperature
exceeded 52 degrees" should also be able to get info like :
" print out the moving-average of wind direction from these stations on the
*summers* (june-july-august) only, for the period 1998-2003 "
etc. etc.
The extraction of data has to be as user friendly as possible within the
time constraints that i have.
Phewww!!!!
So I thought VB + Access. I can't go to SQL server, i have no access to it.
We need a relatively involved interface and I thought Access forms would not
be enough or at least it would be harder for me to hard-code a whole bunch
of conditions on radio buttons, grayed-out boxes, lists, etc. Do you agree
with my choice?
There are A LOT of details that complicate the project and I don't want to
list them here now, hopefully later on.
I need help with the design for now. I am still straggling with what tables
to make and what relationships to give them.
(BTW believe it or not dates are very important. I want to be able to stop
the user from choosing an invalid date e.g 31 June 2003, is this easy to do
, maybe in VB ?)
Any guidance and help would be GREATLY appreciated!
thanx in advance