Skip to content

Compatibility with numpy 1.21 #139

@Luca-ggmb

Description

@Luca-ggmb

I have managed to install pyglow with all the .so files appearing in the respective dl_models folders. After installing the python package I have tried to import into a Jupyter notebook and get the following error message:

cannot import name 'iri_sub' from 'iri12py' (/home/s1637615/.local/lib/python3.8/site-packages/iri12py.cpython-38-x86_64-linux-gnu.so)

Is this an issue with installation?

Also, when i executed the python2 setup.py install --user command hundreds of the following warnings came up:

`Warning: Array reference at (1) is out of bounds (68 > 1) in dimension 1
src/pyglow/models/dl_models/hwm93/hwm93_modified.f:715:27:

715 | $ (PB(53)*BT(3,2)+PB(99)*BT(5,2)+PB(68)*BT(7,2))`

Is the best option to reinstall?

Thanks,
Luca

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