Skip to content

Error in use of "Raw" boxes in tutorials #20

@pavlis

Description

@pavlis

I discovered that I (@pavlis ) had a misunderstanding on the purpose of a "Raw" box selection in jupyter notebooks. When run under jupyter lab/notebook servers Raw boxes are ignored and more-or-less treated as being commented out. The issue here is that if notebook file is converted to a python script with this kind of command:

jupyter nbconvert --to script notebook.ipynb

boxes marked "Raw" are converted directly. That means any notebooks in this tutorial with raw boxes (there are some in the Earthscope short course directories for example and probably others) will behave differently if converted to a script and run in batch on HPC. This issue won't bite anyone unless you use use these notebooks as template and try to run them on an HPC system in the batch mode using the mspass_launcher or with variations of the hpc shell scripts found in the mspass repository and the "--batch" option.

I will try to resolve this issue as soon as possible, but that could be weeks as this isn't a high priority.

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