Retrieves SAC files from station & date info.
This function returns a vector of SAC file names given information of the SAC file. The input format relies on the PASSCAL/IRIS file format, which is of the form:
STACODE.*.*.CHAN.YYYY.*JJJ.*SAC
The file names must include a 3-space Julian day and year in the file name, as well as a year.
USAGE
[Seis] = getSacFiles('STATION','CHAN',date1,date2);
[Seis] = getSacFiles('SAC','CHAN',date1,date2);
[Seis] = getSacFiles('SAC','SAC',date1,date2);
[Seis] = getSacFiles('STATION','CHAN',hour1,hour2,day,year);
[Seis] = getSacFiles('STATION','SAC',hour1,hour2,day,year);
[Seis] = getSacFiles('SAC','SAC',hour1,hour2,day,year);
Cite As
Joshua Carmichael (2024). Retrieves SAC files from station & date info. (https://www.mathworks.com/matlabcentral/fileexchange/25829-retrieves-sac-files-from-station-date-info), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Earth, Ocean, and Atmospheric Sciences > Geology >
- Sciences > Earth, Ocean, and Atmospheric Sciences > Seismology >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |