-
Notifications
You must be signed in to change notification settings - Fork 0
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
CLI for preparing / validating recipes #13
Comments
Hi @rabernat, as discussed in the Oct 24 Pangeo Forge meeting, here are a few thoughts about what might be required for implementation. These are based on recent local debugging of staged recipes. Although the Pangeo Forge documentation recommends locally running a pruned version of a recipe, this won't always detect common staged recipe issues e.g.
As pangeo-forge-runner provides a CLI for feedstock loading and recipe baking, involving recipe loading, running with Beam etc., it might be useful to extend it to add a
{'Bake': {'bakery_class': 'pangeo_forge_runner.bakery.local.LocalDirectBakery',
'recipe_id': 'eooffshore_ics_ccmp_v02_1_nrt_wind',
'feedstock_subdir': 'recipes/eooffshore_ics_ccmp_v02_1_nrt_wind',
'repo': 'https://github.com/eooffshore/staged-recipes',
'ref': '663f30c95c406b9efe012b9bae66fa1f386b539b',
'job_name': 'CCMP',
'prune': True},
'LocalDirectBakery': {'num_workers': 1},
'TargetStorage': {'fsspec_class': 'fsspec.implementations.local.LocalFileSystem',
'root_path': './ccmp.zarr'},
'InputCacheStorage': {'fsspec_class': 'fsspec.implementations.local.LocalFileSystem',
'root_path': './input-cache/'},
'MetadataCacheStorage': {'fsspec_class': 'fsspec.implementations.local.LocalFileSystem',
'root_path': './metadata-cache/'}}
I should be free for next week's Pangeo Forge meeting call if you want to discuss the above suggestions. |
+1 for moving the tutorial to use |
If you like, I can take a look at adding a |
User Profile
As recipe contributor
User Action
I want to test my recipe on the command line before submitting a pull request
User Goal
so that I can avoid a slow debugging cycle talking to the pangeo forge bot on github. (Example: pangeo-forge/staged-recipes#150)
Acceptance Criteria
I run a command like
and see output like
or
Linked Issues
No response
The text was updated successfully, but these errors were encountered: