Skip to content

Fixes and updates

Compare
Choose a tag to compare
@ihewa ihewa released this 18 Jan 23:00
· 13 commits to master since this release
  • Fix reclipping error in CHIRPS
  • Error message improved for GRACE products in case of password issue.
  • Add a password exception to exception.py
  • update GRACE v03 to v04
  • Auth issues fixed for GPM
  • Removed .netrc write from GRACE products (unnecessary)
  • Password file location can be chosen by user through acct_path kwarg.
    Giving location is optional, if location not specified the file is searched for in the location IHEWAcollect. accounts-template added to this location - user to rename file accounts.yml and fill in account names.
    gitignore added with accounts.yml to avoid accidental upload of password file.
    e.g.
IHEWAcollect.Download(workspace=path,
                              product=value['product'],
                              acct_path=r'D:/test/dl_tests/data',
                              version=value['version'],
                              parameter=value['parameter'],
                              resolution=value['resolution'],
                              variable=value['variable'],
                              bbox=value['bbox'],
                              period=value['period'],
                              nodata=value['nodata'],
                              is_status=True,
                              is_save_temp=True,
                              is_save_remote=False)