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

Functions to store and compute climatological weights #231

Merged
merged 12 commits into from
Aug 18, 2021

Commits on Aug 11, 2021

  1. First attempt at functions to obtain climatological NWP weight/skill.

    Functions:
        save_weights: handles IO and daily weights computation
        calc_clim_weights: computes the climatological weights
    ladc committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7b5be66 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

  1. Fixes in pysteps/blending/clim.py:

    Check file existence
    Fix comments
    ladc committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    cac31bd View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. Changes to clim.py:

    Add function to get default weights
    Fix arguments of functions
    Optional window length in clim computation
    ladc committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    09ec31b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    467294f View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Commit config?

    ladc committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    2891fe4 View commit details
    Browse the repository at this point in the history
  2. Fixes in blending/clim.py.

    Fix path handling and errors in dictionary; get sane default values at
    the start.
    ladc committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    5e31e43 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Fix short-circuit operations which do not work as expected in python.

    Use pickle instead of np.save(z) to avoid type issues.
    ladc committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    02f046b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6282fec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61ce262 View commit details
    Browse the repository at this point in the history
  4. Add path_workdir to outputs section in pystepsrc file and use it as a…

    … default path to store/retrieve blending weights.
    ladc committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    eb4385b View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Configuration menu
    Copy the full SHA
    aa028a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0463c07 View commit details
    Browse the repository at this point in the history