Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove/replace loadsac? #15

Open
gthompson opened this issue Oct 22, 2015 · 3 comments
Open

Remove/replace loadsac? #15

gthompson opened this issue Oct 22, 2015 · 3 comments

Comments

@gthompson
Copy link
Member

From @GoogleCodeExporter on August 1, 2015 21:51

I propose that waveform/loadsac be either removed or reworked. It is legacy. 
loadsac bypasses scnlobjects and datasouces and does not fails inelegantly (for 
example if the desired file does not exist.) Both options are trivial, but 
deserves wider consideration. Loading SAC files is causing confusion in the 
community.

OPTION 1
Officially deprecate loadsac. Push users toward datasource/scnlobject approach. 
For dumb file loading suggest contrib/sac_file_tools/loadsacfile.m

OPTION 2
Bring contrib/sac_file_tools/loadsacfile.m inside @waveform and rename it to 
replace existing loadsac.

Thoughts? 

Original issue reported on code.google.com by [email protected] on 17 Feb 2011 at 5:00

Copied from original issue: giseislab/gismotools#23

@gthompson
Copy link
Member Author

From @GoogleCodeExporter on August 1, 2015 21:51

Original comment by [email protected] on 17 Feb 2011 at 5:00

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@gthompson
Copy link
Member Author

@gthompson
Copy link
Member Author

From @CelsoReyes on August 15, 2015 19:57

Huh. somehow I missed contributed sac. I whipped up a solution into its
own project (for the moment)
On Aug 14, 2015 15:24, "Glenn Thompson" [email protected] wrote:

There are so many options for loading SAC files, e.g.:

@waveform/private/load_sac.m
contributed/sac_file_tools/+sac/load.m

http://uk.mathworks.com/matlabcentral/fileexchange/46356-rdsac--read-a-sac-seismic-data-file

http://uk.mathworks.com/matlabcentral/fileexchange/5546-sacsun2mat-sacpc2mat
http://geophysics.eas.gatech.edu/people/zpeng/Teaching/MatSAC.tar.gz
http://web.utah.edu/thorne/software.html
...

Which is the best choice to wrap into @waveform
https://github.com/waveform?


Reply to this email directly or view it on GitHub
https://github.com/giseislab/gismotools/issues/23#issuecomment-131105038
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant