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

Move to a config file #13

Merged
merged 26 commits into from
Mar 12, 2020
Merged

Move to a config file #13

merged 26 commits into from
Mar 12, 2020

Conversation

scotthavens
Copy link
Contributor

Build off @micah-prime start to using a config file. This PR creates a config file that integrates into katana. Changes include:

  • WindNinja class to work with the call to WindNinja_cli
  • Cleaned up the grib handling
  • Better errors from WindNinja_cli
  • Tests cover most of the functionality
  • Moved run_katana to a testable script
  • flake8 passes

Copy link
Contributor

@micahjohnson150 micahjohnson150 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! It will be really nice to have this overlaid with a config file. The rewrite on the wind_ninja class looks super clean too. I just had a couple suggestions on the inicheck biz.

katana/CoreConfig.ini Outdated Show resolved Hide resolved
katana/CoreConfig.ini Outdated Show resolved Hide resolved
katana/CoreConfig.ini Show resolved Hide resolved
katana/__init__.py Show resolved Hide resolved
katana/framework.py Outdated Show resolved Hide resolved
katana/framework.py Outdated Show resolved Hide resolved
katana/utils.py Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
tests/test_base.py Outdated Show resolved Hide resolved
Copy link

@robertson-mark robertson-mark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, this is nice and clean. I have only minor comments/suggestions, mainly to exit if there are inicheck errors.

@scotthavens scotthavens merged commit 1037045 into master Mar 12, 2020
@scotthavens scotthavens deleted the config branch March 12, 2020 17:42
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

Successfully merging this pull request may close these issues.

4 participants