Skip to content

Can not run example script birrp_2in2out_simple.py #28

@basaks

Description

@basaks

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 !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions