You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To simplify the creation of the cmewpy package (#511), accessing content via non-Python modules from Python modules should be minimised.
While it is possible to access content via non-Python modules from Python modules (as CMEW is doing already by determining the relative path to the non-Python module from Path(__file__)), adding non-Python modules to a Python package requires extra configuration. These both increase complexity.
Adding content to Python modules means the content can be imported, which will simplify the code and the creation of the cmewpy package.
etc files:
./app/configure_for/etc/recipe_paths.yml (although this may be removed following Remove fetch_recipe.py #514)
To simplify the creation of the
cmewpypackage (#511), accessing content via non-Python modules from Python modules should be minimised.While it is possible to access content via non-Python modules from Python modules (as CMEW is doing already by determining the relative path to the non-Python module from
Path(__file__)), adding non-Python modules to a Python package requires extra configuration. These both increase complexity.Adding content to Python modules means the content can be imported, which will simplify the code and the creation of the
cmewpypackage.etcfiles:fetch_recipe.py#514)Mock data:
./app/unittest/mock_data/cmip6_datasets.ymlRefactorupdate_recipe_file.pyto remove KGO files #559./app/unittest/mock_data/recipe_with_additional_datasets.ymlRefactorupdate_recipe_file.pyto remove KGO files #559./app/unittest/mock_data/updated_recipe_radiation_budget.ymlRefactorupdate_recipe_file.pyto remove KGO files #559KGOs (these are more likely to need to be files on disk, but still worth reviewing):
./app/unittest/kgo/blank_recipe_radiation_budget.ymlRefactorupdate_recipe_file.pyto remove KGO files #559./app/unittest/kgo/extended_radiation_budget_recipe.ymlRefactorupdate_recipe_file.pyto remove KGO files #559./app/unittest/kgo/recipe_additional_datasets_removed.ymlRefactorupdate_recipe_file.pyto remove KGO files #559