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

Can not run example script birrp_2in2out_simple.py #28

Open
basaks opened this issue Feb 9, 2016 · 1 comment
Open

Can not run example script birrp_2in2out_simple.py #28

basaks opened this issue Feb 9, 2016 · 1 comment

Comments

@basaks
Copy link

basaks commented Feb 9, 2016

Can any of contributors demonstrate (possibly add a readme?) how to run the examples?
I tried this:

python birrp_2in2out_simple.py birrp/birrp_exec bp02/133 bp02/133

In header = MTfh.read_ts_header(fn) we have this line:
headerlements = ['samplingrate', 't_min', 'nsamples', 'lat', 'lon', 'elev']

None of these strings ['samplingrate', 't_min', 'nsamples', 'lat', 'lon', 'elev'] exist anywhere in the examples folder. So the headers for the data are not found at all, and the python script exits with this error:

No MTpy data files for station BP02/133 found in directory /home/sudipta/Dropbox/GA/mtpy/examples/data/EarthDataLogger/BP02/133 !!

@basaks basaks changed the title Can not run examples script Can not run example script birrp_2in2out_simple.py Feb 9, 2016
@basaks
Copy link
Author

basaks commented Feb 10, 2016

A temporary solution is to use the examples/data/mtd_files/ for now which seems to contain some headers.

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

No branches or pull requests

1 participant