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

Bug fix: Use proper default value for weightsdir in file_regrid.py #279

Merged
merged 2 commits into from
Dec 8, 2023

Commits on Dec 7, 2023

  1. Bug fix: Use proper default value for weightsdir in file_regrid.py

    This commit fixes the bug described in #278.
    
    gcpy/file_regrid.py
    - Change the default value for weightsdir from False to "." where
      command line arguments are parsed.  This will prevent a TypeError.
      This bug was likely caused by a cut-n-paste error.
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    23486a7 View commit details
    Browse the repository at this point in the history
  2. Now use "." instead of "" for default --weightsdir value

    gcpy/file_regrid.py
    - Now use "." as the default value for --weightsdir, which will save
      regridding weights to the current directory.
    
    CHANGELOG.md
    - Updated accordingly
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    3b92614 View commit details
    Browse the repository at this point in the history