Skip to content

No module named h5parm #2

@mooneyse

Description

@mooneyse

When loop3B.py imports loop3_serviceB.py, I get

File "/data020/scratch/sean/lofar-lb/loop3_serviceB.py", line 6, in <module>
import numpy as np,os,sys,glob,time,h5parm,scipy,pickle
ImportError: No module named h5parm```

from line 6 in the service script:
https://github.com/nealjackson/lofar-lb/blob/449b1cf1f92da84db2e79977c8181bfdc9d78b50/loop3_serviceB.py#L6

So I had to remove the h5parm and import it from Losoto:

import losoto.h5parm as h5parm

Is this right or is the h5parm import some other script?

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