Skip to content

Commit

Permalink
Station entry now supports "sunshine_hours" attribute
Browse files Browse the repository at this point in the history
Bumped version number.
solar_radiation() and similar methods no longer reeceive 'n' as
attribute
  • Loading branch information
sherzodr authored and sherzodr committed Oct 5, 2020
1 parent 4d43c92 commit 02f5362
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 154 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,23 +212,23 @@ The same as above but in mm. 16.4 for this example.

Possible daylight hours for this day.

### day.solar_radiation(n)
### day.solar_radiation()

Given number of hours of direct sunlight calculates solar radiation on the
horizontal surface. In MJ/m2/day
Depends on the value of *day.sunshine_hours* attribute. Returns solar radiation
in MJ/m2/day

### day.solar_radiation_in_mm(n)
### day.solar_radiation_in_mm()

Same as above, but returns in mm.

### day.R_so()

Calculates Clear-Sky solar radiation.

### day.R_ns(n)
### day.R_ns()

Given hours of direct sunlight calculates net solar radiation (or shortwave radiation)
Takes into account albedo of the crop.
Given hours of direct sunlight (in *day.sunshine_hours* attribute) calculates
net solar radiation (or shortwave radiation) Takes into account albedo of the crop.

### day.soil_heat_flux()

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

setup(
name="penmon",
version="0.1.7",
version="0.1.8",
description="Implementation of Penman-Monteith equation to calculate ET for a reference crop",
# long_description_content_type="text/markdown",
# long_description=long_description,
author="Sherzod RUZMETOV",
author_email="sherzodr@gmail.com",
license="MIT",
url="https://github.com/sherzodr/penmon",
download_url="https://github.com/sherzodr/penmon/archive/0.1.7.tar.gz",
download_url="https://github.com/sherzodr/penmon/archive/0.1.8.tar.gz",
py_modules=["penmon.eto"],
package_dir={'': 'src'},
packages=["penmon"],
Expand Down
Binary file modified src/penmon/__pycache__/eto.cpython-38.pyc
Binary file not shown.
Loading

0 comments on commit 02f5362

Please sign in to comment.