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

Feature/add daily bfg harvester surface energy balance #49

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Commits on Jan 4, 2024

  1. Deleted __init__.py

    sherrieF committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    f39ccba View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Added the bfg netcdf file for the tests of the surface

    energy balance.
    sherrieF committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d8747c4 View commit details
    Browse the repository at this point in the history
  2. The file test_harvester_surface_energy_balance tests the

    values returned by the harvester daily_bfg.py. The test
    is for the derived variable netR. netR is derived from
    the variables dswrf_ave,dlwrf_ave,ulwrf_ave,uswrf_ave,shtfl_ave,lhtfl_ave
    which are located in the bfg control netcdf files. The values for
    weighted mean,min,max and variance of each of the variables
    are calculated in a separate python script and hard coded
    in the file.
    sherrieF committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    0f4223c View commit details
    Browse the repository at this point in the history
  3. The file daily_bfg.py calculated the requested variable netR.

    The netR is the name given to the surface energy balance.
    The netR is derived from the following variables:
     dswrf_ave,dlwrf_ave,ulwrf_ave,uswrf_ave,shtfl_ave,lhtfl_ave
    located in the bfg control Netcdf files in the test data directory.
    The statistics weighted_mean,minimum,maximum and variance of each
    of the required variables are calculated in the pyton script.
    The weighted_mean of netR is also calculated.  The statistics
    are calculated using the python class located in src/score_hv
    stats_utils.py.
    sherrieF committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    54a89c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Added this class for calcuating the weighted mean, minimum, maximum

    and variance of the required variables that are needed to calculate
    the derived field surface energy balance.
    sherrieF committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    bb0d624 View commit details
    Browse the repository at this point in the history
  2. Added gridcell_area_weights = gridcell_area_data.variables['area']

    to line 216.
    Uncommented the field prateb_ave.
    sherrieF committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    6f7faa5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdc0b56 View commit details
    Browse the repository at this point in the history