We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Before running build_dataframe() check to see if parameters already exist in the catalog.
At the moment all parameters are calculated upon instantiation which causes large catalogs to load slowly.
The text was updated successfully, but these errors were encountered:
An idea would be to add a new argument to Catalog to indicate which variable should be calculated on instantiation.
Catalog
for example
catalog = Catalog(data, calculate_vars = ["R_200c", "c_200c", "v_r", "v_lon", "v_lat"])
would only calculate the given variables in build_dataframe.
build_dataframe
This could be implemented by adding a hidden variable self._calculate_vars in Catalog and bunch of statements like
self._calculate_vars
if "R_200c" in self._calculate_vars:
to build_dataframe.
This is perhaps not the best idea so feel free to suggest better ones!
Sorry, something went wrong.
No branches or pull requests
Before running build_dataframe() check to see if parameters already exist in the catalog.
At the moment all parameters are calculated upon instantiation which causes large catalogs to load slowly.
The text was updated successfully, but these errors were encountered: