Skip to content

Directory arrangements cause errors. vel_data not reading #10

@LiChiehLin

Description

@LiChiehLin

When adding strong motion or GNSS data to the inversion based on previous auto model result, an error will show that the program is not reading vel_model data in NP/ directory.
The tutorial worked fine and the directory is as follows:
/home/user/Documents/FF-env/20150916225432/ffm.0/NP1.1
Mine is (2 folders more than the tutorial):
/home/user/Documents/Events/20240403Hualien/Slip_inversion/20240402235811/ffm.0/NP1.1

This error could be fixed by arranging the directories shorter, like this:
/home/user/Documents/Slip_inversion/20240402235811/ffm.0/NP1.1

(When I try adding static GNSS data)
Screenshot from 2024-06-02 15-13-01

I assume the path search is hard-coded in the corresponding python script so this happened. Also, when I try to troubleshoot this, I deliberately make my NP/ folder name ridiculously long and the routine did not print out the exact folder name I fed in. It was truncated to 6 characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions