-
Notifications
You must be signed in to change notification settings - Fork 0
Make a target table product #264
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
Conversation
e31767d
to
9d0438c
Compare
00afe92
to
f6a168a
Compare
26aeb1a
to
8c4838a
Compare
============================= ================================================================ | ||
|
||
The hdf5 in-kernel searches may be faster working with the table directly for some | ||
operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it would be fairly trivial to include the Table.read_where args in this function. Then just include links to relevant docs like https://www.pytables.org/usersguide/condition_syntax.html and of course the read_where
docstring. For the code here still use read
unless one of those read_where
args is not None.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Seems fine but I note that including read_where seems to throw a bunch of these warnings
mica/archive/tests/test_target_table.py::test_write_read_table
/Users/jean/miniconda3/envs/ska3/lib/python3.8/site-packages/tables/path.py:155: NaturalNameWarning: object name is not a valid Python identifier: 'mon_max.mask'; it does not match the pattern ``^[a-zA-Z_][a-zA-Z0-9_]*$``; you will not be able to use natural naming to access this object; using ``getattr()`` will still work, though
check_attribute_name(name)
Not sure if we want to shut those up or ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well never mind for now. Let's go for the incremental development and just get something in.
Let's lower-case all the column names. |
54a8f51
to
55812a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm planning on making a few changes, but we can go with this now. (I just want to hack on some fun little thing instead of the endless manager tasks of late).
============================= ================================================================ | ||
|
||
The hdf5 in-kernel searches may be faster working with the table directly for some | ||
operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well never mind for now. Let's go for the incremental development and just get something in.
I'm not actually seeing which piece you are meaning for "never mind for now". Do you mean you want to pull out the |
I think messages got crossed up in threads. All good. |
Description
Make a target table product
Testing