-
Notifications
You must be signed in to change notification settings - Fork 5
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
16 pythoncalls #24
16 pythoncalls #24
Conversation
cli and no cli decorated functions, so a function is directly callable as a python function from a standalone py script
This will allow analysis-scripts repository to have a nicer interface to catalogbuilder for testing |
@ceblanton context - this helps us change this https://github.com/NOAA-GFDL/analysis-scripts/blob/main/tests/test_freanalysis_clouds.py#L49 and do something like https://github.com/aradhakrishnanGFDL/forkCatalogBuilder-/blob/16-pythoncalls/catalogbuilder/scripts/gen_intake_gfdl_runner.py#L10 @menzel-gfdl keeping you in the loop. |
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.
Looks good
addresses #16
summary of changes
1- Capability to use catalog builder in a cleaner way from notebook and .py
2- Updated examples in scripts/
3- Added new pytests cases to test this functionality
4- Added additional CI workflow to test a locally built conda package (this may need a different approach later, but works well for me)
note - fre-cli needs an update to use create_catalog rather than main
see example here https://github.com/aradhakrishnanGFDL/forkCatalogBuilder-/blob/16-pythoncalls/catalogbuilder/scripts/gen_intake_gfdl_runner.py#L10