Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I need a database and a plan of attack! Post 302600959 by ws6transam on Wednesday 22nd of February 2012 02:05:57 PM
Old 02-22-2012
Directory structure

My directory structure is broken up by CD name and by station name.
I've named the discs with the three or four letter designator of the originating station, followed by a two digit numerical number representing the year or origin, followed by an arbitrary letter N, and then the disc sequence from the collection. So for instance, "SEY06N01" would represent the first disc in the sequence from the year 2006 for station SEY.

The directory structure then looks as follows:
Quote:
~/Seismic_Data_Collection/ /* Only one collection */
~/Seismic_Data_Collection/SEY /* About twenty folders (one per station) at this level */
~/Seismic_Data_Collection/SEY/SEY06N01/ /* About four thousand files at this level, or perhaps one more level of three or four subfolders in case of a station outage. */

~/Seismic_Data_Collection/SEY/SEY06N01/20060110235959.out
/* About four thousand of these files that contain raw seismic data from the originating station*/
There are about twenty station subdirectories within the directory Seismic_Data_Collection, and within each station subdirectory there may be as many as 360 subfolders. That would assume an unbroken ten-year record for that particular station, which is not the case. However a couple of the stations do have a couple-hundred CDs. SEY, for instance, has records from 2001 through 2010. Each CD folder contains only data from that particular station, and each file within each folder are supposed to be identical in length (in terms of bytes) and thus, recording time.

---------- Post updated at 02:05 PM ---------- Previous update was at 01:51 PM ----------

Hey, I think that find command might come to the rescue. I got some ideas - maybe a combination where the find is used to put out the full path, then an ls is used to gather file size & creation date. The database will be necessary when I move to the next phase which is to validate the time synchronization of continuous segments of data found within adjacent files.

I'll keep thinking about it. Thanks for the feedback.

Last edited by ws6transam; 02-22-2012 at 02:57 PM..
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

plan

i want to make a program run when a person types 'finger USERNAME', username being my username. how can i do this? (2 Replies)
Discussion started by: cypher
2 Replies

2. What is on Your Mind?

401 Keg Plan

If you had purchased $1,000 of AIG stock one year ago, you would have about $40.00 left. With Lehman, you have about $6.00 left. With Fannie or Freddie, you would have less than $5.00 left. But, if you had purchased $1,000 worth of beer one year ago, and had drunk all of the beer, then turned... (4 Replies)
Discussion started by: Neo
4 Replies

3. Filesystems, Disks and Memory

an advice regarding backup plan

Hi all i'm looking for good advice regarding backup plan becuase its first time to me handle large scale database expected to grow up 10000 - 20000 record per year with daily operations on it I'm working as sysAdmin in educational organization ( junior level ) with mixed OSes environment... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

4. AIX

Plan to shutdown servers

Hello everyone I need to shutdown all my servers and my storage. I would like to hear your opinions about this. This is my little plan about all this. 1.-Stop the applications 2.-Stop the webservers 3.-Stop the ihs 4.-Stop the databases 5.-Verify no process are running 6.-Close the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

5. What is on Your Mind?

Plan to Buy a New Laptop

It is time for me to buy a new laptop computer and i was searching the net for the last few days looking for one. The results haven't really been satisfying and i thought you might have information i lack - if so, i'd be grateful for sharing it with me and the probably interested audience. What... (22 Replies)
Discussion started by: bakunin
22 Replies

6. UNIX for Beginners Questions & Answers

Cpio Restore didnt go to plan

Hello folks, one of the RAID drives in our SCO system crashed recently and being hot swap it was replaced. Problem was that on boot it stops at: Checking protected password and protected subsystem databases.... First I did #authck -a and checked /etc/auth/system/ttys as per instructions in a... (7 Replies)
Discussion started by: Redstar
7 Replies
STRUCT 
STATION_PARAM(9) Actions and configuration STRUCT STATION_PARAM(9) NAME
struct_station_parameters - station parameters SYNOPSIS
struct station_parameters { const u8 * supported_rates; struct net_device * vlan; u32 sta_flags_mask; u32 sta_flags_set; u32 sta_modify_mask; int listen_interval; u16 aid; u8 supported_rates_len; u8 plink_action; u8 plink_state; const struct ieee80211_ht_cap * ht_capa; const struct ieee80211_vht_cap * vht_capa; u8 uapsd_queues; u8 max_sp; enum nl80211_mesh_power_mode local_pm; u16 capability; const u8 * ext_capab; u8 ext_capab_len; }; MEMBERS
supported_rates supported rates in IEEE 802.11 format (or NULL for no change) vlan vlan interface station should belong to sta_flags_mask station flags that changed (bitmask of BIT(NL80211_STA_FLAG_...)) sta_flags_set station flags values (bitmask of BIT(NL80211_STA_FLAG_...)) sta_modify_mask bitmap indicating which parameters changed (for those that don't have a natural "no change" value), see enum station_parameters_apply_mask listen_interval listen interval or -1 for no change aid AID or zero for no change supported_rates_len number of supported rates plink_action plink action to take plink_state set the peer link state for a station ht_capa HT capabilities of station vht_capa VHT capabilities of station uapsd_queues bitmap of queues configured for uapsd. same format as the AC bitmap in the QoS info field max_sp max Service Period. same format as the MAX_SP in the QoS info field (but already shifted down) local_pm local link-specific mesh power save mode (no change when set to unknown) capability station capability ext_capab extended capabilities of the station ext_capab_len number of extended capabilities DESCRIPTION
Used to change and create a new station. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT STATION_PARAM(9)
All times are GMT -4. The time now is 07:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy