Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Not found in axis in create_fim_lib step #200

Open
ar-siddiqui opened this issue Sep 20, 2024 · 0 comments
Open

Error: Not found in axis in create_fim_lib step #200

ar-siddiqui opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working step: create_fim_lib

Comments

@ar-siddiqui
Copy link
Collaborator

id err tb
561003 "['f_105000-z_1253_0', 'f_105000-z_1254_0', 'f_105000-z_1255_0', 'f_105000-z_1256_0'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_105000-z_1253_0', 'f_105000-z_1254_0', 'f_105000-z_1255_0', 'f_105000-z_1256_0'] not found in axis"
563187 "['f_108949-z_1210_5', 'f_108949-z_1211_5', 'f_114000-z_1211_5', 'f_108949-z_1212_5', 'f_114000-z_1212_5', 'f_108949-z_1213_5', 'f_114000-z_1213_5', 'f_108949-z_1214_5', 'f_114000-z_1214_5'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_108949-z_1210_5', 'f_108949-z_1211_5', 'f_114000-z_1211_5', 'f_108949-z_1212_5', 'f_114000-z_1212_5', 'f_108949-z_1213_5', 'f_114000-z_1213_5', 'f_108949-z_1214_5', 'f_114000-z_1214_5'] not found in axis"
563217 "['f_116000-z_1197_5', 'f_116000-z_1198_5'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_116000-z_1197_5', 'f_116000-z_1198_5'] not found in axis"
564465 "['f_102603-z_1247_0', 'f_102603-z_1248_0', 'f_105000-z_1248_0', 'f_102603-z_1249_0', 'f_105000-z_1249_0'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_102603-z_1247_0', 'f_102603-z_1248_0', 'f_105000-z_1248_0', 'f_102603-z_1249_0', 'f_105000-z_1249_0'] not found in axis"
13757087 "['f_144673-z_1556_0', 'f_144673-z_1557_0', 'f_168525-z_1557_0', 'f_144673-z_1558_0', 'f_168525-z_1558_0', 'f_144673-z_1559_0', 'f_168525-z_1559_0', 'f_216229-z_1559_0', 'f_221000-z_1559_0', 'f_144673-z_1560_0', 'f_168525-z_1560_0', 'f_216229-z_1560_0', 'f_221000-z_1560_0', 'f_144673-z_1561_0', 'f_168525-z_1561_0', 'f_216229-z_1561_0', 'f_221000-z_1561_0', 'f_144673-z_1562_0', 'f_168525-z_1562_0', 'f_216229-z_1562_0', 'f_221000-z_1562_0', 'f_144673-z_1563_0', 'f_168525-z_1563_0', 'f_216229-z_1563_0', 'f_221000-z_1563_0', 'f_144673-z_1564_0', 'f_168525-z_1564_0', 'f_216229-z_1564_0', 'f_221000-z_1564_0', 'f_144673-z_1565_0', 'f_168525-z_1565_0', 'f_216229-z_1565_0', 'f_221000-z_1565_0', 'f_144673-z_1566_0', 'f_168525-z_1566_0', 'f_216229-z_1566_0', 'f_221000-z_1566_0', 'f_144673-z_1567_0', 'f_168525-z_1567_0', 'f_216229-z_1567_0', 'f_221000-z_1567_0', 'f_144673-z_1568_0', 'f_168525-z_1568_0', 'f_216229-z_1568_0', 'f_221000-z_1568_0', 'f_144673-z_1569_0', 'f_168525-z_1569_0', 'f_216229-z_1569_0', 'f_221000-z_1569_0', 'f_144673-z_1570_0', 'f_168525-z_1570_0', 'f_216229-z_1570_0', 'f_221000-z_1570_0', 'f_144673-z_1571_0', 'f_168525-z_1571_0', 'f_216229-z_1571_0', 'f_221000-z_1571_0', 'f_144673-z_1572_0', 'f_168525-z_1572_0', 'f_216229-z_1572_0', 'f_221000-z_1572_0'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_144673-z_1556_0', 'f_144673-z_1557_0', 'f_168525-z_1557_0', 'f_144673-z_1558_0', 'f_168525-z_1558_0', 'f_144673-z_1559_0', 'f_168525-z_1559_0', 'f_216229-z_1559_0', 'f_221000-z_1559_0', 'f_144673-z_1560_0', 'f_168525-z_1560_0', 'f_216229-z_1560_0', 'f_221000-z_1560_0', 'f_144673-z_1561_0', 'f_168525-z_1561_0', 'f_216229-z_1561_0', 'f_221000-z_1561_0', 'f_144673-z_1562_0', 'f_168525-z_1562_0', 'f_216229-z_1562_0', 'f_221000-z_1562_0', 'f_144673-z_1563_0', 'f_168525-z_1563_0', 'f_216229-z_1563_0', 'f_221000-z_1563_0', 'f_144673-z_1564_0', 'f_168525-z_1564_0', 'f_216229-z_1564_0', 'f_221000-z_1564_0', 'f_144673-z_1565_0', 'f_168525-z_1565_0', 'f_216229-z_1565_0', 'f_221000-z_1565_0', 'f_144673-z_1566_0', 'f_168525-z_1566_0', 'f_216229-z_1566_0', 'f_221000-z_1566_0', 'f_144673-z_1567_0', 'f_168525-z_1567_0', 'f_216229-z_1567_0', 'f_221000-z_1567_0', 'f_144673-z_1568_0', 'f_168525-z_1568_0', 'f_216229-z_1568_0', 'f_221000-z_1568_0', 'f_144673-z_1569_0', 'f_168525-z_1569_0', 'f_216229-z_1569_0', 'f_221000-z_1569_0', 'f_144673-z_1570_0', 'f_168525-z_1570_0', 'f_216229-z_1570_0', 'f_221000-z_1570_0', 'f_144673-z_1571_0', 'f_168525-z_1571_0', 'f_216229-z_1571_0', 'f_221000-z_1571_0', 'f_144673-z_1572_0', 'f_168525-z_1572_0', 'f_216229-z_1572_0', 'f_221000-z_1572_0'] not found in axis"
13759079 "['f_123436-z_1570_5', 'f_123436-z_1571_5', 'f_136436-z_1571_5', 'f_148363-z_1571_5', 'f_123436-z_1572_5', 'f_136436-z_1572_5', 'f_148363-z_1572_5', 'f_171144-z_1572_5', 'f_123436-z_1573_5', 'f_136436-z_1573_5', 'f_148363-z_1573_5', 'f_171144-z_1573_5', 'f_194998-z_1573_5', 'f_123436-z_1574_5', 'f_136436-z_1574_5', 'f_148363-z_1574_5', 'f_171144-z_1574_5', 'f_194998-z_1574_5', 'f_218853-z_1574_5', 'f_221000-z_1574_5'] not found in axis" Traceback (most recent call last):   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\utils.py", line 31, in wrapper     return_value = func(*args, **kwargs)                    ^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\api\tasks.py", line 208, in _process     return func(**kwargs)            ^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\ops\fim_lib.py", line 167, in create_fim_lib     rating_curves_to_sqlite(   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\ripple1d\utils\sqlite_utils.py", line 128, in rating_curves_to_sqlite     wses.drop(columns=missing_grids_kwse, inplace=True)   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\frame.py", line 5581, in drop     return super().drop(            ^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4788, in drop     obj = obj._drop_axis(labels, axis, level=level, errors=errors)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\generic.py", line 4830, in _drop_axis     new_axis = axis.drop(labels, errors=errors)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\venvs\ripple1d_0_6_0\Lib\site-packages\pandas\core\indexes\base.py", line 7070, in drop     raise KeyError(f"{labels[mask].tolist()} not found in axis") KeyError: "['f_123436-z_1570_5', 'f_123436-z_1571_5', 'f_136436-z_1571_5', 'f_148363-z_1571_5', 'f_123436-z_1572_5', 'f_136436-z_1572_5', 'f_148363-z_1572_5', 'f_171144-z_1572_5', 'f_123436-z_1573_5', 'f_136436-z_1573_5', 'f_148363-z_1573_5', 'f_171144-z_1573_5', 'f_194998-z_1573_5', 'f_123436-z_1574_5', 'f_136436-z_1574_5', 'f_148363-z_1574_5', 'f_171144-z_1574_5', 'f_194998-z_1574_5', 'f_218853-z_1574_5', 'f_221000-z_1574_5'] not found in axis"
@ar-siddiqui ar-siddiqui added bug Something isn't working step: create_fim_lib labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working step: create_fim_lib
Projects
None yet
Development

No branches or pull requests

1 participant