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

add header / metadata for user to describe how a table was made #7

Open
suberlak opened this issue Jun 13, 2019 · 0 comments
Open

add header / metadata for user to describe how a table was made #7

suberlak opened this issue Jun 13, 2019 · 0 comments

Comments

@suberlak
Copy link

suberlak commented Jun 13, 2019

For an AXS catalog loaded as
axs_catalog = AxsCatalog(spark) table = AxsCatalog(spark).load('table_name')
all the existing info methods , eg. .get_table_info() , .describe(), .explain() provide automatically- made information. Now that more and more tables are made, crossmatched, etc., it would be really nice to be able to add a user-made info that explains how a table was created from a user perspective. Eg., when making the table from a crossmatch, crossmatch = ztf_lc.crossmatch(sdss_lc, r=2*Constants.ONE_ASEC).\ save_axs_table(fname, info), with info being a string that a user can define (eg. table.info = 'ztf DR1 LCs within S82, nobs > 1, all filters, crossmatch to S82 Quasars within 2 asec), accessible by .info(). It is up to users to keep it going, but I would definitely do that to all tables I make, to avoid asking on slack all the time eg. who made gaia_500b_28e_10800z and what does it contain...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant